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