0
Commit Graph

71 Commits

Author SHA1 Message Date
Aaron Griffith
9c25c6259c added center to config.js, lets you set map center in world coords
By default, it is set to spawn. Also I changed defaultZoom to 2, which
looks better (the world used to show up as *tiny* by default).
2011-03-29 05:48:40 -04:00
Aaron Griffith
9b36d21c37 moved non-config, global variables out of config.js 2011-03-29 05:29:37 -04:00
Aaron Griffith
b24ae6c00a signposts controls no longer toggle overlays 2011-03-28 05:18:41 -04:00
Aaron Griffith
9f69f099ad initial support for map overlays 2011-03-28 02:50:36 -04:00
Aaron Griffith
997c247d6c updated marker positioning code to jive with updated rendering code 2011-03-11 18:05:21 -05:00
timwolla
6b083bccef Added variable into index.html 2011-02-07 22:06:59 +01:00
aheadley
62aab91f13 fixed typo 2011-02-02 10:59:27 -05:00
aheadley
4a6d7f76ea background color support 2011-01-27 10:59:07 -05:00
aheadley
d1e3f660c9 cdn support 2011-01-27 10:45:53 -05:00
Andrew Chin
850f4fcf7d Removed debugging statement 2011-01-23 21:21:36 -05:00
Andrew Chin
3db1953303 a signGroup can now have an optional icon URL 2011-01-21 21:11:39 -05:00
Jenny
62a7ee5a50 Fixed missing comma. 2010-12-16 06:46:53 -08:00
Jenny
d210076479 Adds spawn output rendering (variant of night which shows dark areas in red) and support for multiple map types with buttons to switch between them. 2010-12-14 02:39:01 -08:00
Andrew Chin
e70bafb453 Tweaked the viewstate link GUI
Moved it to the bottom of the screen, as it was in the way of the
existing controls on the top-right.  Added it as a map conrol instead of
a simple div.  Improved the styling a bit
2010-12-11 23:15:02 -05:00
Andrew Chin
33a03213c4 Merged in arrai's viewstate link code
Merge commit 'ffe92f7db84789436f53769df1099cd8a68e6097' into arrai-master

Conflicts:
	template.html
2010-12-11 22:19:28 -05:00
Andrew Chin
fcbff8af2a Improved marker titles and newlines
Primarily for browsers that don't render newlines in tooltips.
Thanks to ben0x539
2010-12-11 20:15:12 -05:00
Andrew Chin
9bc7c10bd1 Improved flexibilty when specifying signGroups
Group membership is now determined with a function.  See config.js for
some examples.  If we want to include more information about markers in
markers.js, this model should be useful.
2010-12-08 22:04:53 -05:00
Andrew Chin
859341008a Some minor signpost UI improvements
* Opening a sign infowindow will close the previously opened window.
 * The use of "Other" and "All" signpost categories are now more
   reasonable.
2010-11-20 18:20:20 -05:00
Andrew Chin
cd88d63ab3 New UI control to toggle signposts on/off based on their content.
Pretty substantial javascript refactoring:
 * All javascript is now in funtions.js.  There is no javascript at all
   in index.html
 * Configuration options moved from template.html to config.js
   template.html moved to web_assets/index.html

config.js allows you to specify pattern-label pairs.  Each label will be
added to an on-screen "signposts" control.  Clicking the checkbox by
each label will show/hide any signposts that match the pattern attached
to that label.  config.js has some examples.

TODO:
 * The signposts control needs better styling.
 * The new javascript needs testing in IE.  Seems ok in Chome and FF.

These large changes may be hard to merge if you have non-trivial JS
changes to template.html locally.  Apologies in advance
2010-11-11 21:05:24 -05:00
Andrew Chin
1af7287b8f Add a compass rose overlay to indicate which direction is north 2010-11-06 23:21:17 -04:00
Andrew Chin
16aca4c093 Fancy icons for signposts and spawn, plus info windows for signposts
Thanks to gabrielcrowe for the signpost icon.
2010-11-06 22:04:38 -04:00