Google-Maps-for-Rails
Google-Maps-for-Rails copied to clipboard
Custom image markers are not clickable
I am using the marker.picture setting in Gmaps4rails.build_markers to add custom marker images for some markers. If I do that, it seems to work fine and the images are displayed, but the resulting markers are not clickable for the info popup. Is something else required to reactivate this with the use of custom images?
I dont see what you mean, if you check http://apneadiving.github.io/ One Marker
section, it works fine.
Had the same issue. Make sure the height/width of your custom markers are integers, not strings. Fixed it for me
@hamishcundy that fixed it for me too, thank you!
@hamishcundy +1