GithubHelp home page GithubHelp logo

Comments (6)

njmalinga avatar njmalinga commented on June 2, 2024 1

@sandydoo I'm so sorry for taking up so much of your time already. It turns out my coordinates were incorrect. Thanks once again, sorry I wasted your time over nothing.

from ember-google-maps.

sandydoo avatar sandydoo commented on June 2, 2024

@njmalinga, I can't offer advice if I can't reproduce the issue or at least see the code. It would be nice to see relevant excerpts from your environment.js config, relevant sample code, and any error messages you're getting in the browser's console.

The ZA region works fine and I have not yet experienced issues with region handling. I would suggest you follow the guide to getting started and creating the map. You must – at the bare minimum – provide an API key and style your map canvas.

from ember-google-maps.

njmalinga avatar njmalinga commented on June 2, 2024

@sandydoo below is a snippet of my environment.js
I created an environment variable and called it GOOGLE_MAPS_API_KEY which has my API_KEY

ENV['ember-google-maps'] = {
key: process.env.GOOGLE_MAPS_API_KEY,
language: 'en',
region: 'ZA',
protocol: 'https',
version: '3.31',
libraries: ['geometry', 'places']
}
I may have not conveyed my message properly. I do not get any errors on my browser console however it just shows a blue screen and not the actual map. Soon as I change it back to GB and alter the lat lng accordingly it works
image

from ember-google-maps.

sandydoo avatar sandydoo commented on June 2, 2024

What exactly do you mean by and alter the lat lng accordingly it works? Are you sure you're not just in the middle of the ocean in the screenshot? Once again, you can really speed up the process by just posting all the necessary code to replicate this.

As an aside, you don't need to load libraries: ['geometry', 'places'] unless you actually need those libraries.

from ember-google-maps.

njmalinga avatar njmalinga commented on June 2, 2024

its loading the map just fine
image

from ember-google-maps.

sandydoo avatar sandydoo commented on June 2, 2024

@njmalinga, no problem. Happy you got it sorted out!

from ember-google-maps.

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.