Module marker

Index

Functions

Functions

icon(feature: any): Icon

A core icon generator used in L.mapbox.marker.style

Parameters

  • feature: any

Returns

Icon

style(feature: any, latlng: any): Marker

An icon generator for use in conjunction with pointToLayer to generate markers from the Mapbox Markers API and support the simplestyle-spec for features.

Parameters

  • feature: any
  • latlng: any

Returns

Marker