Modified MapMarker implementation.