i have centered the location based on saved latitude and longitude values.
i just want to put a marker
this is the code
var lat = $("input[name=lat]").val();
var lng = $("input[name=lng]").val();
var zoom = 17;
if ( lat == null || lat == "" || lng == null || lng == "" ) {
zoom= 1;
}
var map = $("#geocomplete").geocomplete("map"),
center = new google.maps.LatLng(lat,lng);
map.setCenter(center);
map.setZoom(zoom);
Original issue reported on code.google.com by shahrukh...@gmail.com on 12 Jan 2015 at 1:19
Original issue reported on code.google.com by
shahrukh...@gmail.com
on 12 Jan 2015 at 1:19Attachments: