How do i use openstreetmap

0 favourites
  • 3 posts
  • Hi,

    I'd like to point to a static location on open-street-map.

    I'm wondering if there's an easy way to use it. I thought to use an iframe but i got the response "would not connect".

    Is there a correct way to use OSM or even google maps?

    Sorry i have looked, but happened found anything in recent years.

    Thanks

    R

  • on the C3 start page there is a sample project called Geolocation that uses google maps. I haven't searched the forums for maps in a long time but I remember seeing other samples if that one doesn't help you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thanks... that was helpful.

    i was hoping to use IFRAME and it worked when i had "navigate to" and used the following reference.

    "https://www.openstreetmap.org/export/embed.html?bbox=-6.55986785888672%2C53.30451849692477%2C-6.3619422912597665%2C53.39039261408828&layer=mapnik"

    I had been using "display HTML string" and grabbing it previously from an ajax call. that works fine for HTML, but clearly was not liked for something like this.

    thanks again for giving me the pointer.

    R

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)