project method

  1. @override
UPoint project(
  1. LatLng? position
)
override

Projects geographical coordinates into coordinates in units accepted for this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).

Implementation

@override
UPoint project(LatLng? position) {
  return UPoint(position!.lng, position.lat);
}