This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Change latitude and longitude via JS

0

I found an HTML embed via an iframe. The problem is that I want to change latitude and longitude via JS. Is it possible for me to configure latitude and longitude via JS?

asked 28 Mar '22, 11:58

Sudoweb's gravatar image

Sudoweb
11112
accept rate: 0%

2

Is this related to OpenStreetMap in any way? If not, you're probably better off asking at https://gis.stackexchange.com/ or similar.

If you're trying to embed openstreetmap.org in an existing site, then that probably won't work; just use a leaflet map. https://leafletjs.com/ has lots of examples.

(28 Mar '22, 12:04) SomeoneElse ♦

Source code available on GitHub .