Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

SimpleMap.php - allow 'long' #1342

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

SimpleMap.php - allow 'long' #1342

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: chriscf
[Submitted to the original trac issue database at 10.01am, Monday, 17th November 2008]

For some unknown reason, SimpleMap.php allows the use of "zoom" instead of "z", and passes "z=" to the map service, but errors out with the use of "long" instead of "lon". I find this bizarre since the link contains parameters "lat", "lon" and "zoom" while the map service URL contains "lat", "long" and "z" - the two accept different parameter names, but the script passes the right values to each.

Attached patch enables "long" with "lon" to go with "zoom" and "z", and removes the retarded error message.

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]firefishy.com
[Added to the original trac issue at 1.38pm, Monday, 22nd February 2010]

'long' has been deprecated and is no longer supported.

Error message has been removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant