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

How to point out a place in iframe using latitude and longitude

0

I want point out a place using latitude and longitude in following frame,

<iframe width="75%" 
        height="550" 
        frameborder="0" 
        scrolling="no" 
        marginheight="0" 
        marginwidth="0" 
        src="https://www.openstreetmap.org/export/embed.html?bbox=79.84942674636841%2C6.899900944350287%2C79.85650777816772%2C6.90436374803887&amp;layers=ND" 
        style="border: 1px solid black">
</iframe>

How should I point out?

asked 13 Feb '16, 07:07

Daniel1420's gravatar image

Daniel1420
1668
accept rate: 0%

edited 13 Feb '16, 07:08


One Answer:

1

You can add a marker by activating "Include marker" in the share panel. See Browsing#Sharing_a_link_to_the_maps. It will add a marker parameter to the export URL.

answered 13 Feb '16, 08:29

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Source code available on GitHub .