latLngToXY method
Converts a point on the sphere surface (with a certain zoom) to a scaled map point.
Implementation
@override
(double, double) latLngToXY(LatLng latlng, double scale) =>
_transformation.transform(
SphericalMercator.projectLng(latlng.longitude),
SphericalMercator.projectLat(latlng.latitude),
scale,
);