Skip to content

bogind/maplibre_addMarkerImage

Repository files navigation

maplibregl.Map.addMarkerImage

Demo of using the MapLibre Marker to create a simple map pin to be used with symbol type layers.

The MapLibre Marker object is very versatile and allows you to create a simple map pin MapLibre Default Marker while allowing the developer to change it's color, size and even its anchor point.

The full post explaining this example is available on my blog: Use MapLibre Marker for Entire Layers