ember-leaflet-tiles-provider
v2.0.4
Published
Allow usage of tiles provider rather than url for ember leaflet
Downloads
6
Maintainers
Readme
ember-leaflet-tiles-provider
This addon extends ember-leaflet 2.0. It extends the {{tile-layer}}
component to support using a provider instead of a URL.
It uses this leaflet extension to accomplish that.
Installation
ember install ember-leaflet-tiles-provider
Usage
provider: 'Esri.WorldImagery'
apiKey: '<enter-api-key>'
{{#leaflet-map lat=51.512983 lng=-0.138289 zoom=12}}
{{tile-layer provider=provider apiKey=apiKey}}
{{/leaflet-map}}
Options
- Posible Map Options Leaflet Extras
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.