Cornerstone SVG Google Maps Marker

I discovered that IE has an issue displaying SVG google maps markers, as discussed here:

I was hoping you would be willing to add support for this in an upcoming version of the Cornerstone plugin. For now I have edited plugins/cornerstone/assets/dist/js/site/cs-body.js to include this modified line:

new window.google.maps.Marker({map:e,position:new window.google.maps.LatLng(a.lat,a.lng),infoWindowIndex:o,icon:{url: a.image, scaledSize: new google.maps.Size(90,90)},optimized:false});

Hey Lauren,

Thank you for reporting. Can you provide your Map element setup? We’ll then post this to our issue tracker so our development team could be made aware once they go through the list of reports.

Thanks.

Sorry for the late response here. I didn’t get a notification on your reply. Can you clarify what you need from me when you ask for the Map element setup?

Hi there,

I added this to our issue tracker, and as a feature request. SVG has many issues with it comes to IE and some browser, it’s not just the map. I personally don’t recommend SVG unless there is a complete library that comes with it as fixes.

Thanks!

Thanks for the followup. When I used png and jpg file formats, I could not prevent the situation where I was seeing a pixelated marker on mobile and other high density screens.

We are planning in a future release to add map markers to the V2 map element. When that time comes we’ll investigate any new controls that may be needed to assist with situations like this.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.