Closed vinber closed 6 months ago
It is the same for all.
Does this bug is still here ?? I can't reproduce it on my side ... I tried to zoom-in/zoom-out but it's seems to keep the right position.
Hum. In fact I was thinking about an other issue
Still there : https://carte.lecoeurdeslandes.com/648/#map=17.79/43.934129/-0.924561 no ?
Still there : https://carte.lecoeurdeslandes.com/648/#map=17.79/43.934129/-0.924561 no ? !
No. This one is an other issue. It is a polygon is OSM and the WP API is not so good on making a pont from it.
Hum. In fact I was thinking about an other issue
So the real issue of this ticket is about the Pin marker being shifted from the POI marker right ?
So the real issue of this ticket is about the Pin marker being shifted from the POI marker right ?
No that an other issue. The existing (broken) code is to fix the shifted pin. Not the shifted icon.
After looking, in my opinion, we have an issue on the POI icon not on Red Marker (which is on the right position). Red Marker or not, the POI icon is shifted sometimes. In fact it's shifted when we are zoomed-out (when we can see several POIs) and then zoom-in ... at some point during the zooming we are assigning wrongly the coordinates to the Marker.
POI icon shifter with Red Marker (at the right place)
Everything ok here
POI icon shifted without Red Marker (if we click on POI Icon, Red Marker will be placed like in the first case, which is ok)
@frodrigo I think i've fixed it with this commit.
But I am not very satisfied because it removes a Marker to add a new one in case coordinates from feature differs from the marker coordinates.
The real issue here, is because feature.geometry.coordinates
is somehow updated (it looks like rouding precisison difference) and the marker not. In my opinion the feature geometry shouldn't be changed right ?
https://city-demo-bordeaux.beta.appcarto.teritorio.xyz/5172/#map=20/44.8314951/-0.5980143