i have geojson data containing locations i'd show on map. since contains style (marker-icon, marker-size, etc.), right using data as
map.setgeojson(my_data); these locations never change, want add them vector tile. there way mapbox studio? tried put my_data in file , load in mbs, don't know how style them default markers of mapbox.
thank you
since contains style (marker-icon, marker-size, etc.)
do mean follows mapbox's simplestyle spec? if so, simplestyle intended style geojsons in browser, not vector tile sources in mapbox studio.
if want style them in mapbox studio, have use cartocss: create studio source project geojson, , create studio style project style them w/ carto. checkout maki icon set , reference icons want each point using marker-file: url("path/to/icon.png"); property.
otherwise, can load geojson map in browser using mapbox.js , apply simplestyles.
Comments
Post a Comment