flask-extensions / flask-extensions/Flask-GoogleMaps

(index):49 Uncaught SyntaxError: Unexpected identifier

Open
#145 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
655
Forks
193
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.