This is my first attempt at adding custom markers, so I may be doing something wrong. I've created a new marker and added the file "hcp.png" to my gmap/markers directory. I then added the following code to gmap/markers/colors.ini:
[hcp]
name = "HCP"
sequence = "hcp.png"
After doing this, HCP does not appear as an available marker type in the Gmap Location administration page. I'm referring to the dropdown selection lists why the marker for each node type is specified. HELP!!
Thanks,
Andrew
Comments
Comment #1
gateone commentedYebbo, this happened to me too when I played with it the first time ;-)
Actually, the "error" is trivial and not an error at all! The Gmap Markers are put into Drupals database cache which speeds things up tremendously. However, if you add new stuff, you will need to purge the Drupal cache before new markers will appear.
You can either do this manually in the database, better yet however is to get the Devel Module, enable the module's block so you see the Devel menu items, and click on the "empty Drupal cache" link every time you add new markers. You can safely disable the Devel module right after this again.
Try it out and if it works, just leave me a note :-)
Good luck,
Steve
Comment #2
wintervanilla commentedThis worked beautifully. Thanks for the tip, Steve!
A
Comment #3
rooby commentedDrupal 5 is no longer supported.
If this issue affects drupal 6 or 7 please look for an existing issue for that version or else update this issue accordingly.