tombatossals / angular-leaflet-directive

AngularJS directive to embed an interact with maps managed by Leaflet library
http://tombatossals.github.io/angular-leaflet-directive
MIT License
1.5k stars 635 forks source link

taptolerance,tap,interia Where to change the options in angular leaflet . I am doing it under defaults property ? do we need to do in layerOptions ?? #1113

Open karasalaravikumar opened 8 years ago

karasalaravikumar commented 8 years ago

angular.extend($scope, { events: { map: { enable: ['click'] } }, center: { lat: 30.510240, lng: -94.418571, zoom: 5 }, defaults: { interia: true, tap: true, tap_tolerance : 30 }, layers: { baselayers: { mapbox: { name: 'mapbox', type: 'xyz', url: 'https://api.mapbox.com/{version}/mapbox.streets/{z}/{x}/{y}.jpg70?access_token={access_token}', layerParams: { version: 'v4', access_token: '' }, layerOptions: {} } }, overlays: { thingsCluster: { name: 'thingsCluster', type: 'markercluster', visible: true, layerOptions: { showCoverageOnHover: false } } } } });