[Google Maps Library] How to position marker icons

Forge Component
(17)
Published on 2 Oct (13 days ago) by Labs
17 votes
Published on 2 Oct (13 days ago) by Labs

I have 2 markers at the same position with different icons. For now they overlap each other. I have tried to change their position from markerOptions, But i am having "Error parsing JSON" error everytime.

Please suggest the right syntex.

Hi Avtar,

Can you please share markerOptions which you have added ?

Regards

Hi Avtar,

You are facing marker overlapping issue.

Please check the below example which is having the same situation like you. You can click on any + icons and it will open multiple markers at the same location.
https://jawj.github.io/OverlappingMarkerSpiderfier/demo-3.html

You can implement similar Marker SpiderFier using following documentation.
https://github.com/jawj/OverlappingMarkerSpiderfier


Let me know if you have any more concerns or doubts related to this.