I have a gps device which sends data every 10 seconds. I am saving the data (lat, lng) in the MySql database., I am retrieving the data from the DB and putting the markers o
You should do
map.addMarker(new MarkerOptions() .position(new LatLng(parseFloat(location.lat), parseFloat(location.lng))) .title("test!"));
in displayLocation function