use this script
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
google.maps.LatLng is very important for current location
How to find google.maps.LatLng for special location ? only use google map
. for example
https://www.google.com/maps/place/Oak+Forest+Heritage+Preserve/@41.5979032,-87.7048253,14z/data=!4m2!3m1!1s0x0000000000000000:0x6ebf1071640b2787
and set -> var latlng = new google.maps.LatLng(41.5979032, -87.7048253);
You can set zoom option
map_canvas is your div position
<script type="text/javascript">
function initialize() {
var latlng = new google.maps.LatLng(41.5979032, -87.7048253);
var myOptions = {
zoom: 15,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
var marker = new google.maps.Marker({
position: new google.maps.LatLng(41.5979032, -87.7048253),
map: map
});
}
</script>
And set body tag onload="initialize()"
<body onload="initialize()">
Div tag set by id map_canvas
<div id="map_canvas"></div>