Commit Graph

1864 Commits

Author SHA1 Message Date
Vladimir Agafonkin
7ae4459dd3 Fix rectangle having duplicate last point, close #1185 2012-12-10 17:42:43 +02:00
Manuel Ohlendorf
cf883a036d fix indentation: use tabs instead of spaces 2012-12-07 11:05:38 +01:00
Manuel Ohlendorf
94a8b19f11 fixes Issue 1204: border width is now added to viewpoint offset calculation 2012-12-06 13:25:17 +01:00
Vladimir Agafonkin
7e029d21cc Merge pull request #1193 from lookfirst/issue-892-2
fix for issue #892 , second time around.
2012-11-30 15:42:50 -08:00
Jon Stevens
4ba1bbcdd7 fix for issue #892 , second time around. 2012-11-30 12:03:20 -08:00
Vladimir Agafonkin
7f44313fad Merge pull request #1189 from danzel/canvas-fixes
Always set canvas alpha. Fixes #1186
2012-11-29 15:01:19 -08:00
danzel
3b2393bd93 Always set canvas alpha. Fixes #1186 2012-11-30 11:31:22 +13:00
Vladimir Agafonkin
9a378acdde Merge pull request #1188 from danzel/zoom-fixes
Fix firefox canvas zooming
2012-11-29 14:31:05 -08:00
danzel
babbbe829e Re-order zoom end so we completely stop the zoom before getting people to redraw. Otherwise firefox will animate the canvas redrawing which is totally weird. Fixes #1187 2012-11-30 11:27:12 +13:00
mourner
1d14b0c50d fix code style issues #1159, update build 2012-11-29 22:43:40 +02:00
Vladimir Agafonkin
0c5f401220 Merge pull request #1159 from moonlite/master
First stab at a fix for Issue 623
2012-11-29 06:44:25 -08:00
Mattias Bengtsson
593fa82fe8 Stupid typo 2012-11-29 08:10:04 +01:00
Mattias Bengtsson
2fd70b3bb7 Wrap the last test in a map.whenReady to ensure the map has finished loading
before removeLayer is called.
2012-11-29 08:05:08 +01:00
Vladimir Agafonkin
e2daa349b1 Merge pull request #1169 from tomhughes/layers
Update the Layers control when layers are added or removed
2012-11-23 17:18:42 -08:00
Tom Hughes
0b2a31c1fe Update the Layers control when layers are added or removed 2012-11-24 00:33:57 +00:00
Vladimir Agafonkin
fd427feabb Merge pull request #1171 from dreamfall/patch-1
Fix error in initializing map in hidden iframe in Firefox
2012-11-23 09:23:57 -08:00
dreamfall
56f3f7ca07 fix error in initializing map on hidden iframe in Firefox 2012-11-23 18:23:59 +03:00
Vladimir Agafonkin
b5c0a5f5f9 Merge pull request #1167 from yohanboniface/layers_control
Return created HTML element in Control.Layers._addItem
2012-11-21 13:02:26 -08:00
Yohan Boniface
944d197690 Return created HTML element in Control.Layers._addItem
Goal is to make easier and DRYer to customize layer HTML item
when extending Control.Layers class
2012-11-21 16:06:20 +01:00
Vladimir Agafonkin
14d4320b3e Merge pull request #1166 from OriginalSin/patch-1
Solves issue #1089
2012-11-21 04:39:06 -08: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
Vladimir Agafonkin
ab9f45baf1 Merge pull request #1158 from danzel/master
Add setZIndex to LayerGroup
2012-11-19 12:41:28 -08: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
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
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
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
d0b8ca9ef0 bg transparent for popup close button in CSS, closes #897 2012-11-18 18:03:08 +04:00
Vladimir Agafonkin
07eb3b4c8d fix dashArray in IE, closes #1091 2012-11-18 17:55:28 +04:00
Vladimir Agafonkin
00a2f319cd Merge pull request #1151 from danzel/touch-and-mouse
Wire Touch and mouse events on touch devices
2012-11-15 15:34:02 -08:00
danzel
5e35553361 Code tidyups from mourners feedback. 2012-11-16 11:28:01 +13:00
danzel
0efa63500c Fix up 2 places where L.Draggable.START hadn't been updated for it being an array (thanks mourner) 2012-11-16 10:57:29 +13:00
danzel
41a85b0128 Only wire move/end listeners for the thing we want to listen to.
Stops potential bug:
User touches on device, user moves mouse. These mouse move events would have panned the map, now they won't.
2012-11-16 10:57:28 +13:00
danzel
04908cee8d Always enable scrollWheelZoom (fixes scroll wheel zoom on mouse+touch devices) 2012-11-16 10:57:28 +13:00
danzel
46b7d97298 Get doubleclick on touch&mouse devices working. We need to add a touch doubletap emulator and a normal doubleclick listener 2012-11-16 10:57:27 +13:00
danzel
cb9407ffee Sort of working Draggable support for touch+mouse devices. 2012-11-16 10:57:26 +13:00
Vladimir Agafonkin
7079dba889 Merge pull request #1148 from waldir/patch-3
Use "semantic linebreaks"
2012-11-15 10:15:53 -08:00
Waldir
e0b7a1375b use semantic linebreaks also in CONTRIBUTING.md 2012-11-15 11:58:09 +00:00
Waldir
3a3a9b7058 Use [semantic linebreaks](http://rhodesmill.org/brandon/2012/one-sentence-per-line/) 2012-11-15 11:46:52 +00:00
Vladimir Agafonkin
c37e755832 stop mousewheel propagation in layers control, related to #845 2012-11-14 16:50:04 +02:00
Vladimir Agafonkin
b2d6575445 update build 2012-11-14 15:13:08 +02:00
Vladimir Agafonkin
c33a4013a2 make zoom buttons disabled when reaching min/max, closes #917 2012-11-14 15:12:31 +02:00
Vladimir Agafonkin
469211d0cf fix slight scrolling zoom bug, closes #1039 2012-11-14 14:46:17 +02:00
Vladimir Agafonkin
10c0a63b3d fixed non-rounded panBy, closes #1085 2012-11-14 14:39:59 +02:00
Vladimir Agafonkin
93091704f7 update changelog and build 2012-11-14 14:08:20 +02:00
Vladimir Agafonkin
91aecd376b add Marker contextmenu event 2012-11-14 14:07:59 +02:00
Vladimir Agafonkin
eba4eb0a5c fix shift-click on the map 2012-11-14 14:07:36 +02:00
Vladimir Agafonkin
b3826358d5 add Point equals method 2012-11-14 14:07:17 +02:00
Vladimir Agafonkin
34812d87c9 update changelog 2012-11-14 13:37:32 +02:00