zoom_value_calculator 1.0.0
SDKflutter
Platformandroidioswindowslinuxmacosweb
Calculates the ideal zoom value for google maps based on the distance of the marker in two different locations
If you are using Google maps and clustering feature, you can calculate how close to zoom the map when you click on the marker.
Features
Getting started
Usage
var idealZoomValue = MapsCalculator.getZoomForGoogleMaps({
'lat_a': 39.9381313093995,
'lat_b': 32.87044869603532,
'lng_a': 39.92375130734416,
'lng_b': 32.61525710992603,
});