javascript - how to highlight markers on click in mapbox -


i'm doing mapbox project, have list of projects on right side of screen. each time click on list of project name, map zoom location of project.

i imported markers mapbox , used mapid show them on map.

now want highlight marker each project click on. mapbox highlight examples based on geojson or csv, imported markers mapbox editor. can show me how highlight?

the code same: see l.mapbox.featurelayer documentation: instead of using setgeojson or loadurl examples do, initialize l.mapbox.featurelayer('mapid'), replacing 'mapid' mapid.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -