GithubHelp home page GithubHelp logo

Comments (2)

hirenkanetiya76 avatar hirenkanetiya76 commented on August 11, 2024

i am not able to run the Google Maps correctly. even i have create a API key and enabled a Google Maps Javascript API on google console with all the required billing details.

But i have put that generated Key on my app.json
like
"mashup": {
"map": {
"options": "?key=Hear_I_Have_put_my_API_Key"
}
},

And also add a package dependency

"requires": [
"google",
"ux"
]

But then also i am not able to render the google maps on my screen.

I am getting this 403 forbidden error on console.
GET http://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true 403 (Forbidden)
i am getting this response on network tab.

{
"error": {
"code": 403,
"message": "SSL is required to perform this operation.",
"status": "PERMISSION_DENIED"
}
}

Can you pls tell me what i have missing steps for just load a simple google maps on scree.

I'm using ExtJs 7.1.0 commercial version.

from customersmapapp.

abhijitnandy avatar abhijitnandy commented on August 11, 2024

We had to add the following <script> tag in index.html

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3&key=your_key_here" async defer></script>

besides the key in under mashup in app.json

"mashup": { "map": { "options": "?key=your_key_here" } },

from customersmapapp.

Related Issues (1)

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.