Commit Graph

437 Commits

Author SHA1 Message Date
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