Commit Graph

3676 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
81b038926c Cleaning up map layers when map.remove() is run 2015-06-04 16:30:38 +02:00
Vladimir Agafonkin
7bc37fe09a Merge pull request #3508 from Leaflet/gridlayer-bounds
Implement 'overlaps' spatial operator on bounds and use it on gridlayers
2015-06-04 15:23:54 +03:00
Vladimir Agafonkin
74126639d5 Merge pull request #3510 from Leaflet/bouncy-max-bounds
Add an option to make the map's maxBounds non-bouncy. Fixes #1673.
2015-06-03 21:00:38 +03:00
Iván Sánchez Ortega
8a352fbbbf Add an option to make the map's maxBounds non-bouncy. Fixes #1673. 2015-06-02 17:24:22 +02:00
Vladimir Agafonkin
bd1b88c1dd Merge pull request #3509 from Leaflet/prune-tiles-out-of-zoom
Gridlayer prunes all tiles when zooming out of minzoom/maxzoom.
2015-06-02 13:30:21 +02:00
Iván Sánchez Ortega
3b183f01bb Gridlayer prunes all tiles when zooming out of minzoom/maxzoom. 2015-06-02 12:58:38 +02:00
Iván Sánchez Ortega
c0384bbe21 Implement 'overlaps' spatial operator on bounds and use it on gridlayers 2015-06-02 12:35:31 +02:00
Vladimir Agafonkin
e70b84218c Merge pull request #3505 from smellman/layer_minzoom_maxzoom_fix
restore minZoom and maxZoom check on _update
2015-06-02 09:37:18 +03:00
Taro Matsuzawa
4399b8f935 restore minZoom and maxZoom check on _update 2015-06-02 13:01:50 +09:00
Vladimir Agafonkin
d45c7ddfec Merge pull request #3502 from pdehaan/patch-1
Update license attribute
2015-05-28 23:37:48 +03:00
Peter deHaan
6a6d833a2f Update license attribute
specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-28 13:15:31 -07:00
Vladimir Agafonkin
dd904a9701 Merge pull request #3499 from vingiarrusso/add-isPopupOpen-method
add isPopupOpen method to layer
2015-05-28 09:23:33 +03:00
vingiarrusso
376820ff63 use existing method on popup 2015-05-27 16:59:54 -07:00
vingiarrusso
fd1b295b95 add isPopupOpen method to layer 2015-05-27 16:34:06 -07:00
Vladimir Agafonkin
45034155bd huge changelog update, #2959
not yet finished, another batch to come
2015-05-25 19:45:28 +03:00
Vladimir Agafonkin
df84336388 Merge pull request #3489 from RLRR/fix-paninsidebounds-array-param
Make panInsideBounds method accept bounds in array form
2015-05-25 15:25:11 +03:00
Alex Fedosov
9313733d3f make panInsideBounds accept array 2015-05-25 17:45:53 +06:00
Vladimir Agafonkin
33753fe3d6 Merge pull request #3488 from Leaflet/persist-marker-dragging
Persist marker dragging when removing/readding it.
2015-05-25 12:02:01 +03:00
Iván Sánchez Ortega
db8a790ae3 Persist marker dragging when removing/readding it. 2015-05-22 10:19:39 +02:00
Vladimir Agafonkin
8ffbb707c6 add layer getElement methods 2015-05-21 19:57:12 +03:00
Rik Vanmechelen
c4b6e79fa4 fix inertia when only moving on one axis, close #3432 2015-05-20 22:35:57 +03:00
Vladimir Agafonkin
d1c3550017 update deps 2015-05-20 19:45:56 +03:00
Vladimir Agafonkin
9dbb14a431 Merge pull request #3465 from Leaflet/infinite-bounds
Added debug page for infinite horizontal bounds
2015-05-13 01:31:37 +03:00
Iván Sánchez Ortega
df37705bdb Added debug page for infinite horizontal bounds 2015-05-13 00:21:27 +02:00
Vladimir Agafonkin
70e9bc6a6d Merge pull request #3463 from Leaflet/svg-group
Wrap all SVG paths inside a <g>
2015-05-12 12:37:15 +03:00
Iván Sánchez Ortega
555c80f20e Wrap all SVG paths inside a <g> 2015-05-12 10:38:12 +02:00
Vladimir Agafonkin
c8594e428c Merge pull request #3460 from Leaflet/degraded-flyto
Graceful degradation of zoom-pan animations, fixes #3272.
2015-05-11 20:19:34 +03:00
Iván Sánchez Ortega
9274ee2b5f Graceful degradation of zoom-pan animations, fixes #3272. 2015-05-11 16:54:46 +02:00
Vladimir Agafonkin
b0d44ca610 Merge pull request #3452 from Leaflet/less-important
More targeted max-width: !important in CSS
2015-05-11 13:33:45 +03:00
Vladimir Agafonkin
983fce0fee Merge pull request #3455 from Leaflet/polyline-isempty
Add Polyline/Polygon.isEmpty method
2015-05-10 00:21:10 +03:00
Yohan Boniface
298a27fbe4 Add Polyline/Polygon.isEmpty method 2015-05-09 23:03:22 +02:00
Vladimir Agafonkin
9d77c84604 Merge pull request #3454 from Leaflet/fix-empty-addto
Fix polygon.addTo(map) failing when latlngs was empty.
2015-05-09 23:45:57 +03:00
Yohan Boniface
426f331874 Fix polygon.addTo(map) failing when latlngs was empty.
Since #3279 an empty polygon as a nested array [[]] as latlngs,
so _latlngs.length returns true.
2015-05-09 22:04:46 +02:00
Yohan Boniface
b3ff3a0e52 More targeted max-width: !important in CSS
This for example allows to have images in popups not affected
by the max-width.
2015-05-09 08:54:44 +02:00
Vladimir Agafonkin
b170695fe5 bump version to clear up confusion 2015-05-08 17:55:19 +03:00
Vladimir Agafonkin
64b9d05e4c update deps 2015-05-08 17:54:34 +03:00
Iván Sánchez Ortega
29e8507851 Test webpage for #3233 2015-05-08 16:32:57 +02:00
Iván Sánchez Ortega
b849568ca0 Merge pull request #3233 from juliensoret/grabbingCursor
Fix cursor when dragging is set to false.
2015-05-08 16:32:24 +02:00
Vladimir Agafonkin
7603010f8b Merge pull request #3279 from Leaflet/nested-polygons
Ensure polygons latlngs are never flat (cf #2618)
2015-05-08 16:01:56 +03:00
Yohan Boniface
6aca7ef3c2 Add back L.Polyline.addLatLng 2015-05-08 14:53:21 +02:00
Vladimir Agafonkin
56f9ecac83 Merge pull request #3446 from ilfa/fix-vector-ie8
Fix vector in ie8
2015-05-08 15:10:21 +03:00
i.taratuhin
57d7dff81f fix vector in ie8 2015-05-08 18:03:24 +06:00
Yohan Boniface
2408cf2bb6 _flat is now a static method 2015-05-08 13:11:58 +02:00
Yohan Boniface
8b97b905e8 Merge branch 'master' into nested-polygons 2015-05-08 13:10:49 +02:00
Vladimir Agafonkin
9024a79a6e Merge pull request #3445 from Leaflet/static-flat
Make L.Polyline._flat a static method
2015-05-08 13:10:37 +03:00
Yohan Boniface
d53d958e81 Simpler approach for static method 2015-05-08 12:01:22 +02:00
Yohan Boniface
19d6008dfc Make L.Polyline._flat a static method 2015-05-08 11:52:00 +02:00
Vladimir Agafonkin
6c0557c868 Merge pull request #3386 from Leaflet/polyline-flat
Fix L.Polyline._flat returning true for a nested empty array
2015-05-07 11:08:37 +03:00
Vladimir Agafonkin
bb68b7342f Merge pull request #3390 from Leaflet/latlng-clone
Add LatLng.clone
2015-05-07 11:07:21 +03:00
Iván Sánchez Ortega
8f3a353d84 LatLng.wrap shall not drop altitude, closes #3420 2015-04-30 16:38:48 +02:00