ev-map/EVMap

Chargepoint Marker hidden behind maps markers

Closed this issue · 4 comments

Screenshot_20231001_160933_EVMap~01

The marker for the charging stations are hidden beneath gmaps markers.

This seems to be only when the traffic layer is enabled, correct?
I will check whether I can do anything about that or if it's an error on the Google Maps SDK side.

Increasing the marker's zIndex unfortunately didn't help.
Seems like the inability to influence the drawing order for the traffic layer is a long-running issue in the Google Maps SDK: https://issuetracker.google.com/issues/35824192 - I've just added a comment there that it affects markers as well. Other than that - I guess there's nothing I can do about it at the moment 😐

Ah, there is a new Google Maps SDK update that introduces AdvancedMarker with some more options about overlap with other map items. I will check if this helps.
It seems we cannot easily use this, as advanced markers require using a "map ID", which in turn would change pricing from the free "Mobile Native Dynamic Maps" tier into the more costly "Dynamic Maps" tier.

closing this - as I said, there seems to be no way to solve it on EVMap's side without causing additional costs, unless Google changes something.