ember-leaflet-tiles-provider

Allow usage of tiles provider rather than url for ember leaflet


Keywords
ember-addon, ember-leaflet, leaflet, ember, tile-layer
License
MIT
Install
npm install ember-leaflet-tiles-provider@2.0.4

Documentation

Ember Observer Score Build Status Coverage Status NPM Version NPM Downloads Dependency Status DevDependency Status Greenkeeper

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.

DEMO

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

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.