Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Looking for some guidance on how to create a custom marker action. In the 6.x-1.x-dev version, there's a marker option to open a link.
Trying to evaluate how i can add another option for a custom behaviour.
Comments
Comment #1
lestu CreditAttribution: lestu commentedcan someone answer on this please?
Comment #2
lestu CreditAttribution: lestu commentedQuite easy actually! :)
In file "gmap_settings_ui.inc" add another item to the options array.
In file "gmap_plugin_style_gmap.inc" add an else for that new case.
In file "marker.js" also add an else for the new case.
Have fun!