Code example for Marker

Methods: getPositionisDraggable

0
		Marker oldMarker = marker.getMarker();
		Marker newMarker = mGoogleMap.addMarker(
				new MarkerOptions()
					.title(title)
					.snippet(snippet)
					.position(oldMarker.getPosition())
					.draggable(oldMarker.isDraggable()));
		if(oldMarker.isInfoWindowShown()){
			newMarker.showInfoWindow();
		} 
		updateMarkerIdRefIfNeeded(marker.getId(), oldMarker, newMarker);
		oldMarker.remove();
		mMarkerMap.remove(marker.getId());
		mMarkerMap.put(marker.getId(), newMarker);
		marker.setMarker(newMarker);
	} 
	 
	public void remove(SupportMarker aMarker){
		if(aMarker==null){
			Log.e(TAG, "Marker is null. Did you instantiated the Marker properly?");
Connect your IDE to all the code out there  Get Codota for Java