0
Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Brown
f9783d7a20 Tile rendering is now mostly parallel up to 4 procs.
The initial recursive call for tile generation will spawn up to 3 extra
processes to work on each quadrant. It's not perfect yet since some
quadrants may have more or less work to do, and only 4 total workers are
supported.

Also, it waits for all chunks are finished before it dives into the
tiles, to prevent it from using more resources than requested.
2010-09-11 00:15:59 -04: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
Andrew Brown
b0b9a9a71a Merge remote branch 'munki/master'
Conflicts:
	gmap.py
2010-09-07 21:36:08 -04:00
Andrew Brown
8382e6664a cleaned up some comments 2010-09-07 21:32:57 -04: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
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
Andrew Brown
ed8ea421fc won't render tiles that would otherwise be blank.
This cuts down on the number of files outputted and the total size.
2010-09-05 13:58:50 -04:00
Andrew Brown
a31810957f added gmap command line interface file 2010-09-04 19:22:32 -04:00