uses an inheritance pattern instead of wrapping the maplibre-gl Map in helper functions. This allows us to more closely develop features on top of the maplibre-gl Map class instance
Adds the parameter Radar.ui.marker({ customMarkerId }) to use a custom uploaded marker
Adds the RadarMap.getMarkers() method which returns an array of all RadarMarker added to a RadarMap instance
Adds support for .png custom markers
Removes previous custom marker handling logic
Next, any of these following web sdk improvement PRs can be reviewed in any order:
the previous PR for custom styles needs to be reviewed first: https://github.com/radarlabs/radar-sdk-js/pull/152
Notable changes:
maplibre-gl Map
in helper functions. This allows us to more closely develop features on top of themaplibre-gl Map
class instanceRadar.ui.marker({ customMarkerId })
to use a custom uploaded markerRadarMap.getMarkers()
method which returns an array of allRadarMarker
added to aRadarMap
instance.png
custom markersNext, any of these following web sdk improvement PRs can be reviewed in any order: