Code example for GoogleMap

Methods: addTileOverlay, clear, setMapType

0
		boolean oaChecked = oaSlope.isChecked() || oaWinter.isChecked();
		oaLogo.setVisibility(oaChecked ? View.VISIBLE : View.GONE);
	} 
 
	private void setMapOverlays() { 
		map.clear();
		map.setMapType(GoogleMap.MAP_TYPE_NONE);
		if (googleMaps.isChecked()) {
			map.setMapType(GoogleMap.MAP_TYPE_NORMAL);
		} else if (googleHybrid.isChecked()) {
			map.setMapType(GoogleMap.MAP_TYPE_HYBRID);
		} else if (oaWinter.isChecked()) {
			map.addTileOverlay(MapLayerFactory.outdooractiveWinter());
		} 
 
		if (oaSlope.isChecked()) {
			map.addTileOverlay(MapLayerFactory.outdooractiveSkiresorts());
		} 
	} 
 
	private void setMapObjects() { 
		String geometry = getArguments().getString("geometry");