radarlabs / radar-sdk-js

Web JavaScript SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
41 stars 11 forks source link

`RadarMap.fitToMarkers` class method #156

Closed jaspk06 closed 2 months ago

jaspk06 commented 3 months ago

NOTE: https://github.com/radarlabs/radar-sdk-js/pull/153 needs to be reviewed first

single line function to adjust the bounds of a RadarMap to fit to all RadarMarker added to the map.