Commit Graph

3544 Commits

Author SHA1 Message Date
Vladimir Agafonkin
fc05abd336 Merge pull request #2834 from bullgare/path_svg_fill_rule
svg's attribute 'fill-rule' now can be set via options into either 'evenodd' or 'nonzero'
2014-10-20 13:18:30 +03:00
bullgare
809844b539 svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now for canvas, too. 2014-10-20 10:24:11 +04:00
Vladimir Agafonkin
35e2131aab Merge pull request #2955 from patrickarlt/module-loaders
Module loaders + Publishing on NPM
2014-10-18 16:15:44 +03:00
Vladimir Agafonkin
8d92b6037f Merge pull request #2954 from nikgavalas/patch-1
Fix IE Touch pointer events passing through to the map
2014-10-18 16:14:54 +03:00
nikgavalas
ce0e92cf6e Fix IE pointer events passing through to the map
Pointer events in IE would trigger on the map even when not started on the map. For example, if you had a dialog box on top of the map and dragged inside the map, the map would move. I believe this is because the handler never gets added to the obj[eventsKey] map. I noticed in the corresponding _off function below that the logic reaches there because of the multiple if/else statements. So I modified the _on even to match and it seems to fix the problem.
2014-10-17 11:35:54 -06:00
Patrick Arlt
957097cd2a fix spelling 2014-10-15 08:44:59 -07:00
Patrick Arlt
2c7eda825d fix merge conflict 2014-10-15 08:36:22 -07:00
Patrick Arlt
1e3a535616 seperate NPM and module loader info. Condense module loader section 2014-10-15 08:03:02 -07:00
Patrick Arlt
09ffc53549 Merge pull request #2949 from Leaflet/revert-2942-module-loaders
Revert "update plugin guide with module loader info"
2014-10-14 16:20:55 -07:00
Patrick Arlt
82abc2bef4 Revert "update plugin guide with module loader info" 2014-10-14 16:20:39 -07:00
Patrick Arlt
77438deb76 Merge pull request #2942 from patrickarlt/module-loaders
update plugin guide with module loader info
2014-10-14 15:15:30 -07:00
Patrick Arlt
fdf90c29ba Merge pull request #2943 from patrickarlt/expose-global
expose a global if window is present
2014-10-14 15:15:21 -07:00
Patrick Arlt
8cc2d4b42d add newline 2014-10-14 15:15:06 -07:00
Patrick Arlt
f2490d3d4a expose a global if window is present 2014-10-13 11:18:45 -07:00
Patrick Arlt
cb551891bd update plugin guide with module loader info 2014-10-13 11:06:03 -07:00
Alexander Parshin
3a5d45d62e Add optional parameter for result rounding in L.PolyUtil.clipPolygon and L.LineUtil.clipSegment 2014-09-30 09:57:53 +04:00
Vladimir Agafonkin
f83915aa3b Merge pull request #2886 from SniperSister/master
CSS reset for svg max-width declarations
2014-09-04 18:44:34 +03:00
David Jardin
1712b74363 Merged css declarations 2014-09-03 21:07:30 +02:00
David Jardin
ecb4af5e76 CSS reset for svg max-width declarations
Fix for https://github.com/Leaflet/Leaflet/issues/2881
2014-09-03 17:46:35 +02:00
Vladimir Agafonkin
ae6d25999c Merge pull request #2872 from bullgare/fix_marker_set_icon
it fixes marker's setIcon method
2014-08-26 16:00:49 +03:00
bullgare
b43da41575 it fixes marker's setIcon method, that flushes popup's options, which leads to breaking popup's custom offset 2014-08-26 15:35:58 +04:00
Vladimir Agafonkin
8a33e94c0e Fix scale control widths, close #2869 2014-08-25 16:38:46 +03:00
Vladimir Agafonkin
5b4f6e4901 Merge pull request #2867 from AndreyGeonya/clickAfterDrag-bugfix
#2865, fixed bug with geometry/staticMarker click event after map drag
2014-08-23 02:13:31 +03:00
AndreyGeonya
18938b0319 #2865, fixed bug with geometry/staticMarker click event after map dragging 2014-08-23 01:00:42 +03:00
Vladimir Agafonkin
641cb18923 Merge pull request #2849 from AndreyGeonya/master
issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided
2014-08-11 18:43:39 +03:00
AndreyGeonya
31a09930b4 #1871, zoom limited 2014-08-11 17:53:59 +03:00
AndreyGeonya
f7ac72d073 issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided 2014-08-11 15:14:37 +03:00
Vladimir Agafonkin
6afc9eafd7 Merge pull request #2848 from brunob/patch-1
Add getBounds() method to ImageOverlay
2014-08-11 10:40:51 +03:00
b_b
1bdd7cf41a Add getBounds() method to ImageOverlay
Bugfix : ImageOverlay can be added to FeatueGroup, but calling getBounds on FeatureGroup throw an error cause ImageOverlay misses this method.
2014-08-10 18:44:14 +02:00
Vladimir Agafonkin
6e4c4cef82 Merge pull request #2838 from AndreyGeonya/master
Clickable option renamed to interactive
2014-08-06 17:27:38 +03:00
AndreyGeonya
9445c2f9f2 this commit fixes #2499 2014-08-05 18:14:02 +03:00
Vladimir Agafonkin
a3066bde24 Merge pull request #2836 from AndreyGeonya/master
#2501, optional wheel debounce time
2014-08-05 17:40:10 +03:00
AndreyGeonya
a321406cf8 #2501, tab fixed 2014-08-05 17:13:10 +03:00
AndreyGeonya
f5cfddb60d #2501, wheelDebounceTime option added 2014-08-05 16:49:33 +03:00
bullgare
38476615e6 svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now we can set it via options and it's not hardcoded. https://developer.mozilla.org/ru/docs/Web/SVG/Attribute/fill-rule 2014-08-05 17:37:20 +04:00
Vladimir Agafonkin
b80c9b3367 Merge pull request #2831 from kdeloach/topic/wms-uppercase
Add uppercase option for WMS TileLayer.
2014-08-05 10:13:28 +03:00
Vladimir Agafonkin
17c6a51bf0 Merge pull request #2833 from AndreyGeonya/master
Issue #2619 fixed
2014-08-05 00:59:35 +03:00
Kevin DeLoach
a2825920fa Add uppercase option for WMS TileLayer.
In response to issue #1751, WMS TileLayer request parameter keys were
cast to uppercase. This is a breaking change for services that are case
sensitive and expect lowercase keys.

This change adds a new option to uppercase keys, which is false by
default, to preserve backwards compatibility.
2014-08-04 17:11:57 -04:00
AndreyGeonya
fd7ebcb5aa Issue #2619 fixed. Now Map.js/_fireMouseEvent checks dragging.moved() on moved object instead on map 2014-08-05 00:09:01 +03:00
Vladimir Agafonkin
b537c8b39c Merge pull request #2827 from bennlich/tilelayer-loading-tests
Tilelayer 'loading' event tests
2014-08-01 08:58:05 +03:00
bennlich
4eb033c719 Included leaflet.css in html instead of TileLayerSpec.js 2014-07-31 23:43:14 -06:00
bennlich
609386397b Merge remote-tracking branch 'upstream/master' into tilelayer-loading-tests 2014-07-31 15:39:00 -06:00
bennlich
abfcd9ea59 Added TileLayerSpec.js tests for loading events 2014-07-31 15:38:21 -06:00
Vladimir Agafonkin
075d414102 Merge pull request #2745 from fab1an/perf-remove-chrome-reflow
Performance: this triggers a reflow, but newest Chrome doesn’t flicker a...
2014-07-30 14:02:09 +03:00
Vladimir Agafonkin
93cf8d7e95 Merge pull request #2605 from danzel/vmlfix
Round point so that circles work again :)
2014-07-30 13:58:39 +03:00
Vladimir Agafonkin
31047c361b Merge pull request #2764 from francis-liberty/zoom_out_max_min_error_1905
Address issue #1905, Error when zoom out of max/minZoom
2014-07-30 13:46:07 +03:00
Vladimir Agafonkin
56e245d1eb Merge pull request #2789 from danydev/fixBounceAtZoomLimits
Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level
2014-07-30 13:43:27 +03:00
Vladimir Agafonkin
f773a16c86 Merge pull request #2811 from jfgodoy/patch-1
fix memory leak generated by setIcon
2014-07-24 13:06:01 +03:00
jfgodoy
aeea88b9fc fix memory leak generated by setIcon
when setIcon is called this.dragging is replaced without be disabled before, so hooks remains active.
2014-07-24 00:44:42 -04:00
Vladimir Agafonkin
112ac5b4b6 Merge pull request #2802 from bennlich/set-url-fix
Fixed bug with TileLayer.setUrl()
2014-07-21 12:39:21 +03:00