Commit Graph

1882 Commits

Author SHA1 Message Date
danzel
e22a7c5ef0 Another pass at the icon. Moved the mid point of the circle down half a pixel to improve the roundness. Tweaked the size of the white circle to better match the old one. 2012-12-12 09:54:23 +13:00
Vladimir Agafonkin
30a3edb393 simplify zoom animation calculations a bit 2012-12-11 20:19:16 +02:00
Vladimir Agafonkin
b4770906b3 tweak simple projection, add debug file 2012-12-11 20:18:54 +02:00
Vladimir Agafonkin
3051b22a88 add Bounds getSize method 2012-12-11 20:14:17 +02:00
Vladimir Agafonkin
edeea11919 fix GeoJSON resetStyle not fully resetting, close #1112 2012-12-11 17:16:39 +02:00
Vladimir Agafonkin
df03016f0c fix infinite recursion in latLngBounds factory, close #933 2012-12-11 17:03:33 +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
b9d0d60a04 disable worldCopyJump by default, minor cleanup 2012-12-11 15:02:15 +02:00
Vladimir Agafonkin
f203c244d4 fix text selection regression, #1193, #892 2012-12-11 11:44:06 +02:00
danzel
217a0d5148 Move marker svg to src/images/marker.svg 2012-12-11 14:53:14 +13:00
danzel
7f2ad35a74 Another pass at redrawing the icon. This one looks really close to the original 2012-12-11 14:50:01 +13:00
danzel
946a9df5f9 Add iconRetinaUrl and shadowRetinaUrl to set urls for retina icons. Add a retina version of the default icon and use it. 2012-12-11 14:49:45 +13:00
danzel
003cf55451 Add svg source for icon and replace icon with one from the SVG. (Redrawn from original, pretty close but not perfect) 2012-12-11 14:49:45 +13:00
Vladimir Agafonkin
c05e15f956 fix chaining in marker methods, close #1176 2012-12-10 18:22:19 +02:00
Vladimir Agafonkin
5ec66e984d revert debug border 2012-12-10 18:08:38 +02:00
Vladimir Agafonkin
18601ddfde update build 2012-12-10 18:07:02 +02:00
Vladimir Agafonkin
236b8fbbf0 Merge pull request #1205 from mohlendo/master
Fixes Issue 1204: Adds the border width to the viewport offset calculation
2012-12-10 08:06:24 -08:00
Vladimir Agafonkin
96e4c80c75 revert clearing map div contents, fix positioning, close #278 again 2012-12-10 17:57:04 +02:00
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