NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×55
×45
×35
×2

question asked: 28 Mar '22, 11:58

question was seen: 905 times

last updated: 28 Mar '22, 12:04

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum