-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(index):49 Uncaught SyntaxError: Unexpected identifier #145
Comments
I can confirm this seems to be a bug with the package, how can we get this resolved ? |
I fixed this bug in the package for my project and it works now! thanks @DTHerrera for this notification. For @iclarke I use a virtual environment, so this is my route: venv>lib>[your python version]>site-packages>flask_googlemaps>templates>googlemaps>gmapjs.html and around line 46 -- fullscreenControl: blablabla , add a comma at the endf that line, save and test it. This is my first comment, so please forgive me if I made some error or violated any reglementation |
Sorry I forgot. I'm using python 3.9 , Flask= 1.1.2, flask_googlemaps=0.4.1, jinja2= 2.11.3 |
Thanks @mgutierrez80 ! I actually read somewhere that the bug had been fixed in a subsequent version and verified it was the case but forgot to update the thread - cheers! |
hi, I still encounter this when installing flask-googlemaps 0.4.1. i have to manually update the gmapjs.html. may I know how to resolve this issue? these are versions i'm using |
For anyone who came across this, looks like a new release should be coming soon: #148 In the meantime, I was able to install from the archive
|
When run the examples i get the following error: (index):49 Uncaught SyntaxError: Unexpected identifier, in the last line of following code:
Looks like he needs the comma at the end of the next line of code. " fullscreenControl: true".
Thanks a lot.
DTapia.
The text was updated successfully, but these errors were encountered: