Open mikeelemuel opened 5 years ago
So, I installed the ember-leaflet-google-tile-layer and I was trying to use it to my code. My code that actually works is
{{#leaflet-map id="map-leaflet" lat=cityLatitude lng=cityLongitude zoom=zoomValue}} {{tile-layer url="http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"}} {{marker-layer location=myIcon.url icon=customIcon lat=selectedLatitude lng=selectedLongitude}} {{/leaflet-map}}
But when I comment the code {{tile-layer url="http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"}} and change it to {{google-tile-layer type="ROADMAP" opacity=0.9}} It doesn't show the map. Anyone had the experience with this scenario?
{{tile-layer url="http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"}}
{{google-tile-layer type="ROADMAP" opacity=0.9}}
Versions
"ember-cli": "2.14", "ember-leaflet-google-tile-layer": "0.0.3", "ember-leaflet": "^3.0.18",
Strongly recommend to use https://github.com/dio-el-claire/ember-leaflet-google-mutant-layer instead. It's much more performant and more up to date.
So, I installed the ember-leaflet-google-tile-layer and I was trying to use it to my code. My code that actually works is
But when I comment the code
{{tile-layer url="http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"}}
and change it to{{google-tile-layer type="ROADMAP" opacity=0.9}}
It doesn't show the map. Anyone had the experience with this scenario?Versions