-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
When run the examples i get the following error: (index):49 Uncaught SyntaxError: Unexpected identifier, in the last line of following code:
gmap = new google.maps.Map(
document.getElementById('gmap'), {
center: new google.maps.LatLng(37.4419, -122.1419),
zoom: 13,
mapTypeId: google.maps.MapTypeId.ROADMAP,
zoomControl: true,
mapTypeControl: true,
scaleControl: true,
streetViewControl: true,
rotateControl: true,
scrollwheel: true,
fullscreenControl: true
styles: "height:500px;width:800px;margin:0;"
});
Looks like he needs the comma at the end of the next line of code. " fullscreenControl: true".
Thanks a lot.
DTapia.