I am trying to create a marker in the way you mentioned but I am getting the following error :
Runtime Error : Attempt to invoke virtual method ‘com.google.android.gms.maps.model.Marker com.google.android.gms.maps.GoogleMap.addMarker(com.google.android.gms.maps.model.MarkerOptions)’ on a null object reference.
Please debug your blocks with Do it and show me the values in global_json . Most probably in title or snippet you have empty spaces. For example if title is My home you will receive error 12014 but if title is My_Home then no error
I managed to solve the problem, really my title had spaces, but in order to use spaces I just put “” in the title and subtitle in json, leaving it like this
I used firebase db to store and retrive data i can store the marker data but can’t retrive it
it is showing a blank space when i ask for the data in lable