Commit Graph

13 Commits (ba78a684b3a58a23324bdfcf9872cd2b0148e3e8)

Author SHA1 Message Date
Antoine Beaupré 05decdadcb osm: do not override sorting order of layers
(cherry picked from commit 805498bc838218f31d11efac0b02996b11a953d1)
2012-08-25 10:18:19 -04:00
Antoine Beaupré 636e04a13a make layers an array
this simplifies the code, make the configuration more intuitive, at
the cost of making the labels on the layers automatically generated
and therefore less customizable
2012-08-25 08:53:33 -04:00
Antoine Beaupré c7070ddd48 put google layers in parenthesis 2012-08-25 08:20:31 -04:00
Antoine Beaupré 69467738ed openlayers: use the provided layer name and put the source in parenthesis 2012-08-25 08:20:30 -04:00
Antoine Beaupré 081fd38636 make layers completely customizable 2012-08-25 08:20:30 -04:00
Antoine Beaupré 2fb93db1af simplify local tile code, uniform titles 2012-08-25 08:20:30 -04:00
Antoine Beaupré ac775ef8e7 extend default zoom to 19, OSM's maximum, simplify code 2012-08-25 08:20:30 -04:00
Antoine Beaupré acc4d7d7d6 osm: add optional google maps support
for google maps to work, an API key needs to be added to the configuration
2012-08-25 08:20:30 -04:00
Antoine Beaupré b57cad3131 osm: be explicit about projection of data 2012-08-25 08:20:30 -04:00
Geneviève Bastien 8fb42f42f4 OSM plugin: new config option to specify the url to fetch maps from 2012-08-25 08:20:30 -04:00
Joey Hess 917cdb7ade multiple osm fixes
* fix will_render calls to pass proper relative filenames
* fix urls to kml etc files to not assume wiki's top is at /
* avoid building the javascript to display the map in two different
  ways between the cgi and on-page maps
* refactor duplicate code
2012-03-18 17:07:01 -04:00
Joey Hess 2f013cc0c2 move osm.js to osm underlay and osm does not need javascript underlay 2012-03-03 17:39:02 -04:00
Joey Hess 77344163ed add osm.png
Add an underlay for the osm plugin.

Update links to right path to icon. Note that the osm plugin has a
pervasive bug in how it links to icons; it assumes the site is at /.
I did not attempt to fix that; it should be using urlto() to make a correct
relative link.
2012-03-03 12:16:00 -04:00