I have a google map on my site, with the old version of cornerstone, and using the old shortcode it has the option of a marker, but with the new one (version 5.2.5), it has no such option. I’ve tried to add it with JavaScript:
$(’#googlemap’).children().first().children().first().prepend(’<div style=“position:absolute; left: 50%; top:50%;transform: translate(-50%,-50%); z-index: 1000000;”><img src=“images/mapmarker.png” style=“width:32px”></div>’);
This works in a testing environment (when I have the code generated by cornerstone for the map and add it all manually to a blank html page with the code above added into a script tag), but doesn’t work when running in cornerstone, I do use the full link for the image location, it’s just not adding the element at all. Is there any support for this, or am I just being completely stupid and there is a well hidden easy way to add the marker?