Comments (11)
Great. Maybe the api key should be required now. Thanks.
from gmplot.
The init accepts it as an arg, too.
from gmplot.
Are you using an Api key? Can you share minimal code to reproduce?
from gmplot.
I am now, I wasn't before. It works now!
from gmplot.
Yes. Looks that way. So all you have to do is add:
gmap = gmplot.GoogleMapPlotter.... gmap.apikey = 'XXXXXXXXXXXXXXXXXXX
from gmplot.
but I can only get an apikey when I pay in Google Cloud Platform for access to maps, right? (sorry, I'm a beginner)
from gmplot.
Getting an api key should be free and for small scale usage (especially personal usage) it should remain free. Honestly, I haven't looked into the changes myself yet!
https://mapsplatformtransition.withgoogle.com/calculator
from gmplot.
ok I got it! I added in gmap = gmplot.GoogleMapPlotter() as a next argument (apikey='..'), I also tried to add it separately as gmap.apikey = '...' but in both cases I see a map for a second and then it disappears and I get this:
Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details...
any idea of how can I fix this?
from gmplot.
Yes. Looks that way. So all you have to do is add:
gmap = gmplot.GoogleMapPlotter.... gmap.apikey = 'XXXXXXXXXXXXXXXXXXX
I'm also having some issues adding the API key.
I tried
gmap = gmplot.GoogleMapPlotter
gmap.apikey = "inserting API key here"
However I still have the development purposes only issue, any ideas?
from gmplot.
I'm also getting the issue...
from gmplot.
I was having a similar problem, but it turns out I just had to enable billing on Google Cloud. If you check the developer console in your browser when you pull up the map, you might see an error about this. @Billy-North @averysmith10
from gmplot.
Related Issues (20)
- Crash Course Example Google Maps Loads Incorrectly with API Key HOT 3
- please update demo usage
- gmap heatmap inconsistent results
- Deprecation warning due to invalid escape sequences
- How to rotate a drawn map HOT 4
- Plot color/alpha based on a coordinate or value HOT 2
- Render as URI HOT 5
- Can't get HTML of polyline.
- setup.py egg_info" failed with error code 1
- Marker color isn't supported HOT 4
- Does this support v3 api? HOT 2
- Multicolored lines? HOT 1
- GMPLOT Pins into buttons
- When API KEY From Google is used, the code crashes lol
- GoogleMapPlotter.text size / font?
- API Key is visible to anyone who views the html file header
- Not able to hide marker
- API key visible when html page hosted
- Why did I have to add API key manually to HTML?
- [Feature Request] Add Dark Mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmplot.