Skip to content

Instantly share code, notes, and snippets.

@Aditsyal Aditsyal/markers.dart Secret
Created Apr 11, 2019

What would you like to do?
Future<void> _goToNewYork() async {
double lat = 40.7128;
double long = -74.0060;
GoogleMapController controller = await _controller.future;
controller.animateCamera(CameraUpdate.newLatLngZoom(LatLng(lat, long), _zoom));
setState(() {
markerId: MarkerId('newyork'),
position: LatLng(lat, long),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.