Answer the question
In order to leave comments, you need to log in
How to add labels and delete in Sqlite database. (Google Map API)?
Good evening. Made a method for adding labels to the map
m_googleMap.setOnMapClickListener(new GoogleMap.OnMapClickListener() {
@Override
public void onMapClick(LatLng latLng) {
MarkerOptions markerOptions = new MarkerOptions();
markerOptions.position(latLng);
m_googleMap.addMarker(markerOptions);
Answer the question
In order to leave comments, you need to log in
Берите и сохраняйте координаты из LatLng latLng в соответствующих полях.
Чтобы находить и удалять сделайте еще одно поле с хеш кодом обеих координат.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question