Code Monkey home page Code Monkey logo

Comments (11)

vgm64 avatar vgm64 commented on May 19, 2024 1

Great. Maybe the api key should be required now. Thanks.

from gmplot.

vgm64 avatar vgm64 commented on May 19, 2024 1

The init accepts it as an arg, too.

from gmplot.

vgm64 avatar vgm64 commented on May 19, 2024

Are you using an Api key? Can you share minimal code to reproduce?

from gmplot.

danybenjamin-tc avatar danybenjamin-tc commented on May 19, 2024

I am now, I wasn't before. It works now!

from gmplot.

danybenjamin-tc avatar danybenjamin-tc commented on May 19, 2024

Yes. Looks that way. So all you have to do is add:
gmap = gmplot.GoogleMapPlotter.... gmap.apikey = 'XXXXXXXXXXXXXXXXXXX

from gmplot.

ancago avatar ancago commented on May 19, 2024

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.

vgm64 avatar vgm64 commented on May 19, 2024

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.

ancago avatar ancago commented on May 19, 2024

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.

Billy-North avatar Billy-North commented on May 19, 2024

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.

AveryData avatar AveryData commented on May 19, 2024

I'm also getting the issue...

from gmplot.

tylerclover avatar tylerclover commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.