getNewPixelOrigin method
Implementation
CustomPoint getNewPixelOrigin(LatLng? center, [double? zoom]) {
var viewHalf = size! / 2.0;
return (project(center, zoom) - viewHalf).round();
}
CustomPoint getNewPixelOrigin(LatLng? center, [double? zoom]) {
var viewHalf = size! / 2.0;
return (project(center, zoom) - viewHalf).round();
}