NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum

It's ok with following:

{ "type": "Feature", "id": 11, "properties": { "Name": "Atlanta Hawks", "long": -84.396163, "lat": 33.757269 }, "geometry": { "type": "Point", "coordinates": [ -84.396163, 33.757269 ] } }

I am wondering if it can be achieved to make image and text link in the popup so I input something in the properties, like:

{ "type": "Feature", "id": 11, "properties": { "image": "",
        "url": ",_D.C.",
        "marker-symbol": "star",
        "city": "Washington, D.C." }, "geometry": { "type": "Point", "coordinates": [ -84.396163, 33.757269 ] } }

It seems not working and how to fix it, thanks!

asked 26 Mar '14, 22:49

zjmu916's gravatar image

accept rate: 0%

edited 27 Mar '14, 06:33

iii's gravatar image



Sorry -- does this have anything to do with OpenStreetMap?

(26 Mar '14, 23:08) Jonathan Ben...

Same here, what is the goal and what is the problem?
In general, does embedding WP images in it's popup bubbles

(27 Mar '14, 06:35) iii

I'm guessing this is a question about using a Geojson file with Mapbox and OSM data (given the tags on the question). This isn't really a question about OSM directly. You'd be better to look for advice elsewhere I think.

I do have some minimal experience in using a geojson file to display information on top of an osm map. Using Leaflet to make this work I had details about the marker symbol and so on outside the geojson file (in the javascript which refers to the file, not in the file itself). Not sure if this will help?

permanent link

answered 27 Mar '14, 14:30

Rostranimin's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 26 Mar '14, 22:49

question was seen: 5,378 times

last updated: 27 Mar '14, 14:30

NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum