Shrink 2x and shift down so we can see the whole set
Fix 0x zoom - dividing by 0 is not fun
This commit is contained in:
8
web.go
8
web.go
@@ -23,10 +23,10 @@ var mandelbrotTypeOptions = {
|
||||
getTileUrl: function(coord, zoom) {
|
||||
return '/mandelbrot/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
|
||||
},
|
||||
tileSize: new google.maps.Size(256, 256),
|
||||
maxZoom: (1<<16) - 1,
|
||||
minZoom: 0,
|
||||
name: 'Mandelbrot'
|
||||
tileSize: new google.maps.Size(128, 128),
|
||||
maxZoom: (1<<16),
|
||||
minZoom: 1,
|
||||
name: '0xdeadbeef Mandel Mapper'
|
||||
};
|
||||
|
||||
var mandelbrotMapType = new google.maps.ImageMapType(mandelbrotTypeOptions);
|
||||
|
Reference in New Issue
Block a user