Skip to content

Commit

Permalink
leaflet-map: pass more options
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Mar 23, 2017
1 parent 64858db commit 9e76065
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addon/components/leaflet-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default BaseLayer.extend(ParentMixin, {
'keyboard', 'keyboardPanOffset', 'keyboardZoomOffset',
// Panning Inertia Options
'inertia', 'inertiaDeceleration', 'inertiaMaxSpeed', 'inertiaThreshold',
'easeLinearity', 'worldCopyJump', 'maxBoundsViscosity',
// Control options
'zoomControl', 'attributionControl',
// Animation options
Expand All @@ -39,7 +40,9 @@ export default BaseLayer.extend(ParentMixin, {
],

leafletProperties: [
'zoom:setZoom:zoomPanOptions', 'center:panTo:zoomPanOptions', 'maxBounds:setMaxBounds', 'bounds:fitBounds:fitBoundsOptions'
'zoom:setZoom:zoomPanOptions', 'minZoom:setMinZoom:zoomPanOptions', 'maxZoom:setMaxZoom:zoomPanOptions',
'center:panTo:zoomPanOptions',
'bounds:fitBounds:fitBoundsOptions', 'maxBounds:setMaxBounds',
],

center: toLatLng(),
Expand Down

0 comments on commit 9e76065

Please sign in to comment.