Alex Jurkiewicz
157eed9893
Fix typo in template.html
2010-09-27 22:11:17 +10:00
Alex Jurkiewicz
e6bfcc3033
Write HTML file with appropriate extension config.
2010-09-27 22:10:23 +10:00
Andrew Chin
80c15a3910
Added initial work on a structure to allow map annocations
...
The spawn point is automatically added to the gmap as a marker.
Adding other markers (signs, mob spawners, etc) should be fairly
easy. Note: the math that converts from in-game block coordinates
to pixel coordinates is iffy. it requires a careful codereview
2010-09-24 23:26:43 -04:00
Andrew Brown
2d4f0cc082
I believe I now have a usable program again
2010-09-14 23:53:28 -04:00
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
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
Andrew Brown
41f5eab067
fixed template.html to use the right path
2010-09-06 22:53:16 -04:00
Andrew Brown
4bbdf17bd5
Merge commit 'bf07d3d10c2e00eba3371cff700c8f3cb4d8e3e8'
...
Note: now that the tiles directory has changed, anyone with existing
tiles should be sure to remove or move their old set of tiles
Conflicts:
template.html
2010-09-06 22:13:21 -04: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 Short
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
Andrew Brown
a31810957f
added gmap command line interface file
2010-09-04 19:22:32 -04:00