Skip to content

Instantly share code, notes, and snippets.

@rterp
Created July 29, 2016 22:55
Show Gist options
  • Save rterp/0e6f2588a2326fc304b37dfe315275de to your computer and use it in GitHub Desktop.
Save rterp/0e6f2588a2326fc304b37dfe315275de to your computer and use it in GitHub Desktop.
@Override
public void mapInitialized() {
geocodingService = new GeocodingService();
MapOptions mapOptions = new MapOptions();
mapOptions.center(new LatLong(47.6097, -122.3331))
.mapType(MapTypeIdEnum.ROADMAP)
.overviewMapControl(false)
.panControl(false)
.rotateControl(false)
.scaleControl(false)
.streetViewControl(false)
.zoomControl(false)
.zoom(12);
map = mapView.createMap(mapOptions);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment