[Talk-GB] Markers on OSM with text

Mike mike at csits.net
Mon Mar 9 15:40:50 GMT 2009


Folks,

I'm trying to use a slippy OSM map on a webpage with various markers.  I
want each marker numbering from one to whatever.  I have read the guide
here: http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example
which explains how to add a text box from a txt file.  I'd rather not
use a txt file as the data is generated by a dynamic web page.  I guess
I could pregenerate marker icons with the number on them but then I
might run out as I have no idea how many I need.

Does anyone know if you can add text to a mark by passing it to a
function or of any other way to achive it?

Mike.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20090309/06861317/attachment-0001.pgp>


More information about the Talk-GB mailing list