Commit Graph

323 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
d67cbb24c1 More complete test webpage for #3307 2015-07-06 13:55:59 +02:00
Yohan Boniface
0d3448d494 Always fire DOM event on the map too 2015-07-06 13:55:59 +02:00
Patrick Arlt
6bf0f98796 fix popup offseting 2015-07-02 00:44:31 +03:00
Steve Kashishian
3687ed81e6 Fix setting of offset for popups.
Fixes #3525
2015-07-02 00:44:30 +03:00
Vladimir Agafonkin
d48191f426 Revert "Fix setting of offset for popups."
This reverts commit 30d2959c23.
2015-07-01 22:16:36 +03:00
Vladimir Agafonkin
047830f131 Merge pull request #3526 from snkashis/popup_offsets
Fix setting of offset for popups.
2015-07-01 22:10:17 +03:00
Steve Kashishian
30d2959c23 Fix setting of offset for popups. 2015-07-01 14:01:29 -05:00
Iván Sánchez Ortega
cf5111306f Implement non-square tiles for L.GridLayer, see #3570 2015-06-30 13:54:56 +02:00
Iván Sánchez Ortega
5245b94aad Reworked pixelBounds calculation in GridTile to deal with fractional zoom 2015-06-09 09:44:52 +02:00
Vladimir Agafonkin
f61e2f4a7b Merge pull request #3278 from Leaflet/events-refactor
Refactor move/zoom events
2015-06-05 21:02:51 +03:00
Iván Sánchez Ortega
7032bbc13d Graceful degradations of zoom-pan animations on top of refactored zoom-pan events. 2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
120d8523c5 Merge pull request #3514 from Leaflet/detached-memory-leak
Cleaning up map layers when map.remove() is run
2015-06-05 01:17:40 +03:00
Iván Sánchez Ortega
81b038926c Cleaning up map layers when map.remove() is run 2015-06-04 16:30:38 +02:00
Iván Sánchez Ortega
3a9da3bd7c Fixes #3431, GridLayer.setOpacity() behaviour on active tiles. 2015-06-04 15:02:28 +02: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
Iván Sánchez Ortega
df37705bdb Added debug page for infinite horizontal bounds 2015-05-13 00:21:27 +02:00
Iván Sánchez Ortega
9274ee2b5f Graceful degradation of zoom-pan animations, fixes #3272. 2015-05-11 16:54:46 +02:00
Iván Sánchez Ortega
29e8507851 Test webpage for #3233 2015-05-08 16:32:57 +02:00
i.taratuhin
57d7dff81f fix vector in ie8 2015-05-08 18:03:24 +06:00
Iván Sánchez Ortega
286f192ca9 Prevent recursion on map.setMaxBounds 2015-04-29 11:07:45 +02:00
Iván Sánchez Ortega
c3575be344 Implement options in L.Map.flyTo() 2015-04-23 09:18:59 +02:00
Patrick Arlt
6917733750 restore toggling marker popups, pass ESLint 2015-03-14 12:13:44 -07:00
Patrick Arlt
52be81b18b Merge branch 'master' of github.com:Leaflet/Leaflet into popup-debugging 2015-03-14 10:22:25 -07:00
Asko Kauppi
f02ccaa346 ;; 2015-02-21 22:59:37 +02:00
Patrick Arlt
ed4b4e70c0 cleanup logic 2015-01-06 10:34:19 -08:00
Patrick Arlt
775a8e0c3a refactor everything to Layer.Popup 2015-01-02 07:34:16 -08:00
Patrick Arlt
2d709141a8 fix tests, misc cleanup 2014-12-29 13:50:23 -08:00
Patrick Arlt
940452ace0 fix lint 2014-12-29 13:22:58 -08:00
Patrick Arlt
1c3b1889ec debug for regular layers 2014-12-29 12:58:23 -08:00
Patrick Arlt
ff470d5861 popup improvements for FeatureGroup 2014-12-29 12:14:41 -08:00
Steve Kashishian
ca2f1171b7 add interactive option on ImageOverlay 2014-11-09 13:23:19 -06:00
Steve Kashishian
f3b132e414 extract bounds conversion from Map.Geolocation.Also fix geolocation test page. 2014-11-06 13:23:14 -06:00
Bernhard Eder
9707648550 fixed GridLayer not showing up after removing and adding the same instance 2014-10-26 15:45:15 +01:00
Vladimir Agafonkin
eacc499199 fix GridLayer tile loading edge case 2014-10-23 13:23:37 +03:00
Vladimir Agafonkin
70923e6604 rename zoomPanTo to flyTo 2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
a4e8f4e1a8 improve tile pruning 2014-10-21 12:21:31 +03:00
Dave Leaver
c1bea627b0 stopAnimation -> stop 2014-10-21 12:21:30 +03:00
Dave Leaver
00a66b4731 Add an element for tracking zoom animations. Use it for trying to stop a map zoom. Still doesn't quite work right. Stopping a zoomPan or PanAnimation does work however. Code is all cludgy :)
refs #2560
2014-10-21 12:21:30 +03:00
Vladimir Agafonkin
169b6a0e77 adjust zoomPan options, add a debug page 2014-10-21 12:21:29 +03:00
AndreyGeonya
18938b0319 #2865, fixed bug with geometry/staticMarker click event after map dragging 2014-08-23 01:00:42 +03:00
AndreyGeonya
9445c2f9f2 this commit fixes #2499 2014-08-05 18:14:02 +03: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
Marc Tobias Metten
d61d0c0893 Doubleclick and scrollwheel zoom already can be forced to remained centered on map center. Now the same for touchzoom 2014-03-08 02:27:35 +01:00
Vladimir Agafonkin
b8897f26fb instantiate default renderers in map, fix #2523 2014-03-07 14:52:11 +02:00
Steve Kashishian
ed926180d2 whitespace fixes 2014-03-04 11:04:00 -05:00
Steve Kashishian
28c56c4bb0 Remove cloudmade tilesets 2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
b1f70b5c1c fix layer.addTo(group), add layer removeFrom, #2420 2014-02-24 20:18:44 +02:00
Vladimir Agafonkin
be85ff304c fix Canvas layer redawing 2014-01-03 20:14:24 +02:00
Vladimir Agafonkin
6940b5bac9 use projected coordinates in Circle, close #1465 2014-01-02 15:23:28 +02:00
Vladimir Agafonkin
d1bc836b5d HAPPY NEW YEAR!!!
Lets have an awesome year doing amazing stuff together! Cheers my
fellow leafleters!
2014-01-01 02:49:57 +02:00
Vladimir Agafonkin
b2965351e0 ignore openPopup if map not initialized, close #2343 2013-12-31 02:43:56 +02:00
Vladimir Agafonkin
93214d7e3c clean up mouse events handling code 2013-12-27 18:36:24 +02:00
Vladimir Agafonkin
65ae546fa0 make canvas be underneath svg by default 2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
f4f8c06c75 fix adding/removal of vectors and renderers 2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
508a75f7a8 make Circle inherit from CircleMarker and not the other way 2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
33e23a69e7 fix specs for polygon holes 2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
dc5151b81a fix GeoJSON roundtripping 2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
1e04f5feba add Circle implementation 2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
6f9d05fc40 implement Canvas events and SVG click-through 2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
48a3c34702 add Path Popup implementation 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
919b862c15 add MultiPolyline and MultiPolygon implementations 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d3426d557b fix Polygon getBounds and factory 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
33f4e72cc4 add working Polygon implementation 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
3c8dd353a8 manage renderer automatically 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
076255f33f initial working Path/Polyline implementation 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
00166b9c4f proper EPSG:4326 with 2x1 root, fixes #1207 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
ce79ea1e81 remove TileLayer.Canvas in favor of GridLayer 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
7a3e63ea53 handle simple CRS in GridLayer 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
82e43019ee proper GridLayer wrapping/bounding 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
8f97ca619e easy async loading for GridLayer 2013-12-02 19:15:19 +02:00
Vladimir Agafonkin
e8c504b5f9 working GridLayer implementation, #1180 2013-12-02 19:15:19 +02:00
Vladimir Agafonkin
e8f249e937 add max bounds outline to debug file for easier testing 2013-11-14 17:21:53 +02:00
Vladimir Agafonkin
6f83a385ee remove controls text shadow for simplicity 2013-11-13 14:59:26 +02:00
Vladimir Agafonkin
9edf8e0ea3 remove leaflet.ie.css inclusion in all debug pages 2013-11-08 16:44:14 +02:00
danzel
b987f0c44b Test pages for rtl support. 2013-10-30 10:22:19 +13:00
fastrde
21a282d38b Test for dragging and worldCopyJump added 2013-08-17 13:20:12 +02:00
John Firebaugh
7623e0a593 Fix scrolling popup content on Firefox 2013-07-15 11:32:40 -07:00
John Firebaugh
1954d3d64e Replace explicit z-index with DOM reordering
Setting an explicit z-index interacts badly with tile
layers which have an opacity less than 1, and therefore
create a stacking context.

Fixes #1790.
2013-06-28 09:55:17 -04:00
John Firebaugh
347ea2dae6 Add iframe debug html 2013-06-24 16:35:00 -04:00
Vladimir Agafonkin
66d6403ddd update layers icon, add retina version, cleaner popup styles, close #1739 2013-06-11 15:44:21 +03:00
Steve Kashishian
62f708a4dc Prevent contextmenu events on popups from falling thru to map 2013-06-04 11:27:42 -04:00
Robert Nordan
9c379ff0e8 Make test/example actually check ondragstart/end 2013-05-31 14:16:18 +02:00
Robert Nordan
90cb132269 Add a test that shows the DOM change failure
The icon should switch from blue to red and back, but does not in IE
because the DOMelement has disappeared, as in issue #561. Instead, the
mouseover event is fired on any mouse motion in the marker. In addition,
in FF & Chrome the mouseover and mouseout events are continously fired
on any movement, which gives the correct visual results but causes
a lot of superflous event handling.
2013-05-31 12:47:51 +02:00
Steve Kashishian
c684fb4652 Prevent infinite loop in adding of canvas CircleMarkers 2013-05-28 19:39:14 -04:00
danzel
b0c70f96ad Update TouchZoomEmu with more crazy tests. Useful when debugging touch zoom behaviour 2013-04-15 11:54:43 +12:00
Vladimir Agafonkin
3c13569147 update cloudmade API key on all debug pages 2013-03-22 16:27:07 +02: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
71167baa52 move test location 2013-02-28 10:47:39 +00:00
snkashis
95c73a3d77 handle drag handlers properly to avoid errors if moving while removed. 2013-02-28 10:38:27 +00:00
snkashis
dc5c3d9492 mistaken, unneeded test file. 2013-02-17 15:26:43 -05:00
snkashis
70968e06d4 dupe of 50K vector test, for canvas. 2013-02-17 14:40:25 -05:00
snkashis
baeeddb078 Hand cursor for canvas paths 2013-02-17 14:21:27 -05:00
Vladimir Agafonkin
703f8a3a43 Merge pull request #1384 from snkashis/svg_clicks
Allow clicks to pass thru non clickable paths
2013-02-15 07:38:27 -08:00
snkashis
ae07e792af Allow previously created popups to be used with bindPopup 2013-02-14 23:04:53 -05:00
snkashis
7472550087 Allow clicks to pass thru non clickable paths 2013-02-14 22:17:34 -05:00
jacobtoye
0e0831c2c9 Removing editable polyline/polygon example. 2013-02-11 13:18:18 +13:00
Vladimir Agafonkin
0d3aa59f9c cleanup leaflet-include.js 2013-01-31 12:59:41 +02:00
Eldar Djafarov
5985bffea0 Fix debug html pages after #1326 2013-01-31 08:29:39 -02:00
Eldar Djafarov
82b327d9f5 use global deps file instead of ustom list 2013-01-30 18:01:32 -02:00
snkashis
b3a7f2ffb7 Remove click handler with onRemove 2013-01-12 16:55:13 -05:00