setCenter method
Sets the center of the mapmodel to the given coordinates in mappixel. There must already be a position set.
Implementation
void setCenter(double x, double y) {
MapPosition newPosition = _lastPosition!.setCenter(x, y);
setPosition(newPosition);
}