0

I am embedding a map I made in Tilemill/Mapbox onto a Wix website. Items of the map such as legend, title, and description are not automatically included in the embed. I learned how to add the legend by simply adding ,legend, in the code below. However, I do not know how to add the title and description of the map as you see it here: https://a.tiles.mapbox.com/v3/yolivens.hgck7b4h/page.html?secure=1#4/40.85/-94.48

Here is my current code:

enter image description here

What would I need to do to add the title and description? I am above all concerned about the title.

2
  • In case these instructions from mapbox make more sense to you than they did for me: mapbox.com/developers/api/maps/#embeds Mar 13, 2014 at 5:23
  • You might change the iframe snippet from an image to text, so that the src URL can be selected/copied (to make it easier for those who might want to help).
    – sfletche
    Apr 27, 2014 at 3:56

1 Answer 1

1

Use the good URL (the one that shows the description and the title) as the src link in your iframe.

Like this:

<iframe width='100%' height='500px' frameborder='0' src='https://a.tiles.mapbox.com/v3/yolivens.hgck7b4h/page.html?secure=1#4/40.85/-94.48'></iframe>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.