set marker onclick google maps
google.android.gms.maps. GoogleMap.setOnMapLongClickListener on a null object reference. A typical Google Map Marker is generally represented by a pin. The API allows this marker to be customised in a variety of ways.