google map need to show all users in map by lat and long data
// Data returned as response
window.onload = function(){
fun_ShowUsers();
};
function fun_ShowUsers() {
$.ajax({
url: "",
type: "GET",
success: function (response) {
{
var responseLength = response.length;
var htmlString = '';
$('Body').append('<input type="hidden" value="' + responseLength + '" />');
for (var i = 0; i < responseLength - 1; i++) {
htmlString += '<input id="'+i+'" class="MapLocation" type="hidden" data-lat="' + response[i].Lat + '" data-long="' + response[i].Long + '" />';
}
$('myBody').html(htmlString);
fun_ShowInMap(); // How ??
}
}
});
};
function fun_ShowInMap() {
How i can do that .....
How i can show all users in map using lat and long from db exists..
I need to help plz
};
This Image is have one mark by one lat and long im don't need to this i need to show many marks in map