Commit Graph

519 Commits

Author SHA1 Message Date
Vladimir Agafonkin
58a82d09fa fix WMS tile wrapping regression, close #970 2012-12-12 13:19:24 +02:00
Vladimir Agafonkin
30a3edb393 simplify zoom animation calculations a bit 2012-12-11 20:19:16 +02:00
Vladimir Agafonkin
edeea11919 fix GeoJSON resetStyle not fully resetting, close #1112 2012-12-11 17:16:39 +02:00
Vladimir Agafonkin
f5cfab73a1 remove LatLng coords wrapping/clamping, add explicit LatLng wrap method 2012-12-11 15:02:47 +02:00
Vladimir Agafonkin
c05e15f956 fix chaining in marker methods, close #1176 2012-12-10 18:22:19 +02:00
Vladimir Agafonkin
7ae4459dd3 Fix rectangle having duplicate last point, close #1185 2012-12-10 17:42:43 +02:00
danzel
3b2393bd93 Always set canvas alpha. Fixes #1186 2012-11-30 11:31:22 +13:00
OriginalSin
43794a3ea9 Update src/layer/tile/TileLayer.js
this should solve first problem in #1089 (http://jsfiddle.net/Q3SFZ/1/)
2012-11-21 16:11:51 +04:00
danzel
0033496b58 jshint happy 2012-11-20 09:38:14 +13:00
danzel
63ad64cb7a Use invoke to make this code smaller. 2012-11-20 09:36:23 +13:00
danzel
b28b6da924 Add setZIndex to LayerGroup to allow LayerGroups to work better with the layers control. Fixes #1096 2012-11-19 09:58:28 +13:00
Vladimir Agafonkin
07eb3b4c8d fix dashArray in IE, closes #1091 2012-11-18 17:55:28 +04:00
Vladimir Agafonkin
91aecd376b add Marker contextmenu event 2012-11-14 14:07:59 +02:00
Pascal Borreli
9546599520 Fixed typos 2012-11-09 23:15:48 +00:00
Vladimir Agafonkin
dbd4da6255 add shortcuts for extend, bind, stamp and setOptions 2012-11-07 20:30:56 +02:00
Vladimir Agafonkin
7517cbcd53 fix typos and regression in #1122 2012-11-07 19:21:21 +02:00
Vladimir Agafonkin
2b225cc3a8 more whitespace fixes 2012-11-07 18:46:59 +02:00
jacobtoye
6c4221fe04 Added 'layeradd' and 'layerremove' events to LayerGroup. 2012-11-06 15:37:36 +13:00
danzel
1a2764ae0a mousemove events need to propagate through path layers otherwise you cannot drag the map through them. Refs #1046 2012-11-06 10:28:34 +13:00
danzel
c03ff65bc4 Dragging a marker should not make a map click event. 2012-11-05 10:27:40 +13:00
Vladimir Agafonkin
bfc94d3176 add Path closePopup method, fix a couple of issues 2012-10-31 15:34:19 +02:00
Vladimir Agafonkin
7ed96d6ed1 fix TileLayer.Canvas drawTile zoom argument 2012-10-31 02:02:12 +02:00
Vladimir Agafonkin
8077faa2e3 refactor and cleanup marker bringToFront option 2012-10-31 01:25:03 +02:00
Vladimir Agafonkin
b0a911516f Merge pull request #914 from jacobtoye/MarkerBringToFront
Bring markers to front when mouseover
2012-10-30 16:09:55 -07:00
danzel
ef42973682 If a popup is removed from the map during viewreset we still try to remove it from the map, check we are still on the map first. Fixes #1094 2012-10-29 09:39:45 +13:00
Vladimir Agafonkin
5fa25c28a4 simplify vector animation, @danzel check it out lol 2012-10-18 16:38:31 +03:00
Vladimir Agafonkin
cca3180f30 fix Circle getBounds, closes #1068 2012-10-15 11:39:07 +03:00
jacobtoye
95fc1f0fef Add latlng to 'move' event triggered on marker when marker is dragged. 2012-10-09 16:12:04 +13:00
jacobtoye
6279e99272 Bring _onDrag method in line with normal Leaflet coding conventions. 2012-10-09 16:10:36 +13:00
jacobtoye
939adbcf87 Fix up event handler method typo after movePopup rename. 2012-10-09 15:18:02 +13:00
danzel
9b56d31b24 More tidyups for #1046 2012-10-09 09:23:15 +13:00
Dave Leaver
a904c319f9 Merge pull request #1046 from inpursuit/bug/2
Vector layers do not stop propagation of mouse events that they fire
2012-10-08 13:11:51 -07:00
Vladimir Agafonkin
c178674948 Merge pull request #1038 from jacobtoye/popupdecouple
Decouple the closePopup and movePopup from L.Marker
2012-10-08 09:06:24 -07:00
Adam Stull
f844237a87 Stop propagation of mouse event 2012-10-08 11:54:36 -04:00
jacobtoye
d7daa5e8a8 Making movePopup private. 2012-10-08 08:46:30 +13:00
Vladimir Agafonkin
85d350e322 Merge pull request #1033 from danzel/fix-events
Allow click events to propogate through
2012-10-05 08:11:34 -07:00
Vladimir Agafonkin
5ab91941ff do not detect VML if SVG is supported, related to #870 comments 2012-10-05 16:37:15 +03:00
jacobtoye
fcf9b6cafe Adding unbindPopup method to L.Path. 2012-10-05 16:43:36 +13:00
jacobtoye
720068bd70 Make sure popup is closed when Path is removed from map. 2012-10-05 16:35:08 +13:00
jacobtoye
eba37ae47a Unbind the remove and move event handlers when we unbind the popup. 2012-10-05 16:29:22 +13:00
jacobtoye
4da0cb0104 Refactor closing and moving a marker's popup. 2012-10-05 14:19:37 +13:00
danzel
f435217301 Allow click events on Marker elements to fall through if they are not handled. 2012-10-04 10:13:30 +13:00
danzel
53f57cb45f Allow click events on Path.SVG elements to fall through if they are not handled. 2012-10-04 10:12:57 +13:00
danzel
28f067ce73 Allow SVG Path click propogation. Fixes #834 2012-10-04 09:59:37 +13:00
danzel
734ea2fdbf Fix deleting 2 end nodes from a poly line. Fixes #1022 2012-09-28 10:46:57 +12:00
Vladimir Agafonkin
c92201862c update build and changelog, do not prevent tile loading on pan animation 2012-09-11 12:42:00 +03: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
Vladimir Agafonkin
14a9d9e029 Merge pull request #963 from danzel/zindex
Correct TileLayer zIndex behaviour on bringToBack
2012-09-11 02:34:11 -07:00
Vladimir Agafonkin
1933ae157c Merge pull request #961 from danzel/canvas-fixes
Optimize _requestUpdate in Path.Canvas.
2012-09-11 02:32:34 -07:00
danzel
fcddcd065f Fix up issues reported by mourner https://github.com/CloudMade/Leaflet/pull/961/files#r1508267 2012-09-03 10:50:42 +12:00