PDA

View Full Version : Marker text


vwdes71987
12-21-2009, 01:50 PM
Is there a way to add a dynamic vaule to te markers on the map? I want to show al list of addresses, numbered from 1 tot 20 and I want these numbers as reference in the marker (instead of the dot) in the Google Map.

Is that possible?

Thanks, Martijn

Jimmy Wu
12-21-2009, 02:02 PM
If you wanted the marker symbol to change, you would be changing the actual marker image, not the text. You can add the image to the google_javascript/images directory and then in your wagmp_map_<map num>.php file find this line for each point:
icon_<address num>.image = 'google_javascript/images/<new marker>.png';

and change the <new marker>.png to be what image you want.