Commit Graph

10913 Commits

Author SHA1 Message Date
Éric Lemoine
3936c62e77 drag handler constructor should call its parent 2012-07-11 17:46:57 +02:00
Éric Lemoine
be0f73fb11 better doc strings for the drag handler 2012-07-11 17:46:25 +02:00
Éric Lemoine
d73410a9b3 add a click handler 2012-07-11 17:45:32 +02:00
Éric Lemoine
da11a8c34d add ol.ENABLE_DRAG_HANDLER and ol.ENABLE_MOUSEWHEEL_HANDLER @defines, and pass a an object to the handlers for sharing states 2012-07-11 17:43:42 +02:00
Éric Lemoine
38f946d944 remove the navigation control and the event target hierarchy 2012-07-11 17:38:18 +02:00
Éric Lemoine
ae5cdc75b4 the mousewheel handler zooms the map by default 2012-07-11 17:35:50 +02:00
Tom Payne
00462bb9e4 Move renderers into their own directories 2012-07-11 17:20:09 +02:00
Tom Payne
133f6199f7 Fix gjslint errors 2012-07-11 17:20:09 +02:00
Tom Payne
cf9a41f77e Create camera, layers and projection if not specified 2012-07-11 17:20:09 +02:00
Tom Payne
62a25d7242 Add ol.TileLayer.createOpenStreetMap 2012-07-11 17:20:09 +02:00
Tom Payne
1485137f7b Add ol.TileStore.createOpenStreetMap 2012-07-11 17:20:09 +02:00
Tom Payne
b9667c208b Add ol.TileUrlFunction.createFromTemplates 2012-07-11 17:20:09 +02:00
Tom Payne
d9077f3002 Correct type of opt_values 2012-07-11 17:20:09 +02:00
Tom Payne
1298cc3da3 Add ol.Map skeleton 2012-07-11 17:20:09 +02:00
Tom Payne
995aa76d1a Add initial ol.DOMMapRenderer skeleton 2012-07-11 17:20:09 +02:00
Tom Payne
fbefb98026 Add initial ol.WebGLMapRenderer skeleton 2012-07-11 17:20:09 +02:00
Tom Payne
bcf4d9416c Add initial ol.MapRenderer skeleton 2012-07-11 17:20:09 +02:00
Tom Payne
6c1090a2df Add initial ol.LayerRenderer skeleton 2012-07-11 17:20:09 +02:00
Tom Payne
06d32b3819 Allow values to be passed to ol.Layer 2012-07-11 17:20:09 +02:00
Tom Payne
56de224667 Add missing require 2012-07-11 17:20:09 +02:00
Tom Payne
11835b18c9 Remove ol.coord.AccessorInterface 2012-07-11 17:20:08 +02:00
Tom Payne
b2b9a41be1 Merge tile cache into TileStore 2012-07-11 17:20:08 +02:00
Tom Payne
5adbd13705 Add ol.TileCoord.toString 2012-07-11 17:20:08 +02:00
Tom Payne
e199fbd7f6 Update ol.Tile 2012-07-11 17:20:08 +02:00
Tom Payne
01cb568a50 Rename Layer to Store and LayerRendereOptions to Layer 2012-07-11 17:20:08 +02:00
Tom Payne
5de1ac3dd6 Don't use typedef for type that is only used once 2012-07-11 17:20:08 +02:00
Tom Payne
2dbd9c676b Make name calculations public 2012-07-11 17:20:08 +02:00
Tom Payne
fc585de50f Cache event types and changed method names 2012-07-11 17:20:08 +02:00
Tom Payne
6610496e56 Clean up comments and argument name 2012-07-11 17:20:08 +02:00
Tom Payne
defffdada8 Allow optional initial values to be passed to ol.Object 2012-07-11 17:20:08 +02:00
Tom Payne
5a7c2e72a6 Better type checking in Layer 2012-07-11 17:20:08 +02:00
Tom Payne
dd3dead3cd Add layer to LayerRendererOptions 2012-07-11 17:20:08 +02:00
Tom Payne
1c344ffa9f s/LayerView/LayerRendererOptions/ 2012-07-11 17:20:08 +02:00
Tom Payne
10f8f1198b Add ol.TileGrid.createOpenStreetMap 2012-07-11 17:20:08 +02:00
Tom Payne
3050268eb0 Add initial ol.TileLayer skeleton 2012-07-11 17:20:08 +02:00
Tom Payne
5494c36748 Sort functions alphabetically 2012-07-11 17:20:08 +02:00
Tom Payne
40acb70a3c Add ol.TileGrid.getZForResolution 2012-07-11 17:20:08 +02:00
Tom Payne
391b5906bc s/getTileResolution/getTileCoordResolution/g 2012-07-11 17:20:07 +02:00
Tom Payne
d30c30f01d s/TileUrl/TileUrlFunction/ 2012-07-11 17:20:07 +02:00
Tom Payne
58e9ba322e Replace corner with xEast/ySouth 2012-07-11 17:20:07 +02:00
Tom Payne
d444618a11 Add missing @template declaration 2012-07-11 17:20:07 +02:00
Tom Payne
24ba87bf92 s/yield/forEach/ 2012-07-11 17:20:07 +02:00
Tom Payne
65b0094a78 Test ol.TileGrid.yieldTileCoordParents 2012-07-11 17:20:07 +02:00
Tom Payne
abb49a899a Add ol.TileBounds.forEachTileCoord 2012-07-11 17:20:07 +02:00
Tom Payne
85716afa38 Top should always be greater than or equal to bottom in ol.TileBounds 2012-07-11 17:20:07 +02:00
Tom Payne
9a89814896 Store number of resolutions in member variable 2012-07-11 17:20:07 +02:00
Tom Payne
ff34400d96 Add ol.TileCoord.clone 2012-07-11 17:20:07 +02:00
Tom Payne
9712c706ba Test ol.TileGrid.getExtentTileBounds 2012-07-11 17:20:07 +02:00
Tom Payne
4ff6f03834 s/getTileBounds/getExtentTileBounds/ 2012-07-11 17:20:07 +02:00
Tom Payne
656974090f Pass z when yielding TileCoord parents 2012-07-11 17:20:07 +02:00