Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markers are displayed in incorrect location of the map #48

Open
andreybabenko opened this issue Jul 8, 2022 · 2 comments
Open

Markers are displayed in incorrect location of the map #48

andreybabenko opened this issue Jul 8, 2022 · 2 comments

Comments

@andreybabenko
Copy link

Markers are displayed in incorrect location of the map

Preconditions

Magento Version :
2.4.3-p1

Module Map Version :
2.0.3

Environment :
developer

Third party modules :
smile/module-store-locator v2.0.7

Steps to reproduce

  1. Create retailer with latitude -30.289674 and longitude 153.119185, country - Australia.
  2. Navigate to stores list on FE

Expected result

  1. Store marker is displayed in correct location.

Actual result

  1. Marker is displayed in wrong place
    MNwK5yf
    After increasing zoom marker is displayed as expected
    qEh0V1S
@rbayet
Copy link

rbayet commented Jul 8, 2022

Hello @andreybabenko,

I thought that it might have been a projection setting issue which would only be very visible on extreme latitude/longitude, but it looks like the issue can be found on OpenStreetMap too.
if you go to https://www.openstreetmap.org/search?query=-30.289674%2C%20153.119185#map=6/-30.288/153.127 and click back on the "internal results" link on the left, the point is indeed very close to the coast
image

But if you zoom in on Coffs Harbour and re-query -30.289674, 153.119185 the marker is where you expect it :|

@andreybabenko
Copy link
Author

@rbayet
It does not look like OS map issue. As you may see there is some difference between displaying markers
pfBRaCZ

@andreybabenko andreybabenko removed their assignment Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants