On 11/16/2013 06:57 PM, Petko Yotov wrote: > > P.S. I strongly feel that instead of GoogleMaps my sites should use the > free open source and open content OpenStreetMap. Unfortunately I haven't > yet found the time to look into writing a recipe with the GMap features > for OSMap. See however this recipe: > > http://www.pmwiki.org/wiki/Cookbook/OpenLayersAPI >
I've added a few lines of code to the OpenLayersAPI recipe. Now I can simply include an OpenStreetMap with a directive like the following: (:ola-map link=http://www.openstreetmap.org/?mlat=40.7300&mlon=-74.0054#map=16/40.7300/-74.0054:) Manually extracting lat/long/zoom and marker information from the URL isn't necessary anymore with this new feature. Of course, all existing options can still be added for customization. I think this might facilitate the usage of this recipe a little. I consider making this available to others as well. How should I go about this (as it's somebody else's recipe I've been tinkering with)? --StefCT _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
