gmap markers=numbers: number offset

linuxuser - October 12, 2008 - 16:39

My first marker starts with 0. What do I have to do to start with 1 for the first position?

I use

[gmap markers=numbers::$POSITIONS |align=Center |zoom=$MAPZOOM |center=$LATITUDE,$LONGITUDE |width=100% |height=300px |id=$MAPID |control=Small |type=Physical]

Edit

sjf - November 11, 2008 - 10:28

Edit gmap/markers/numbers.ini to remove number0.png from the list. You will then need to regenerate the marker cache from admin/settings/gmap.

If you're using the private file system outside the webroot, you will also then need to copy the newly regenerated gmap_markers.js from the private folder into the folder specified in admin/settings/gmap.

 
 

Drupal is a registered trademark of Dries Buytaert.