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:
steven committed 2018-08-02 23:34:39 -06:00
1 parent cd0cb9195a
commit ba0ef17b06
2 files changed
+11 -9

No files matched your search

+4 -4
View File
@@ -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);