I have searched in google but i couldn't get it. I need this type where values to be in markers
I couldn't get an idea how to do like what is displayed above.
GoogleMap gm;
gm = ((SupportMapFragment) (getSupportFragmentManager()
.findFragmentById(R.id.map))).getMap();
gm.setOnInfoWindowClickListener(this);
gm.addMarker(new MarkerOptions()
.title(jsonObj.getString("project_name"));
@Override
public void onInfoWindowClick(final Marker marker) {
String name = marker.getTitle(); // this displays when marker window gets tap
}
But the above code just displays when I tap on marker window. I just want to display like above iamge link. How to do that.please help to solve the issue.
Thanks in advance.