javi
5c059e7470
fixed polygon and multipolygon creation from GeoJSON
2013-03-14 13:12:23 +01:00
Vladimir Agafonkin
81221ae4cd
fix jshint 1.1.0 errors, update deps and build
2013-03-07 17:39:55 +02:00
Nikolai Prokoschenko
1c8e0c6901
Disable 3D CSS transforms on PhantomJS
...
PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.
Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
2013-03-06 13:09:35 +01:00
Vladimir Agafonkin
bf54caa1e9
Merge pull request #1490 from danzel/oldie-fixes
...
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 01:36:27 -08:00
danzel
0b0cce929e
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 09:47:46 +13:00
danzel
9ae07469c5
Fix zooming on browsers without zoom animation support. Refs #1486
2013-03-05 09:29:41 +13:00
Vladimir Agafonkin
b993f1fc4b
Merge pull request #1471 from snkashis/drag_handling
...
handle drag listeners properly to avoid errors on marker removal
2013-02-28 03:25:04 -08:00
snkashis
1df4c4a98f
work with handlers in right place
2013-02-28 11:01:26 +00:00
snkashis
ed08a5b1dc
call disable, not removeHooks
2013-02-28 10:46:54 +00:00
snkashis
95c73a3d77
handle drag handlers properly to avoid errors if moving while removed.
2013-02-28 10:38:27 +00:00
Tom MacWright
71d17180c8
Add layerGroup#getLayers and tests. Fixes #1460
2013-02-27 17:10:19 -05:00
Paul Spencer
2ba0422e9d
Update src/dom/DomEvent.js
...
return this from removeListener when there is no handler so that chained calls still work in other places in the code such as removeHooks() inside the keyboard handler. If you call removeHooks() twice on the keyboard handler, you will get a javascript error in the second chained .off() call.
2013-02-27 13:55:04 -05:00
John Firebaugh
5e7857cdff
Normalize polygon holes ( fixes #1459 )
2013-02-27 08:12:18 -08:00
Vladimir Agafonkin
42973e7e4c
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
# By John Firebaugh
# Via Vladimir Agafonkin (2) and John Firebaugh (1)
* 'master' of https://github.com/Leaflet/Leaflet :
Add Map#eachLayer (fixes #1457 )
Fix whitespace
Use devDependencies
2013-02-27 17:18:48 +02:00
Vladimir Agafonkin
f4e8735547
clean up the canvas hovering code
2013-02-27 17:17:37 +02:00
Vladimir Agafonkin
1d4e91f9fa
fix events not overwriting target/type
2013-02-27 16:34:40 +02:00
Vladimir Agafonkin
6fff98435c
Merge branch 'canvas_path_cursor' of github.com:snkashis/Leaflet into canvas-hover
...
* 'canvas_path_cursor' of github.com:snkashis/Leaflet:
mouseout firing
mistaken, unneeded test file.
don't perform if animatingZoom
dupe of 50K vector test, for canvas.
Hand cursor for canvas paths
2013-02-27 16:13:50 +02:00
John Firebaugh
511fbb9f44
Add Map#eachLayer ( fixes #1457 )
2013-02-26 11:39:00 -08:00
Vladimir Agafonkin
bba4f2ae1b
return this in LayerGroup eachLayer, close #1452
2013-02-25 19:26:35 +02:00
Vladimir Agafonkin
0a83b83237
fix whitespace
2013-02-25 12:45:33 +02:00
Vladimir Agafonkin
a169b6cb86
Merge pull request #991 from adimitrov/overlay_bounds
...
Add tileBounds option to limit tile loading to a given region
2013-02-25 02:23:11 -08:00
Vladimir Agafonkin
a2890d6c4b
cleanup and prettify animation code, more comments
2013-02-22 17:29:52 +02:00
Vladimir Agafonkin
9c2e7cfbd4
add Point contains method
2013-02-22 17:28:55 +02:00
John Firebaugh
46dddc895c
Fire an unload event on removal
...
Plugins that need to bind events to `window` or `document`
can attach a listener for this event and unbind their event
handlers.
However, for symmetry, unload is fired only if load has been
fired.
2013-02-21 17:31:09 -08:00
Vladimir Agafonkin
5558987272
fix geolocation accuracy bounds, add more event data, close #984 , related #584 , #987 , #1028
2013-02-21 14:41:26 +02:00
Vladimir Agafonkin
3cc75db221
Merge pull request #1440 from danzel/zoom
...
Fix building without zoom animations enabled
2013-02-21 00:10:13 -08:00
Vladimir Agafonkin
9c9d4286a1
Merge pull request #1439 from danzel/convert_option
...
Make Polyline/Polygon not overwrite the source array
2013-02-21 00:08:48 -08:00
danzel
1681365040
Fix building without zoom animations enabled
2013-02-21 15:15:24 +13:00
Yohan Boniface
7fd4ca20fe
Allow for canceling a boxzoom being drawn pressing Escape key
2013-02-20 20:47:23 +01:00
Vladimir Agafonkin
5c18361aa2
fix typo, fix animated setView not converting latlng input
2013-02-20 20:54:12 +02:00
Vladimir Agafonkin
cf00a0113d
fix rounding error when changing zoom, close #426
2013-02-20 20:11:47 +02:00
Vladimir Agafonkin
97454596c6
fix whitespace, update build
2013-02-20 19:49:40 +02:00
Vladimir Agafonkin
36e59c2afb
minor WMS cleanup after merge
2013-02-20 19:48:33 +02:00
Vladimir Agafonkin
3063fd9192
Merge pull request #1433 from tmcw/layer-container
...
Add a public API for getContainer for TileLayer
2013-02-20 09:48:19 -08:00
Vladimir Agafonkin
874ec60aae
Merge pull request #1080 from brianhatchl/wms-tilesize-option-bug
...
fixed bug where wms tilesize option was ignored
2013-02-20 09:44:54 -08:00
Vladimir Agafonkin
06190b1ec8
Merge pull request #1434 from jfirebaugh/remove
...
Add Map#remove
2013-02-20 09:41:44 -08:00
Vladimir Agafonkin
40a824fc97
refactor TileLayer animation, fix #1140 , #1437 , #52 , #1442
...
Refactored TileLayer animation so that it happens for each tile layer
independently instead of animating the parent of all tile layers. Moved
TileLayer animation code into a separate file (TileLayer.Anim.js).
Fixes loads of bugs and makes the code easier to understand.
2013-02-20 18:40:00 +02:00
John Firebaugh
6ef25866eb
Add Map#remove
...
This is a minimal implementation; it only unbinds events
and deletes the _leaflet flag from the container.
Refs #1101 .
2013-02-19 17:36:03 -08:00
Tom MacWright
8735b87980
Add public getContainer API to TileLayer, and test for it.
2013-02-19 20:05:44 -05:00
danzel
3afee7eb49
Allow overwriting the given array, for usage by spliceLatLngs.
2013-02-20 11:03:13 +13:00
snkashis
0fb7a13277
force new array
2013-02-20 10:38:44 +13:00
snkashis
57d42d1636
allow for no overwrite option in covertLatLngs
2013-02-20 10:38:43 +13:00
Vladimir Agafonkin
a0dd4a60e9
accept coordinates in form of simple objects, close #1412
2013-02-19 18:01:53 +02:00
Vladimir Agafonkin
5d41efe616
fix removeAttrubution, cover the control with tests, close #1410
2013-02-19 17:47:38 +02:00
Vladimir Agafonkin
c50410eadc
add Control getContainer, close #1409
2013-02-19 17:45:50 +02:00
Vladimir Agafonkin
d98b4ea035
throw meaningful exception on getCenter before setView, close #1395
2013-02-19 16:54:29 +02:00
Vladimir Agafonkin
879b9f987b
make Leaflet mention in attribution much less obtrusive
2013-02-18 16:11:59 +02:00
Vladimir Agafonkin
684fd7c12f
Merge pull request #1405 from gismartware/master
...
Fix for issue #1404
2013-02-18 05:50:02 -08:00
fabriceds
2591f53a28
Fixes box-zooming in Firefox 18+
2013-02-18 14:38:11 +01:00
snkashis
382a9965ef
mouseout firing
2013-02-17 21:25:11 -05:00