Skip to content
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

This page can't load Google Maps correctly #6

Open
mikeelemuel opened this issue May 29, 2019 · 0 comments
Open

This page can't load Google Maps correctly #6

mikeelemuel opened this issue May 29, 2019 · 0 comments

Comments

@mikeelemuel
Copy link

mikeelemuel commented May 29, 2019

Versions:
"ember-leaflet": "^3.0.18",
"ember-leaflet-google-mutant-layer": "0.0.14",
"leaflet": "^1.5.1",
"ember-cli": "2.14",

The map works but there was a pop up that always shows This page can't load Google Maps correctly

config/environment.js

googleMutantLeaflet: {
  apiKey: process.env.GOOGLE_MAP_KEY,
  include: false
},

and my .env has my api google key, it is paid and there is no issue with the billing.

/tempate.hbs

<div class="map-leaflet-container">
  {{#leaflet-map id="map-leaflet" lat=cityLatitude lng=cityLongitude zoom=zoomValue}}
    {{google-mutant-layer type="roadmap"}}
    {{marker-layer location=myIcon.url icon=customIcon lat=selectedLatitude lng=selectedLongitude}}
  {{/leaflet-map}}
</div>

Screen Shot 2019-05-29 at 3 40 22 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant