Commit Graph
14 Commits
Author SHA1 Message Date
Gregory Short c10f267041 Removed the scale control as it was completely wrong, dur. 2010-09-12 14:13:54 -05:00
Gregory Short 768a82cc13 Fixed the debug overlay to properly use config.tileSize instead of a hard-coded 384, also explicitly set which map controls will be displayed so that the map type controls allowing the user to switch back to the default google maps don't appear. 2010-09-12 14:12:49 -05:00
Gregory Short 70805f3a67 Added a debug option to the config options in template.html. Setting this to true displays a tile boundary overlay as well as x, y, and z values for each tile, and the tile's url. Defaults to false. 2010-09-12 14:05:36 -05:00
Gregory Short 699fe0889c Merge branch 'master' of http://github.com/brownan/Minecraft-Overviewer 2010-09-11 14:33:40 -05:00
Gregory Short 7e5deed0f5 Merge branch 'master' of http://github.com/brownan/Minecraft-Overviewer 2010-09-11 14:27:23 -05:00
Gregory Short 8bc789a4d0 Minor documentation update (alleged default was incorrect) 2010-09-11 11:13:57 -05:00
Gregory Short f442c984c1 If -c or --cachelife option is <= 0, the ?c= parameter won't be appended to tile urls so that caching can be controlled server-side (or left to the whim of the browser) 2010-09-09 02:41:11 -05:00
Gregory Short 94f1b25777 Map is better centered now when initially loading the page. The latitude is an approximation of the center, since we're using a mercator projection with what should be a rotated euclidean one. It's close enough. 2010-09-07 20:02:25 -05:00
Gregory Short 32c2626b39 Added configurable option for controlling how long a tile will live in the browser's cache before being refetched. Good for configurations where the map will be automatically updated ona regular basis and the web browser's cache would get out of sync. Default is 24 hours. 2010-09-07 19:56:44 -05:00
Gregory Short 1b4a775f72 Merged and resolved conflicts. 2010-09-06 22:22:33 -05:00
Gregory Short 9e11071b35 Moved html generation to happen before quadtree generation. This way, you can open up the html file immediately and browse the map as it is being generated! This necessitated pulling the zoom-depth determination out into its own function. 2010-09-06 20:51:06 -05:00
Gregory Short bf07d3d10c Moved gmap tiles into a tiles/ subdirectory for a cleaner gmap final output (output directory contains just index.html and tiles/) 2010-09-06 19:58:56 -05:00
Gregory ShortandAndrew Brown 040e269331 Updated template.html to use google maps api v3. This also resolves the bug where double-clicking on the right side of the map to zoom in would zoom somewhere else entirely. 2010-09-07 07:19:56 +08:00
Gregory Short 56a8970bdc Updated template.html to use google maps api v3. This also resolves the bug where double-clicking on the right side of the map to zoom in would zoom somewhere else entirely. 2010-09-06 17:44:08 -05:00