spamdaemon
spamdaemon
Given this small fragment in a controller: ``` javascript $scope.foo = null; $scope.$watch("foo.bar",function(nv) { $log.info(nv); }); ``` produces 'null' whereas ``` javascript $scope.foo = {}; $scope.$watch("foo.bar",function(nv) { $log.info(nv); }); ```...
My code is using a GeoJson layer with a PointToLayer callback function. I assumed that the callback would be passed the feature. This assumption is incorrect when a geometry collection...
I got this error while zooming out in my application: Uncaught TypeError: Cannot call method 'latLngToLayerPoint' of null leaflet-src.js:4842 L.Polyline.L.Path.extend.projectLatlngs leaflet-src.js:4842 L.Polygon.L.Polyline.extend.projectLatlngs leaflet-src.js:5069 L.Mixin.Events.fireEvent leaflet-src.js:389 L.Map.L.Class.extend._resetView leaflet-src.js:1843 L.Map.include.setView leaflet-src.js:7949 L.Map.ScrollWheelZoom.L.Handler.extend._performZoom...
This issue may be related to #1096. I've tried to reproduce the issue here (using github/master): http://plnkr.co/edit/RyEYkY?p=preview This is a simple example with 3 layers, 2 base layers and 1...