Commit Graph

1946 Commits

Author SHA1 Message Date
Vladimir Agafonkin
cfe2825c45 update changelog 2012-12-12 14:19:16 +02:00
Vladimir Agafonkin
58a82d09fa fix WMS tile wrapping regression, close #970 2012-12-12 13:19:24 +02:00
Vladimir Agafonkin
782e8e7dcf implement hooks for Class constructors (AOP-style), close #1123 2012-12-12 12:26:33 +02:00
Vladimir Agafonkin
8350bb1e08 update LatLng specs after removing default clamping/wrapping 2012-12-12 12:04:54 +02:00
Vladimir Agafonkin
624bcb8687 Merge pull request #1212 from moonlite/1178-zoomlevels-take2
Add test for ensuring maxZoom and minZoom on the map overrides any layer settings.
2012-12-11 16:04:29 -08:00
Mattias Bengtsson
5fa8dfa5a5 Add test for ensuring maxZoom and minZoom on the map overrides any layer settings. 2012-12-12 00:45:19 +01:00
Mattias Bengtsson
e475c04eaa Add a missing semi colon and make one line < 80 chars 2012-12-12 00:45:09 +01:00
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
jfgirard
d23af35310 fix undefined error use cases 2012-11-20 06:38:11 -05: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