Commit Graph

651 Commits

Author SHA1 Message Date
Dino Ravnić
061f3d6832 fixed not clearing old layer content in case of non animated pan or zoom 2011-08-10 12:22:35 +01:00
Dino Ravnić
3e61594205 when tile option noWrap is set, checking if tile x coordinate is valid 2011-08-09 23:47:57 +01:00
Dino Ravnić
9532db6d08 fixed not decreasing total tile count when a tile is being discarded 2011-08-09 21:55:43 +01:00
Mourner
9334d78ce4 todo comment 2011-08-04 12:29:33 +03:00
Mourner
c02053825d circle clipping 2011-08-04 12:28:47 +03:00
Mourner
8a004bc54b revert #221, as it causes flickering on zoom animation 2011-08-02 11:09:12 +03:00
Mourner
6c8ee87b09 Merge branch 'master' of git@github.com:CloudMade/Leaflet.git 2011-08-02 11:07:45 +03:00
Mourner
366fce6eb8 update version and website link 2011-08-01 17:19:34 +03:00
Neno
8ac92f2303 Method TileLayer._reset now first cleans old container HTML and then initializes a new one.
This should remove a bug with using Map.setView() when old tiles would remain visible after the view has been reset.
2011-07-31 19:20:53 +01:00
Neno
6d509e432b Fix L.DomUtil.removeClasss method. Regex wasn't matching '-' chars in class names. 2011-07-31 14:04:04 +01:00
Vladimir Agafonkin
2c149abd18 Merge pull request #214 from marphi/minWidthInPopup
add minWidth to Popup, fix calculation _containerWidth
2011-07-29 02:39:57 -07:00
Marcin Sikon
a29e22c3d2 Marker.js: this._reset() after set new icon, because the icon element has no set position 2011-07-29 11:19:15 +02:00
Marcin Sikon
4e3667d7fa fix my previous mistake with offsetWidth 2011-07-28 23:11:19 +02:00
Mourner
aa5849a2dc fixed mouse zoom when map is inside scrollable div, closes #206 2011-07-28 12:49:32 +03:00
chrillo
d4c73d2b57 Scrolling Offset Bug Fix 2011-07-28 10:36:21 +02:00
Marcin Sikon
a9dc7e0dd3 add minWidth to Popup, fix calculation _containerWidth 2011-07-27 09:00:10 +02:00
florianf
6c37eda53a Implemented removing of canvas layers. Fixes #172 2011-07-24 14:56:42 +02:00
Mourner
7d41f80b9b Fix layer ordering in Control.Layers 2011-07-21 12:05:59 +03:00
Vladimir Agafonkin
876de46b2f Merge pull request #194 from anru/multipoly
Add method setLatLngs to L.MultiPolygon and L.MultiPolyline
2011-07-21 00:40:49 -07:00
Andrey Rublev
78c51b06b0 Add method setLatLngs to L.MultiPolygon and L.MultiPolyline 2011-07-21 11:29:28 +07:00
Vladimir Agafonkin
dc1ddd86a5 Merge pull request #200 from anru/master
Fix method L.LineUtil._sqClosestPointOnSegment
2011-07-20 07:45:10 -07:00
Andrey Rublev
94d97d84c0 Fix method L.LineUtil._sqClosestPointOnSegment 2011-07-20 21:42:48 +07:00
Mourner
f87a6583dd Close marker popup on marker removal (merge Rick's pull) 2011-07-20 16:53:48 +03:00
Mourner
189e532dd7 fix potential Safari crashes and tile load errors 2011-07-20 16:28:11 +03:00
Mourner
62db9893c1 fix setPrefix not updating attribution prefix, closes #195 2011-07-20 16:09:18 +03:00
Mourner
67172990bb Fix map click error when dragging is initially disabled, closes #196 2011-07-20 16:05:53 +03:00
Mourner
1ff1edb7b0 Limited zoom change on a single mouse wheel movement, closes #149 2011-07-20 15:54:22 +03:00
Vladimir Agafonkin
c726d6f3cb Merge pull request #189 from anru/domutil
Add L.DomUtil.removeClass method
2011-07-20 04:27:12 -07:00
Vladimir Agafonkin
fdaedb434a Merge pull request #186 from anru/master
Add method Polyline.closestLayerPoint
2011-07-20 04:16:48 -07:00
Andrey Rublev
479eaa6528 Now draggable's event 'drag' syncronized with actual position of draggable element 2011-07-20 14:18:59 +07:00
Andrey Rublev
263a5b9b5f Add method Polyline.closestLayerPoint
Also fix method L.LineUtil.simplify for empty geometry
2011-07-20 13:23:04 +07:00
Andrey Rublev
b27922ea2c Add L.DomUtil.removeClass method 2011-07-15 19:03:35 +07:00
Rick Harris
d1997386fd Remove marker popups when marker is removed 2011-07-13 13:46:57 -04:00
Mourner
cf83c2e146 Merge branch 'master' of git@github.com:CloudMade/Leaflet.git 2011-07-13 14:51:10 +03: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
Andrey Rublev
9479911e69 Fix Bounds.contains method in case if obj argument is instance of L.Point 2011-07-13 18:13:35 +07:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
0936b5e18c map#hasLayer, ability to add tile layers below all others 2011-07-12 20:18:22 +03:00
Andrey Rublev
e1e1504a1b Improved inheritance mechanism, fixed access to the superclass 2011-07-12 19:00:31 +07:00
anru
40cbee84b4 Fix dragging markers without shadows 2011-07-11 04:04:20 -07:00
Jason Sanford
209471c0fa Path.setStyle didn't return "this". I assume it is supposed to. 2011-07-05 21:32:15 -06:00
Mourner
5f07e8bfc2 fix crash on Android 3, closes #137, #160 2011-07-04 15:01:38 +03:00
Mourner
9c19796f25 rely more on feature detection instead of ua string, closes #142 2011-06-23 14:41:47 +03:00
Mourner
fd62d391f4 fix indentation, use documentFragment when adding tiles, closes #152 2011-06-23 14:28:31 +03:00
Mourner
c739bbff22 fix occasional overlay blurriness in WebKit 2011-06-23 13:58:43 +03:00
mourner
baa90b5d45 fix broken canvas layer positioning in FF, closes #156 2011-06-23 09:25:27 +03:00
Mourner
fd94ffd665 remove accidental console.log 2011-06-22 19:05:44 +03:00
Mourner
77e1459347 don't draw circles that are off the clip region, closes #141 2011-06-22 19:03:11 +03:00
Mourner
d999ab1d01 path canvas fixes (make sure there's no accidental styling) 2011-06-22 18:34:26 +03:00
Mourner
8cdb7069e1 fix regression that caused 'L_PREFER_CANVAS undefined' error 2011-06-22 17:17:22 +03:00
Mourner
6163fd755c click tolerance for polylines 2011-06-22 13:27:03 +03:00
Mourner
4273df1f99 fix circle drawing bug 2011-06-22 12:26:03 +03:00
Mourner
a0a2064a7b remove duplication in canvas code 2011-06-21 18:09:04 +03:00
Mourner
a21f1ebc7a removed excessive line 2011-06-21 18:04:49 +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
032ee9331b fix canvas polygon click on border 2011-06-21 14:46:16 +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
Mourner
5d7db12542 Merge branch 'master' of https://github.com/florianf/Leaflet into path-canvas 2011-06-21 10:08:23 +03:00
Mourner
10ffc32ea7 cleanup jonny's pull 2011-06-21 10:06:47 +03:00
Jonny Gerig Meyer
593a3c0380 Fixed support for Popup closePopupOnClick option. 2011-06-20 18:07:39 -04:00
Jonny Gerig Meyer
aa036b93ba Added support for Popup closeButton option. 2011-06-20 18:02:14 -04:00
florian
f3205aab50 Changed implementation as discussed in first push request. 2011-06-20 20:27:09 +02:00
florian
7d5be23a25 Added special class for circle canvas rendering 2011-06-20 20:16:16 +02:00
Mourner
6eb9e8fe53 sanitize LatLng arguments, closes #136 2011-06-20 13:50:40 +03:00
florian
a316351364 Removed debug code from canvas renderer. 2011-06-20 10:17:40 +02:00
florian
c8a105fbee Set updateOnMoveEnd true for circle, so it can be updated by canvas renderer. 2011-06-20 10:16:55 +02:00
florian
c1c79df31f First implementation of a canvas backend for rendering overlays. Currently no events and no polygons with holes are supported. 2011-06-20 10:09:43 +02:00
mourner
3af05ece06 fix error in TileLayer.Canvas 2011-06-18 13:22:39 +03:00
Mourner
0800c241c1 opera mobile fixes, closes #138 2011-06-17 19:40:27 +03:00
Mourner
c63b955d41 fix panning on Android 3, closes #121 2011-06-17 17:19:35 +03:00
Mourner
457a4355fc parse string coordinates in GeoJSON, closes #136 2011-06-17 16:46:03 +03:00
Mourner
05c4b3f114 add tap tolerance for better mobile usability, update changelog 2011-06-17 15:52:39 +03:00
Mourner
d3f0ba5424 don't use setTimeout on drag for browsers without requestAnimFrame 2011-06-17 14:10:30 +03:00
Mourner
d2487e89d0 improve mobile webkit click responsiveness, fix clicks in Android 2.1 2011-06-17 13:50:50 +03:00
mourner
c93d91bfad improve panning performance considerably, closes #130 2011-06-17 00:24:13 +03:00
Jason Davies
eb68a70844 Add noWrap option to TileLayer. 2011-06-16 22:06:19 +01:00
Mourner
b781376e3d fix HTC Hero panning, closes #84 (hopefully) 2011-06-16 18:52:37 +03:00
Mourner
e09765a355 remove slow and unnecessary code from zoom anim logic, related to #123 2011-06-16 15:54:51 +03:00
Mourner
233e63af53 minor GeoJSON refactoring, reverse option in coordsToLatLngs 2011-06-16 13:56:39 +03:00
Mourner
40a1ebf5c3 minor Path refactoring, update build after Jason commits 2011-06-16 12:15:17 +03:00
Jason Sanford
f761fa0332 Adding private _redraw method. This should fix #124 2011-06-15 23:17:52 -06:00
Mourner
667fdd9797 Fix L variable definition, closes #122 2011-06-14 15:14:47 +03:00
Mourner
13e534d130 pass options to locateAndSetView 2011-06-14 12:13:00 +03:00
Mourner
a2a6ff3728 Supposedly fixed error on iOS 3, closes #113 2011-06-14 12:10:19 +03:00
Jason Sanford
d13fe36e88 Adding options to L.Map.locate that follows the PositionOptions spec for the W3C Geolocation API. You can now pass "enableHighAccuracy" and "maximumAge" to get fresh, accurate positions. 2011-06-13 15:28:06 -06:00
mourner
a1efe42a6d fix global map var regression, closes #117 2011-06-13 22:17:04 +03:00
Vladimir Agafonkin
bb22c4aa5d Merge pull request #116 from carljm/multipoly-setstyle
Added setStyle method for MultiPolyLine and MultiPolygon.
2011-06-11 23:01:37 -07:00
Carl Meyer
367db80cf6 Added setStyle method for MultiPolyLine and MultiPolygon. 2011-06-11 19:51:37 -05: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
5c2e3a511f popup fixes, marker setIcon 2011-06-10 16:24:49 +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
Mourner
9514712bb6 fix potential memory leak, closes #107 2011-06-09 14:43:23 +03:00
Mourner
88c384f946 fix scrollWheelZoom date line issue, part of #105 2011-06-07 11:41:59 +03:00
Mourner
4897241427 TileLayer setOpacity method, fixes #102 2011-06-07 11:38:56 +03:00
Mourner
49c0b0dcd8 more TileLayer onRemove fix 2011-06-03 17:42:54 +03:00
Mourner
dc84cb1fd3 fix bug with removing/readding tile layers 2011-06-03 16:59:14 +03:00
Mourner
0b1a2bca4d Popup now accepts HTML element as content too, fixes #9 2011-06-03 14:40:11 +03:00
Mourner
522fd7a78e fix bug with click propagation on popup close button, fixes #99 2011-06-03 14:32:17 +03:00
Mourner
c67bc5a031 #96 2011-06-03 13:54:07 +03:00
Mourner
a2729351be fix popup setContent, fixes #94 2011-06-03 12:55:06 +03:00
Mourner
c8f1e95236 fix bug with some tiles not loading, fixes #97, update changelog 2011-06-03 12:36:38 +03:00
Mourner
2bbdc028ea fix map div absolute position bug, fixes #100 2011-06-03 11:52:51 +03:00
Mourner
3488f88c38 improve debug handling 2011-06-02 17:07:56 +03:00
Mourner
cc1aabbd95 fix bug with some tiles not loading in tms layer, fixes #97 2011-06-02 16:47:50 +03:00
Mourner
bc63a2eec8 async option in TileLayer.Canvas 2011-06-02 16:29:47 +03:00
Mourner
a13c265d75 minor attribution improvement 2011-06-01 18:28:21 +03:00
Mourner
94a15edef9 cleanup 2011-06-01 15:07:48 +03:00
Mourner
d212a8b553 Merge remote branch 'origin/master' 2011-06-01 14:55:00 +03:00
Mourner
cef1e2a931 fix TileLayer.Canvas regression 2011-06-01 14:54:38 +03:00
H. Westphal
911b46c6fc Allow creation of empty L.LatLngBounds 2011-06-01 10:55:05 +02:00
Mourner
eadb94f258 revert android fix as it prevents clicks on iphone :( 2011-05-31 20:02:23 +03:00
Mourner
95d58b5e87 fix regression in Circle, fixes #92 2011-05-31 16:11:21 +03:00
Mourner
40207bdbef fix whitespace 2011-05-31 13:07:43 +03:00
Mourner
be5b4a6284 fix accidental global var 2011-05-31 13:07:01 +03:00
Mourner
cfdaebb299 forgot to add several source files 2011-05-31 12:37:07 +03:00
Mourner
e7410e6e03 improve projections support, add EPSG:3395 (real mercator) 2011-05-31 12:36:05 +03:00
Mourner
ed168a30b2 fix tile loading regression, fixes #87, fixes #91 2011-05-31 11:59:15 +03:00
mourner
600c9619c3 Revert getTarget-related refactoring, fixes #87 (IE8 error) 2011-05-31 01:27:19 +03:00
mourner
c0662f62d6 fix accidental global variable 2011-05-31 00:43:57 +03:00
mourner
af9319e52e fix whitespace 2011-05-31 00:39:04 +03:00
mourner
8c3f146b43 Merge remote branch 'origin/master' 2011-05-31 00:38:38 +03:00
mourner
876bb4f69d finished projections improvement 2011-05-31 00:37:48 +03:00
Miroff
c44ec4e1c0 Fixed issue #84 Panning is really slow under HTC Hero (Android 2.2) 2011-05-31 01:30:18 +07:00
Mourner
cf74d0eb18 started work on projections 2011-05-30 19:44:40 +03:00
Mourner
791ed9f297 title option for markers, fixes #86 2011-05-30 17:08:53 +03:00
Mourner
96e216ba14 fix WMS tiles not loading near date line 2011-05-30 16:24:59 +03:00
Mourner
f36a2f91af fix accidentally broken tiles in IE6-8, fix SVG in IE9, fixes #83 2011-05-30 15:20:08 +03:00
Mourner
138cc723b5 Merge branch 'tms' of https://github.com/tmcw/Leaflet into tmcw-tms 2011-05-30 11:10:53 +03:00
Tom MacWright
d5e5f33d79 Adding TMS support to Leaflet with a scheme: 'tms' option. 2011-05-27 13:39:25 -04: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
9863c0c6a0 tile layer refactoring 2011-05-27 18:36:11 +03:00
Mourner
87eee7fbcb LatLngBounds#contains(LatLng), Bounds#contains(Point), fixes #76 2011-05-26 11:56:52 +03:00
Mourner
b6b7612b0a minor Polyline methods improvements 2011-05-25 19:12:52 +03:00
Mourner
ec3c899b64 Poly addLatLng, setLatLngs, spliceLatLngs methods, fixes #74 2011-05-25 18:57:58 +03:00
Max Ogden
f12fb251a0 fixing typo 2011-05-23 12:33:03 -07:00
Mourner
80c7c9d32d several marker bugfixes, fixes #66 2011-05-23 14:19:44 +03:00
Mourner
089052e40d TileLayer opacity option 2011-05-23 14:09:15 +03:00
Mourner
1b090074a6 fix map occasionally breaking while zooming on iOS, fixes #32 2011-05-23 12:32:31 +03:00
Mourner
7809accb0e opera fixes 2011-05-20 16:34:45 +03:00
Mourner
00af4e25ac small vml cleanup 2011-05-20 14:21:17 +03:00
Mourner
cbd54537c3 fix VML paths cursor if clickable 2011-05-20 14:19:01 +03:00
Mourner
b1e8ee421c fix double click zoom when popup is opened on click, fixes #48 2011-05-20 11:32:59 +03:00
Mourner
81f6d7f656 minor ImageOverlay refactoring, onRemove, fixes #8 2011-05-20 11:26:40 +03:00
Mourner
ed4d73cc5a fix accidentally broken mousewheel 2011-05-20 11:19:51 +03:00
Mourner
5b9804b6a3 ie8 vml fix, mouseover/mousemove/mouseout events for stuff
fixes #22, fixes #23
2011-05-19 19:30:22 +03:00
Mourner
5e927b0382 dom mouseenter/mouseleave, map mouseover/mousemove/mouseout events 2011-05-19 18:57:35 +03:00
Mourner
88091d571e Marker setLatLng, fixes #5 2011-05-19 17:59:22 +03:00
Mourner
daf6c22a1d set world view on locateAndSetView failure 2011-05-19 17:23:38 +03:00
Mourner
27c6aba932 zoom-dependent Circle; fixed one is now called CircleMarker, fixes #44 2011-05-19 16:36:25 +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
e243d84ec6 WMS refactoring 2011-05-17 14:19:37 +03:00
Mourner
a3c029bf37 Merge remote branch 'origin/master' 2011-05-16 19:41:33 +03:00
Mourner
5a45784d6a Implemented L.TileLayer.WMS (EPSG:3857 only), fixes #50 2011-05-16 19:40:49 +03:00
Mourner
ff6968f048 remove console.log 2011-05-16 17:45:49 +03:00
Mourner
2f4e81ab3a fix clearing tile background on zoom 2011-05-16 17:45:35 +03:00
Mourner
c6ddf37eb2 Bump version 2011-05-16 17:45:06 +03:00
Mourner
ca151369a8 temporarily disable zoom animation on Android (until it gets stable),
related to #32
2011-05-14 19:40:26 +03:00
Mourner
7fb6de19a3 SVG handling bugfix, fixes #47 2011-05-14 19:19:17 +03:00
Mourner
3352242b4b Merge remote branch 'origin/master' 2011-05-12 19:37:07 +03:00
Mourner
aeffc6d063 fix IE empty path string bug 2011-05-12 16:18:28 +03:00
mourner
66f00bf875 more chaining, update build 2011-04-27 18:02:58 +03:00
mourner
d1b28c5d85 geolocation update 2011-04-27 17:38:50 +03:00
mourner
e56b9400cb fix popup anchor offset, fixes #41 2011-04-27 14:10:12 +03:00
mourner
6ce60cadc7 fix popup autoclose, fixes #40 2011-04-27 14:06:47 +03:00
mourner
c2102d5402 Path clickable option, fixes #39 2011-04-27 13:57:36 +03:00
mourner
13259845ad fix popup content update, fixes #42 2011-04-27 13:52:23 +03:00
mourner
0d32c913a5 fix marker click, fixes #43 2011-04-27 13:51:41 +03:00
Mourner
9911ad21a4 ability to enable marker drag later (not initially) 2011-04-15 15:15:38 +03:00
Mourner
e57bcd70a8 merge popup updateContent fix by msaspence 2011-04-15 12:30:56 +03:00
Mourner
ba28ce77bf fix IE, fix attrib control styling, update build 2011-04-15 11:56:48 +03:00
Mourner
21d4ddb1d3 minor attrib fix 2011-04-15 11:39:00 +03:00
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