I’m not really sure how coordinates should be supplied to fields like “Startpoint” and “Endpoint”. Since it is not possible to use url parameters (see here), we let the users copy coordinates to the clipboard s.t. they can paste the coordinates into “Startpoint” and “Endpoint”. However, we are not sure if “lat,lon” or “lon,lat” should be provided. Both kind of works, but in a weird way.
If I copy “16.01,48.56” (without quotation marks) to a field like “Startpoint” and click outside of the field “Startpoint” (to avoid the pressing-Enter-bug from above), nothing happens. No coordinate is shown on the map:
However, when I don’t click outside of the field (or if I put my cursor in the field again after clicking outside of the field), a location in Yemen appears as name:
If I click on that name/adress, the coordinate gets replaced by the name/adress and the location is marked on the map:
I.e., the new maps website seems to want “lat,lon”.
However, if I copy the same coordinate with a space after the comma into the field, the behavior is totally different. As soon as I copy the coordinate (with space after the comma) into the field and click outside of the field, the location is shown on the map and the coordinate is still in the field (it doesn’t get replaced by a name/adress). Also, it is interpreted as “lon, lat”! Instead of Yemen, we are in Austria. Same coordinate, but just with a space after the comma:
Is this a bug or a feature? And if it is a bug, which version is correct? Should it be “lat,lon”, “lat, lon”, “lon,lat” or “lon, lat”?
The best option for me is the current “lon, lat” version where I can just copy the coordinate into the field, click outside of the field and that’s it. I don’t want to select some adress and I like that the coordinate stays in the field without getting replaced by some name/adress.