Commit Graph

344 Commits

Author SHA1 Message Date
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
snkashis
b2e3f16b54 pass the clicked obj, not the map. 2012-12-27 15:37:57 -05:00
Vladimir Agafonkin
b4770906b3 tweak simple projection, add debug file 2012-12-11 20:18:54 +02:00
Vladimir Agafonkin
5ec66e984d revert debug border 2012-12-10 18:08:38 +02:00
Vladimir Agafonkin
18601ddfde update build 2012-12-10 18:07:02 +02:00
Mattias Bengtsson
c0135a219d Added a bunch of tests and fixed some bugs those exposed.
Also don't try to automatically adjust zoom. Leave that to the
layer control for now and wait for a setBaseLayer / switchLayer
or something instead.
2012-11-19 04:36:13 +01:00
Mattias Bengtsson
6f1532f402 Fix for https://github.com/CloudMade/Leaflet/pull/623
There seems to be a timing bug though.
2012-11-18 22:07:27 +01:00
Mattias Bengtsson
19c51bcfb8 Add a debug page exposing the bugs that happen when switching layers with different zoom levels. 2012-11-18 17:19:28 +01:00
Vladimir Agafonkin
44a785f80d convenience method for debugging 2012-11-14 13:37:25 +02:00
danzel
8bed7adb81 Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871 2012-10-18 14:23:09 +13:00
danzel
a17e481c76 Add another point to the polyline edit example so that it can reproduce #1022 2012-09-28 10:22:42 +12:00
Vladimir Agafonkin
622060d336 Merge pull request #968 from danzel/tilelayer-fixes
TileLayer fixes - Removing a TileLayer while dragging
2012-09-11 02:36:28 -07:00
danzel
db9ac2b5d7 Add a test case for removing a tile layer while dragging. Just start dragging the map and it breaks. 2012-09-03 09:05:59 +12:00
danzel
21be460719 Correct zIndex behaviour (Previously if you had 2 layers, neither of which had a zindex we'd set the zIndex to 0 on bringToBack and not remember it. On zoom it would revert). Add a test page for tile layer zIndex. Refs #959 2012-08-31 10:50:15 +12:00
Vladimir Agafonkin
2d2fc74110 get rid of the legacy L.Transition, replace with a better and simpler L.PosAnimation 2012-08-10 18:43:46 +03:00
Vladimir Agafonkin
6e5b37c36b fix geojson example for IE 2012-08-08 12:18:05 +03:00
Vladimir Agafonkin
2aa30376db fix IE9 regression (sorry!) 2012-08-07 18:43:52 +03:00
Vladimir Agafonkin
35dff37fdb improve geojson example a bit 2012-08-07 11:56:48 +03:00
mourner
b2c61b74f2 Improve GeoJSON example 2012-08-04 11:43:55 +03:00
mourner
fc1e6669ab improve geojson example colors, add legend 2012-08-03 23:50:14 +03:00
Vladimir Agafonkin
5281dbe99d improve geojson example more 2012-08-03 16:11:41 +03:00
Vladimir Agafonkin
4d91aae677 improve geojson example 2012-08-03 15:48:16 +03:00
Vladimir Agafonkin
1ba68c7bed improve geojson example 2012-08-03 15:08:49 +03:00
Vladimir Agafonkin
7a8df104b0 custom control for geojson example 2012-08-03 15:02:40 +03:00
Vladimir Agafonkin
62a84dedd8 new geojson example with US states 2012-08-03 14:49:45 +03:00
danzel
b96f23d2dd Add a page for testing opacity works. 2012-08-02 11:30:50 +12:00
Vladimir Agafonkin
b1db46a307 update build with regression fixes 2012-07-30 12:31:09 +03:00
mourner
6437e653ee fix array form polyline editing bug, update build 2012-07-29 02:22:18 +03:00
Vladimir Agafonkin
4174390562 keyboard navigation cleanup, closes #646 #663 2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
cdfaad994f more TileLayer and Control.Layers zIndex improvements, #309 2012-07-27 12:32:24 +03:00
Vladimir Agafonkin
ff7057f194 revert debug file 2012-07-26 17:35:09 +03:00
Vladimir Agafonkin
65aafc3a8f fix VML remove/add losing styles issue, closes #830 2012-07-26 17:33:14 +03:00
Vladimir Agafonkin
33d9bc0cff move L.Icon.Default to separate file, fix popup anchor 2012-07-18 13:55:49 +03:00
danzel
b663c7f442 Turns out the android browser has this issue too.
Change the hack to just use top/left if chrome is being used, otherwise use transform.
Hopefully chrome fixes their issue so we can use transform everywhere instead.
2012-07-17 11:58:04 +12:00
danzel
95afdee703 Take another go at safari tile layer fix hack. Add a test case for it so we don't forget about it. 2012-07-17 09:31:04 +12:00
Vladimir Agafonkin
7fde9938fa revert debug vector file temporary stuff 2012-07-16 14:53:58 +03:00
Vladimir Agafonkin
c32319e3ba Fix vector layer flicker on iOS, closes #18 (yay!) 2012-07-16 14:53:07 +03:00
Vladimir Agafonkin
ad4b8a2441 fix contextmenu event on path layers 2012-07-13 14:48:35 +03:00
Vladimir Agafonkin
d0c341b006 Added WMS setParams, TileLayer redraw, setUrl, closed #719 2012-07-10 11:43:18 +03:00
Vladimir Agafonkin
92c704f33b Improved GeoJSON API, closed #315, closed #715 2012-07-09 14:42:44 +03:00
Vladimir Agafonkin
0d6749a3ac initial API simplification 2012-07-03 17:06:44 +03:00
mourner
58ec820ab1 add image overlay debug page 2012-06-25 23:46:12 +03:00
danzel
3dad24975b Update hacky test so 1 does a full animation and 2 does just a single step of it for easier testing. 2012-06-20 16:24:43 +12:00
danzel
c94e6177db Add another hack test and move the buttons around the right 2012-06-20 13:48:57 +12:00
danzel
7ff79590f8 Add a test page that emulates a buggy touch zoom on desktop browsers to allow debugging of transforms :) 2012-06-20 13:38:32 +12:00
mourner
3c8495b6f3 Fixed layers control in IE7, closed #652 2012-05-16 16:39:03 +03:00
mourner
796105a9a4 fix debug files for IE6 2012-05-16 15:34:36 +03:00
mourner
c188756573 Merge remote-tracking branch 'origin/master' 2012-05-10 17:08:14 +03:00
mourner
6f40aeeb97 refactor icon and default marker image paths, wrap library in a function 2012-05-10 17:03:50 +03:00
Johannes
7c0b9f06b8 Clean up commented lines 2012-03-19 04:29:17 +00:00
Johannes
c95945582e Add basic geolocation debug page 2012-03-17 19:19:56 +00:00
mourner
9081e9a00c Merge branch 'master' of github.com:CloudMade/Leaflet 2012-03-07 00:08:17 +02:00
Jason Sanford
713a3a702f Adding getBounds method to FeatureGroup. 2012-03-03 22:54:50 -07:00
Jason Sanford
d86278571d LatLngBounds.extend(otherLatLngBounds) seems to be working. Addresses #517. 2012-03-03 08:39:18 -07:00
mourner
0474023675 initial global refactoring 2012-03-03 17:02:20 +02:00
mourner
fc0b477622 minor cleanup 2012-02-25 17:13:30 +02:00
mourner
90198ec519 added scale control 2012-02-25 17:04:27 +02:00
mourner
41bfa169a1 styling tweaks, remove controls box-shadow for mobile devices 2012-02-23 16:13:09 +02:00
jpk
5539886132 Fire 'edit' event while dragging editable polygon/line marker. 2012-02-22 12:40:10 -05:00
Jason Sanford
53627cab80 Merge branch 'master' of git://github.com/CloudMade/Leaflet 2012-02-21 07:39:54 -07:00
mourner
e6af79d005 Fixed poly editing with layer add/remove bugs, closed #508 2012-02-21 15:28:11 +02:00
mourner
60f96281e7 Fixed false clicks on touch devices bugs, closed #485 2012-02-21 14:58:01 +02:00
Jason Sanford
6778c4c26b Adding setBounds method to Rectangle layer. 2012-02-20 22:08:28 -07:00
Jason Sanford
00fced38d5 Moved rectangle debug page to vector directory 2012-02-20 21:58:32 -07:00
Jason Sanford
b18491c25d Adding L.Rectangle. Just ready to test in debug, still needs added to build scripts, documentation to be comlete. Addresses #494. 2012-02-16 23:36:46 -07:00
mourner
c3b33d8ca3 Polyline editing fixes, better debug page 2012-02-16 18:11:17 +02:00
mourner
ebbad27cbd More polyline/polygon editing (middle markers), #174 2012-02-16 17:28:42 +02:00
mourner
43305b9ffb Initial polyline/polygon editing implementation, #174 2012-02-16 14:15:47 +02:00
mourner
1a8a0ce632 Added DivIcon for lightweight div-based markers, and editable poly example 2012-02-16 13:00:45 +02:00
mourner
ae99354857 interpolate URL values from options (instead of urlParams 3rd argument) 2012-02-15 18:23:34 +02:00
mourner
808d01207c another batch of cleanup and refactoring 2012-02-15 17:50:22 +02:00
mourner
30f1c6af9e Merged #488 fix from stable, closed #488, allowed smart tabs 2012-02-15 11:03:39 +02:00
mourner
ba5b40cc19 Fixed non-removable attributions regression #488 2012-02-15 10:54:17 +02:00
Jason Sanford
22e2fba84b Adding "equals" method to LatLngBounds using the preferred LatLng.equals method. Much cleaner. 2012-02-14 09:29:29 -07:00
mourner
bc39d7036b fix black tile flickering bug, update changelog, build 2012-02-14 17:25:47 +02:00
mourner
e50c98863c Added FeatureGroup setStyle and invoke methods, closed #353 2011-12-15 13:25:25 +02:00
mourner
f02de1140e revert geojson debug files 2011-12-15 12:21:42 +02:00
mourner
dd42662a42 minor changelog update 2011-12-15 12:20:09 +02:00
mourner
3595c50b33 Added map zoomstart event, fixed movestart event, closed #377 2011-12-14 16:09:32 +02:00
mourner
8504147844 Restructure handler code 2011-12-14 13:12:54 +02:00
mourner
0f23454168 Fixed min zoom recalculation on resize when max bounds enabled 2011-12-07 15:58:06 +02:00
mourner
43d87dacde At last, added ability to set max geographical bounds within which users can pan/zoom! Closed #93 2011-12-02 19:04:19 +02:00
mourner
a38f9dd6ae vector code refactoring to fix #339 2011-10-21 17:50:59 +03:00
mourner
0892da2aca Fixed geojson example error #304 2011-09-23 19:00:57 +03:00
mourner
6d8f8e8b38 Fixed trailing comma, closed #305 2011-09-23 17:05:21 +03:00
Mourner
e4c08caf47 Fix overlay positions when panning to a copy of a world, close #273 2011-09-09 16:32:43 +03:00
Mourner
a26b2d40c8 simple vector debug page 2011-09-09 12:51:03 +03:00
Jason Sanford
9e6d976449 Adding "getBounds" method to L.Path and a debug page to show it in use. 2011-08-14 22:31:13 -06:00
Mourner
e89f431d70 debug page for polygon setLatLngs 2011-08-11 14:30:46 +03:00
Mourner
ea946bf541 cleanup example 2011-08-11 14:03:07 +03:00
Mourner
13807db12e more mouse scrolling fixes, update build 2011-08-11 14:01:15 +03:00
Mourner
3aa4302517 fix geojson example #233 2011-08-10 15:30:29 +03:00
Mourner
9aee9dc68a TileLayer continuousWorld option, related to #236 2011-08-10 15:06:16 +03:00
Mourner
a024a64a15 update canvas debug page 2011-08-02 11:07:21 +03:00
Mourner
6b23b4325b add layer through layer group in debug page 2011-07-29 16:54:54 +03:00
Mourner
a4c46c9a60 nicer buttons on debug canvas page 2011-07-28 13:58:40 +03:00
Mourner
aa5849a2dc fixed mouse zoom when map is inside scrollable div, closes #206 2011-07-28 12:49:32 +03:00
florianf
93da176a38 Added second removal of canvas layer for testing purposes. 2011-07-24 15:05:38 +02:00
florianf
6c37eda53a Implemented removing of canvas layers. Fixes #172 2011-07-24 14:56:42 +02:00
Mourner
95e0e6345c passing layer config in control constructor 2011-07-13 14:49:36 +03:00
Mourner
50e36cc2cb minor tweaks 2011-07-13 14:38:46 +03:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
4273df1f99 fix circle drawing bug 2011-06-22 12:26:03 +03:00
Mourner
5772c995f3 prettier vector example 2011-06-21 18:26:39 +03:00
Mourner
7e22f3426c vector namespaces/consants refactoring 2011-06-21 17:58:26 +03:00
Mourner
f8f44401d7 move SVG-specific code into a separate file 2011-06-21 16:19:55 +03:00
Mourner
436915617a canvas polygon clicks through ray casting (yay!), refactoring 2011-06-21 14:37:34 +03:00
Mourner
b257c022e3 move path canvas code to a separate folder 2011-06-21 14:05:51 +03:00
Mourner
a46c9040a7 canvas polyline click events 2011-06-21 14:04:35 +03:00
Mourner
f80674a9e3 refactoring, cleanup, take strokeWidth into account in circle click 2011-06-21 13:02:45 +03:00
Mourner
0009ceb9c6 merge Florian's pull, fixes, cleanup, circle click, added todos 2011-06-21 11:43:31 +03:00
florian
36c00c5031 Added path again to vector.html 2011-06-20 20:32:59 +02:00
florian
c265dd9c42 Added hole polygon test 2011-06-20 20:28:44 +02:00
florian
f3205aab50 Changed implementation as discussed in first push request. 2011-06-20 20:27:09 +02:00
florian
86414aeef0 Canvas overlay implementation. Added more shapes to vector.html test. 2011-06-20 10:15:53 +02:00
Carl Meyer
2dc06b5239 Fixed MultiPolygon bug in GeoJSON support. 2011-06-11 18:11:08 -05:00
Mourner
7772651114 moved CircleMarker radius to options, 10 by default 2011-06-10 17:15:45 +03:00
Mourner
35b35453f9 update basic example using FeatureGroup 2011-06-10 16:25:07 +03:00
Mourner
cd4ea5312d more detailed example 2011-06-10 15:58:13 +03:00
Mourner
3b58a8bbe7 GeoJSON (finally!), setStyle for paths 2011-06-10 14:26:16 +03:00
Mourner
00a107f162 add MultiPolygon and MultiPolyline layers 2011-06-10 12:45:34 +03:00
Mourner
43b3bdc143 added LayerGroup and FeatureGroup layers 2011-06-10 12:38:24 +03:00
antonj
a1db696f1c Fix null pointer error leaflet-include.js 2011-06-03 17:45:10 +08:00
Mourner
3488f88c38 improve debug handling 2011-06-02 17:07:56 +03:00
antonj
e7e79ccb07 Dynamically determine path of scripts to include in include.js 2011-06-01 15:07:40 +02:00
Mourner
e7410e6e03 improve projections support, add EPSG:3395 (real mercator) 2011-05-31 12:36:05 +03:00
mourner
876bb4f69d finished projections improvement 2011-05-31 00:37:48 +03:00
Mourner
582f12d11c blue marble wms example 2011-05-30 19:20:23 +03:00
Mourner
0a43384d64 TileLayer.Canvas 2011-05-27 20:20:54 +03:00
Mourner
194edd32a6 canvas tile layer 2011-05-27 19:13:28 +03:00
Mourner
089052e40d TileLayer opacity option 2011-05-23 14:09:15 +03:00
Mourner
27c6aba932 zoom-dependent Circle; fixed one is now called CircleMarker, fixes #44 2011-05-19 16:36:25 +03:00
Mourner
ebd0125d3c revert accidental debug commit 2011-05-19 15:53:15 +03:00
Mourner
0499ab73df Fix closed polylines not appearing on the map 2011-05-19 15:51:44 +03:00
Mourner
72a1070e87 Improved geolocation error handling, explicit timeout, fixes #61 2011-05-19 15:27:59 +03:00
Mourner
5a45784d6a Implemented L.TileLayer.WMS (EPSG:3857 only), fixes #50 2011-05-16 19:40:49 +03:00
mourner
d1b28c5d85 geolocation update 2011-04-27 17:38:50 +03:00
Mourner
d8bcfef1a3 initial attribution control implementation 2011-04-14 18:48:14 +03:00
Mourner
8cb51d1c6c Double tap on mobile webkit, update build 2011-04-12 16:53:07 +03:00
mourner
7162bd4930 refactor popup code, merge marker dragging from msaspence 2011-04-11 23:43:23 +03:00
Mourner
a204511fbe control positioning, basic zoom control, update build 2011-04-11 15:49:15 +03:00
Mourner
dde1c03298 tidy up debug files 2011-04-08 14:53:34 +03:00
Mourner
1eac8cd9aa Path mouse events, Path#bindPopup, update build 2011-04-08 14:47:27 +03:00
Mourner
9d93998ba2 zoom animation fix and refactoring, works like a charm on iOS now! 2011-03-31 18:34:37 +03:00
Mourner
6c8ef08382 shift drag zoom 2011-03-21 19:09:43 +02:00
Mourner
a5829b5af1 update build, build config, readme 2011-03-01 17:41:33 +02:00
mourner
cacf6ca80c Polygon implementation 2011-03-01 10:26:42 +02:00
Mourner
773a13e68d VML path fallback, enabling polylines on IE6-8, performance tuning 2011-02-28 16:14:32 +02:00
mourner
38f25834a4 larger route example, small optimizations 2011-02-27 23:56:06 +02:00
mourner
5f63b8dd82 Moved IE-specific CSS to a separate file; readme updated 2011-02-27 02:08:09 +02:00
mourner
2d04b4a097 tidying up vector code 2011-02-26 16:34:51 +02:00
Mourner
d011038bf7 initial vector support, huge commit! 2011-02-25 19:01:29 +02:00
Mourner
8387240d55 better debug page 2011-01-21 11:55:15 +02:00
Mourner
348860286c update folder structure 2011-01-21 11:55:08 +02:00
mourner
9e3efaf5f6 animation refactoring 2011-01-16 00:01:16 +02:00
Mourner
be09f97cf2 At last, zooming animation! HUGE commit! 2011-01-14 18:43:40 +02:00
Mourner
5b6a98acee L.DomUtil.create shortcut, refactoring, update build 2011-01-13 12:17:50 +02:00
Mourner
d33529b126 popup refactoring, close button, update build 2011-01-12 18:05:12 +02:00
Mourner
0356c92c1a some initial popup/tile animation 2010-12-15 20:58:07 +02:00
Mourner
e6eaec9f41 popup fixes 2010-12-15 20:21:38 +02:00
Mourner
739c8e289e popup implementation 2010-12-15 19:55:57 +02:00
Mourner
28a063dc09 fix include order 2010-12-15 18:41:35 +02:00
Mourner
427e96540a moved Icon to dom package 2010-12-15 17:21:14 +02:00
Mourner
03e49eeaab debug pages with common include 2010-12-15 17:14:59 +02:00
mourner
284595f335 panning animation 2010-09-28 21:09:53 +03:00
mourner
0991c7fc78 basic scroll wheel zoom 2010-09-27 13:09:41 +03:00
mourner
56c6a8c20f double click zoom (initial) 2010-09-21 15:28:55 +03:00
mourner
3ca252b07c remove geolocation from map example 2010-09-21 11:56:07 +03:00
mourner
bc319be35b moved Map, fixed some bugs 2010-09-21 11:43:50 +03:00
mourner
2bff672a01 Touch Zoom 2010-09-17 19:05:49 +03:00
mourner
648824ab8e update debug page 2010-09-16 19:57:49 +03:00
mourner
63287f8a1a handlers, move map dragging to MapDrag 2010-09-16 18:33:33 +03:00
mourner
a472e55e83 examples updates 2010-09-16 16:09:04 +03:00
mourner
74ff36d499 at least, debug page with a working map! no interaction yet 2010-09-15 17:04:30 +03:00