OpenStreetMap

Purpose

The purpose of this macro is to embed an openstreetmap with a marker into a moinmoin page. If you want to put multiple markers on an osm map got to the parser

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

OSM.zip

1.5 and Above

First release on MacroMarket -- IgorTamara 2011-07-04 04:02:49

OSM-1.9.zip

1.5 and Above

IgorTamara 2013-05-12 21:06:14

You can grab the most recent version from BitBucket

Installation

You only need de OSM.py, place it in the Macros directory, the javascript stuff can be placed in a server or simply use the default

Requisites

By default the python script is pointing to the needed libraries to display the map properly. So you do not have to deploy them yourself

Inputs

Receives :

Output

An OSM map using Openlayers centered at lan,lot with the zoom specified and the icon marker, width and height provided if any.

Examples

Will project an OSM map using Openlayers centered at lan,lot (4.65514589,-74.109660387) with 13 zoom a marker provided by http://tatica.fedorapeople.org/varios/glifo-mapa.png on a 500px width 350 height map. like the following

moinmoinosm.png

IgorTamara - <igor AT tamarapatino DOT org> GNU GPL version 2

License

Use it at your own risk, you have been warned, you can use it in any way you want.

/!\ Please be aware that the concept of "public domain" does not exist in all jurisdictions (so, you might make it much worse for some people than you intended). Also you need to consider that in case you are calling code from MoinMoin (which is GPL v2+), your code must be under a GPL v2+ compatible license also. -- ThomasWaldmann 2012-03-28 14:57:36

Bugs

Discussion

If someone want's to use a map without a marker but with explicit width and height a place holder for the marker is shown. Maybe it's a good idea to change the order of the arguments and move the marker argument to the end of the list. -- user1 2024-04-20 06:09:55

MoinMoin: MacroMarket/OpenStreetMap (last edited 2015-03-08 08:47:50 by user1)