-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Change hash to be in lng,lat order #4748
Comments
It's not just the map-feedback site, it's any site that uses |
Aw dang. Isn't api-styles the only one that uses mapbox-gl though? Or do you just mean for preserving consistency between all mapbox embed sites? |
Yeah, any site that uses |
I think we originally did lat-lng for consistency with Google.
A bit more kludge, but we could add a new hash parameter that communicates what order the coordinates should be interpreted in 😅 (would default to lat-lng for backward compatibility) |
I'm going to close for now because this is not high priority and depends on a number of things external to mapbox-gl. |
Ah, the age old question...
The
Hash
class is, to my knowledge, the only part of mapbox-gl-js that useslat, lng
order instead oflng, lat
. I can't find any information about why this might be, but I would guess that it is to do with the old map-feedback site. In future releases (after #4685 🚢 ), gl-js maps attribution control will link to the new feedback site, so changing theHash
hopefully won't have downstream complications from that. 💭Does anyone know why changing this might be problematic? @mapbox/gl-core
The text was updated successfully, but these errors were encountered: