moveCameraTo method
Moves the camera to focus on a specific zone using index.
index
is the zone whose coordinates will be focused on in the map.
Implementation
void moveCameraTo(int index) {
_moveCameraToZone(zones[index].coordinates);
}
Moves the camera to focus on a specific zone using index.
index
is the zone whose coordinates will be focused on in the map.
void moveCameraTo(int index) {
_moveCameraToZone(zones[index].coordinates);
}