Mapbox Studio (Classic)

Hi there,

I´m new in this Forum and hope anybody can help me with my request. I work for the first time with Mapbox Studio Classic (because of print and online application). After uploading the (desktop) map to my online account I would like to integrate it in the website. But just can include it via iframe. I would also like to add a filter-marker )like this: https://www.mapbox.com/mapbox.js/example/v1.0.0/multiple-marker-filters/)). Is this possible withe the Classic Version and can anybody give me a hint with online-integration?

Thanks a lot and best regards

Christian

Hey, ChristianRxB

The example you linked to has a comprehensive code which is possible to use as the guide for your own works.

Take a look at this part of code from the above mentioned link


var map = L.mapbox.map('map', 'mapbox.dc-markers');

where ‘mapbox.dc-markers’ - the name of the tileset. You may find the name of your Map ID here https://www.mapbox.com/studio/tilesets/

Press “Menu” and copy Map ID, replace it in the code

and refer to documentation - https://www.mapbox.com/mapbox.js/api/v3.1.1/l-mapbox-map/

Hi thanks a lot for the fast reply. That was a very helpful hint. Now I try and work with that (maybe I have later another question).

Thanks again and best regards

Christian

Hi there, now I have another question. I try it the whole time but don´t get it to have the filter working. I have the map with the markers and geodatas but have no clue how to include/combine this in the filter-example ( https://www.mapbox.com/mapbox.js/example/v1.0.0/multiple-marker-filters/ ). It don´t have to be exactly like this but just this kind of filterstyle. Like I wrote it is the first time working with Openmaps and I´m grateful for every help.

Thanks and best regards

Christian