Commit Graph

719 Commits

Author SHA1 Message Date
Matt Spence
7ff63ae2a3 Added check on popup content variable for undefined to prevent content being to string 'undefined' when setContent hasn't been called yet 2011-04-14 22:38:38 +01:00
Mourner
d8bcfef1a3 initial attribution control implementation 2011-04-14 18:48:14 +03:00
Mourner
8089ff04a0 fix clearing scaled tiles 2011-04-14 18:07:16 +03:00
Mourner
4003a9d9b0 zoomAnimation option 2011-04-14 18:04:33 +03:00
Mourner
9fc8f1ff5d clear scaled tiles after new ones are loaded, fixes #24 2011-04-14 17:49:34 +03:00
Mourner
b1d9ca7747 some clean up 2011-04-14 16:32:36 +03:00
Mourner
30768b40b8 better webkit transition bug workaround 2011-04-14 16:30:55 +03:00
Mourner
131f909e0a bigger controls on mobile, update build 2011-04-14 16:12:05 +03:00
Mourner
895d171648 android fixes, zoom animation refactoring, fadeAnimation option 2011-04-14 15:42:48 +03:00
Mourner
8f4a0deea5 geolocation noFitBounds 2011-04-13 14:52:57 +03:00
Mourner
8c970cc190 should reduce #32 impact a lot 2011-04-13 14:52:09 +03:00
Mourner
47ada8f7f2 fix TileLayer error on mobile webkit 2011-04-13 14:51:31 +03:00
Mourner
fbb31dbe3c zoomControl option in map, fixes #31, update build 2011-04-12 18:26:35 +03:00
Mourner
5b8b0bdd59 tilelayer error fix, fixes #30 2011-04-12 18:18:56 +03:00
Mourner
5a0894860e e.position -> e.latlng 2011-04-12 18:14:07 +03:00
Mourner
8cb51d1c6c Double tap on mobile webkit, update build 2011-04-12 16:53:07 +03:00
Mourner
e7144bf096 double click zoom fix 2011-04-12 16:51:51 +03:00
Mourner
c988eeafa7 popup close on click fix 2011-04-12 16:51:42 +03:00
Mourner
5394f0163c Merge remote branch 'origin/master' 2011-04-12 12:02:16 +03:00
Mourner
b475bb8da0 workaround for a webkit transition bug, fixes #10 2011-04-12 12:01:46 +03:00
mourner
ef8b0c9a9b oops, remove console.log 2011-04-11 23:51:56 +03:00
mourner
7162bd4930 refactor popup code, merge marker dragging from msaspence 2011-04-11 23:43:23 +03:00
mourner
b22349c1c0 Merge branch 'master' of https://github.com/msaspence/Leaflet into msaspence-master 2011-04-11 22:46:32 +03:00
Matt Spence
ee93d73b69 Refactored marker dragging into MarkerDrag and support for shadows 2011-04-11 19:15:35 +01:00
Matt Spence
805f3b39b9 Added draggability to markers 2011-04-11 16:26:41 +01:00
Mourner
7904904565 bump version 2011-04-11 16:33:34 +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
90a66c96e1 rework zoom animation, update build 2011-04-07 19:00:55 +03:00
Mourner
9a248a737d remove ff optimization (not needed anymore it seems) 2011-04-07 18:59:59 +03:00
Mourner
90bd2c12b1 remove excessive rounding 2011-04-07 18:59:29 +03:00
Mourner
bd2263928f layerload event, other tweaks 2011-04-07 18:59:10 +03:00
Mourner
916ac1a1f7 clean up TileLayer options 2011-04-04 14:59:16 +03:00
Mourner
647da488db fix closure compiler removing useful code 2011-04-01 14:26:28 +03:00
Mourner
602950b8cd rounding behavior change when touch zooming 2011-04-01 12:47:52 +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
29b89d18d1 fitWorld 2011-03-31 12:05:14 +03:00
mourner
162aad202e remove marker fix - thanks to Hannes Antero Junnila for pointing this
out!
2011-03-30 00:13:19 +03:00
Mourner
c6e878a997 tiny mercator refactoring 2011-03-28 15:56:20 +03:00
Mourner
4958beb0f7 copyright update 2011-03-28 15:43:45 +03:00
Mourner
7c27f2a3e8 bump version 2011-03-28 15:40:09 +03:00
Mourner
a69cb4df15 small handlers refactoring 2011-03-28 15:39:02 +03:00
Mourner
90f49fd235 fix scrolled document bug 2011-03-24 16:53:27 +02:00
Mourner
1831051543 small addLayer refactoring 2011-03-23 18:31:19 +02:00
Mourner
7e9d530f98 addClass, hasClass utility methods 2011-03-23 18:28:03 +02:00
Mourner
306e42a25c refactor map init code 2011-03-22 17:58:35 +02:00
Mourner
701c0d3fbb ShiftDragZoom.enable fix 2011-03-22 12:36:03 +02:00
Mourner
ed34988ca6 shiftDragZoom.disable fixed 2011-03-22 11:39:52 +02:00
Mourner
d65e289bdd clean up 2011-03-21 19:46:25 +02:00
Mourner
6c8ef08382 shift drag zoom 2011-03-21 19:09:43 +02:00
Mourner
23a0f45b3c fix double click zoom animation 2011-03-21 16:02:03 +02:00
Mourner
33236d5e89 mobile webkit svg flicker fix 2011-03-02 19:48:34 +02:00
Mourner
a5829b5af1 update build, build config, readme 2011-03-01 17:41:33 +02:00
Mourner
780e458f05 vector refactoring 2011-03-01 17:32:30 +02:00
Mourner
e601df3042 VML stroke fix 2011-03-01 16:41:19 +02:00
Mourner
f2eefe6506 options fix, L.Util.setOptions 2011-03-01 16:27:09 +02:00
Mourner
ed41136064 circle implementation, vector refactoring 2011-03-01 16:24:02 +02:00
Mourner
a3fa83d7af fix simplify typo 2011-03-01 15:32:47 +02:00
Mourner
7c01c98788 polygon holes support 2011-03-01 14:48:12 +02:00
Mourner
5de66e7ee1 LineUtil refactoring, comments 2011-03-01 12:40:19 +02:00
Mourner
3e85b7b0f8 fix option inheritance 2011-03-01 12:06:00 +02:00
mourner
cacf6ca80c Polygon implementation 2011-03-01 10:26:42 +02:00
Mourner
e4e22f9132 Sutherland-Hodgeman Polygon clipping algorithm 2011-02-28 19:39:09 +02:00
Mourner
0add3613a4 IE6 png24 markers and popup styling fixes 2011-02-28 16:39:51 +02:00
Mourner
773a13e68d VML path fallback, enabling polylines on IE6-8, performance tuning 2011-02-28 16:14:32 +02:00
mourner
b1df549118 some argument type comments 2011-02-28 00:12:38 +02:00
mourner
38f25834a4 larger route example, small optimizations 2011-02-27 23:56:06 +02:00
mourner
047b5c6d1d different performance optimizations 2011-02-27 22:31:46 +02:00
mourner
7b205c4d66 Replaced Liang-Barsky clipping algorithm with Cohen-Sutherland, which is faster in case most clippings are trivial accepts or rejects 2011-02-27 21:25:37 +02:00
mourner
66af760a22 tidying up 2011-02-26 17:41:25 +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
348860286c update folder structure 2011-01-21 11:55:08 +02:00
Mourner
410278dd58 close popup on open 2011-01-18 17:25:02 +02:00
Mourner
62e947f4cc fix IE7 error (it sometimes doesn't like the delete statement) 2011-01-18 12:03:38 +02:00
Mourner
2088223229 fix markers in IE7 (you have to set the size explicitly for some reason) 2011-01-18 12:02:56 +02:00
mourner
2e28fc5f4f prevent zoom while animation is running 2011-01-16 01:42:26 +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
3ebfa1e2a2 popup styling fixes 2011-01-12 17:15:18 +02:00
Mourner
882f1ea598 getBounds 2011-01-12 16:52:21 +02:00
Mourner
48558ffa6d changed bindPopup/openPopup behavior 2011-01-12 16:52:12 +02:00
Mourner
8bbe9940c0 new pretty marker icons 2011-01-12 16:51:54 +02:00
Mourner
9762be03de a couple of todos 2011-01-12 11:44:48 +02:00
Mourner
663620efed Marker#openPopup 2011-01-11 17:51:02 +02:00
Mourner
0cd810bbb1 overriding default options 2011-01-11 17:01:49 +02:00
Mourner
8e6f2780cd stop marker doubleclick propagation 2011-01-11 15:45:28 +02:00
Mourner
0f97a75048 autoPan implementation 2011-01-11 15:45:06 +02:00
Mourner
ad5b885124 add Map#layerPointToContainerPoint 2011-01-11 15:44:09 +02:00
Mourner
17a896ceb7 Move disabling click propagation to an util method 2011-01-10 16:22:35 +02:00
Mourner
2e2e502d2d todo: refactor translate stuff 2011-01-10 16:22:07 +02:00
Mourner
89defc4502 marker zIndex fix 2011-01-10 15:07:13 +02:00
Mourner
97aa394489 fiddling with zoom animation 2011-01-10 13:07:30 +02:00
Mourner
d6dc8acd04 move closePopupOnClick to Map 2011-01-10 13:06:22 +02:00
Mourner
ba8c690751 open popup on click, not mousedown 2011-01-10 13:05:37 +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
427e96540a moved Icon to dom package 2010-12-15 17:21:14 +02:00
Mourner
2348947c73 Marker implementation 2010-12-15 17:14:15 +02:00
Mourner
2b8c1d778e zoomOut, addLayer fixes 2010-12-14 18:10:24 +02:00
Mourner
7e0b87fbb5 provide accuracy in geolocation 2010-11-11 12:37:12 +02:00
mourner
f81641d083 remove unnecessary comment 2010-09-29 19:14:33 +03:00
mourner
fb06678828 move all animation-related logic from Map.js to Map.Animation.js 2010-09-29 12:12:13 +03:00
mourner
ad7ab3a753 better progressive enhancement 2010-09-29 12:02:03 +03:00
mourner
ec8a941091 fix animated pan 2010-09-29 11:51:59 +03:00
mourner
98e642e241 scroll wheel zoom fixes 2010-09-29 11:51:45 +03:00
mourner
533d095fef progressive enhancement for animation 2010-09-29 11:22:46 +03:00
mourner
ab00da17a0 trackResize 2010-09-29 10:38:46 +03:00
mourner
284595f335 panning animation 2010-09-28 21:09:53 +03:00
mourner
5d809aa267 Transition implementation (both native and timer-based) 2010-09-28 20:53:45 +03:00
mourner
4abe0d96a4 added trackResize, improved invalidateSize 2010-09-28 20:51:38 +03:00
Mourner
a7d362e1e4 LatLng todo 2010-09-28 15:46:12 +03:00
mourner
d1f1744ca3 jslinted 2010-09-27 18:34:56 +03:00
mourner
de55693ce7 fix tile unloading 2010-09-27 18:27:34 +03:00
mourner
3062c431ed loading tiles from center out 2010-09-27 18:26:26 +03:00
mourner
d1b8ba0a6e tile onerror 2010-09-27 18:04:19 +03:00
mourner
d712717053 layers add/remove fix 2010-09-27 18:01:37 +03:00
mourner
c2399defdd layer remove 2010-09-27 17:45:26 +03:00
mourner
9998e6c6e3 todo onerror 2010-09-27 17:26:54 +03:00
mourner
488046bde9 ImageOverlay 2010-09-27 17:02:00 +03:00
mourner
49f9597d5a loaded tile class name hook 2010-09-27 17:01:40 +03:00
mourner
dc906377ec scroll wheel zoom improvements 2010-09-27 15:00:16 +03:00
mourner
0991c7fc78 basic scroll wheel zoom 2010-09-27 13:09:41 +03:00
mourner
679953cfbf overlay refactoring 2010-09-25 17:29:38 +03:00
mourner
2fce845e22 some meaningful renaming 2010-09-24 17:40:24 +03:00
mourner
efbb541fe9 make layer.draw & layer.load optional 2010-09-24 15:49:27 +03:00
mourner
e9c1c0f685 added latLngToLayerPoint; added overlayPane; converted LatLngBounds sw/ne properties to methods. 2010-09-24 15:47:22 +03:00
mourner
7e7379ae9c namespace fixes 2010-09-23 17:25:35 +03:00
mourner
3ed4a39339 add var to L namespace 2010-09-23 17:18:51 +03:00
mourner
5bb04e7548 copyright 2010-09-23 15:56:29 +03:00
mourner
cd8e14e96d remove bla 2010-09-23 12:25:19 +03:00
mourner
3c03403392 adding file 2010-09-23 12:23:56 +03:00
mourner
ac7e3d7b2f lesser interval 2010-09-21 18:37:59 +03:00
mourner
c19725a818 TileLayer optimization 2010-09-21 18:37:00 +03:00
mourner
db14ecaa7e MapDrag optimization 2010-09-21 18:36:52 +03:00
mourner
1844c1156d gecko detection 2010-09-21 18:36:33 +03:00
mourner
9dce546858 deferExecByInterval 2010-09-21 18:36:21 +03:00
mourner
1ec2971172 small refactoring 2010-09-21 18:36:00 +03:00
mourner
480120e3f3 draggable fix 2010-09-21 16:10:31 +03:00
mourner
40f2b081e8 typo 2010-09-21 15:59:19 +03:00
mourner
f9f8b81195 toString 2010-09-21 15:57:37 +03:00
mourner
4984035a9e map events, double click fix 2010-09-21 15:48:31 +03:00
mourner
56c6a8c20f double click zoom (initial) 2010-09-21 15:28:55 +03:00
mourner
e734e20d55 map positioning refactoring 2010-09-21 15:28:13 +03:00
mourner
9437cfda37 fix draggable 2010-09-21 15:27:47 +03:00
mourner
0178d1c2d1 comments 2010-09-21 12:25:30 +03:00
mourner
a523cc7c63 moved enabled method, comments 2010-09-21 12:25:23 +03:00
mourner
0d9dd1c53b rename 2010-09-21 12:17:05 +03:00
mourner
4a7b244a6a options fix 2010-09-21 12:15:56 +03:00
mourner
c134357f14 unnecessary check 2010-09-21 12:15:43 +03:00
mourner
7437c43061 Chainable Event methods 2010-09-21 11:55:56 +03:00
mourner
70a7b7c478 OR fixes 2010-09-21 11:50:02 +03:00
mourner
2b8d9eed1d LatLngBounds, moved MapSpec 2010-09-21 11:46:31 +03:00
mourner
8a23efb563 Map geolocation 2010-09-21 11:44:04 +03:00
mourner
bc319be35b moved Map, fixed some bugs 2010-09-21 11:43:50 +03:00
mourner
5fc294650e translate/touch zoom refactoring 2010-09-20 15:08:25 +03:00
mourner
4716b84e4f Touch Zoom 2010-09-17 19:05:33 +03:00
mourner
3027c65656 Touch Zoom 2010-09-17 19:05:25 +03:00
mourner
8d46a8a7db MapDrag fix 2010-09-17 19:05:18 +03:00
mourner
a2d2fed2db new Point methods 2010-09-17 19:04:41 +03:00
mourner
64a40b3880 Bump version to 0.0.2 2010-09-17 11:01:49 +03:00
mourner
a61f89860b ROOT_URL for future use 2010-09-16 19:38:58 +03:00
mourner
d6044296e8 typo 2010-09-16 18:36:36 +03:00
mourner
69a9637ec2 top comment 2010-09-16 18:36:25 +03:00
mourner
5a6f41dd54 Handler 2010-09-16 18:34:51 +03:00
mourner
63287f8a1a handlers, move map dragging to MapDrag 2010-09-16 18:33:33 +03:00
mourner
8313ea5497 move text selection to draggable private methods 2010-09-16 18:32:55 +03:00
mourner
f46abd1569 added map dragging! 2010-09-16 16:08:34 +03:00
mourner
779aec8407 TileLayer optimizations for mobile 2010-09-16 16:07:59 +03:00
mourner
c407e5c771 added Draggable 2010-09-16 16:05:55 +03:00
mourner
c267a232ef setPosition improvements for mobile 2010-09-16 16:05:42 +03:00
mourner
535ec2ceec more mobile detection 2010-09-16 16:05:08 +03:00
mourner
e4b4704eb0 added limitExecByInterval 2010-09-16 16:04:33 +03:00
mourner
361d79c51f clean up formatting 2010-09-15 17:04:02 +03:00
mourner
87c3740593 tileload event, copyright placeholder 2010-09-15 17:03:53 +03:00
mourner
53bd768a47 TileLayer 2010-09-15 16:45:42 +03:00
mourner
b6ead1dbf2 Transformation fix 2010-09-15 16:45:16 +03:00
mourner
06d043853d multiplyBy 2010-09-15 16:45:02 +03:00
mourner
e5589f3c9d falseFn 2010-09-15 16:44:07 +03:00
mourner
71f5d5c4ee working Map, at least! 2010-09-15 16:43:58 +03:00
mourner
ad46474275 added getStyle, fixed setPosition 2010-09-14 14:57:45 +03:00
mourner
09d2ee9100 more Map code 2010-09-13 18:57:08 +03:00
mourner
00717ab05b positioning methods (with webkit acceleration support) 2010-09-13 18:18:12 +03:00
mourner
a64b832e24 initial browser detection 2010-09-13 18:17:17 +03:00
mourner
a9884f2388 events attr more secure 2010-09-13 16:16:12 +03:00
mourner
c958de9721 Bounds with specs 2010-09-13 14:58:28 +03:00
mourner
59a1736b3e Point fixes 2010-09-13 14:58:03 +03:00
mourner
fafe763826 initial Map commit (incomplete) 2010-09-10 18:12:07 +03:00
mourner
63febdd6c1 unbounded unproject 2010-09-10 18:11:56 +03:00
mourner
7cef8d3851 Events fire shortcut 2010-09-10 16:54:20 +03:00
mourner
a8d55d0d47 Point add/subtract/divideBy 2010-09-10 16:54:03 +03:00
mourner
a9677fca55 removed Options 2010-09-07 18:20:43 +03:00
mourner
6a158218c1 DomUtil.get, spec 2010-09-07 17:02:45 +03:00
mourner
88ef7d1667 DomEvent fixes, specs 2010-09-07 15:04:00 +03:00
mourner
42bcb9b3b3 DomUtil, DomEvent, namespace config improvements, some specs 2010-09-07 14:27:44 +03:00
mourner
f65df4972f add prefix for id 2010-09-07 14:01:11 +03:00
mourner
16097461f5 Projection fixes, specs 2010-09-07 11:59:58 +03:00
mourner
f734679158 Projection without specs 2010-09-06 19:17:27 +03:00
mourner
0b5cc9c455 LatLng + specs 2010-09-06 19:06:38 +03:00
mourner
afded5779f small Class fix 2010-09-06 18:55:54 +03:00
mourner
5b21def444 options merging 2010-09-06 18:26:20 +03:00
mourner
14bd27b088 Options, specs 2010-09-06 16:58:06 +03:00
mourner
36f7ada676 Events fixes 2010-09-06 16:17:27 +03:00
mourner
0eb9cd8cc6 L.Util.stamp & specs 2010-09-06 16:17:06 +03:00
mourner
66f44ac7ee types in the comments 2010-09-03 19:56:57 +03:00
mourner
ada607fa2f namespace handling improvements, spec for noConflict 2010-09-03 19:49:32 +03:00
mourner
db5809b473 Events fixes, Events spec 2010-09-03 19:16:29 +03:00
mourner
70263511e2 Events 2010-09-03 18:26:35 +03:00
mourner
341f6e726f added Events, folder renaming 2010-09-03 17:38:41 +03:00
mourner
e1efc0c93f Moved Transformation to geometry 2010-09-03 15:38:14 +03:00
mourner
7a1dcd9915 Transformation & Point classes, more specs 2010-09-02 18:23:53 +03:00
mourner
763b01ef08 slight class refactoring 2010-09-02 17:49:15 +03:00
mourner
34305dabe0 Class fixes, more Class specs 2010-09-02 17:26:54 +03:00
mourner
95de45ed8c Util functions, specs for Class & Util 2010-09-02 16:14:25 +03:00
mourner
3f2a02c059 Added some environment code and Class implementation 2010-09-02 13:40:34 +03:00