Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne b4c9c1e846 Use normalized tile coordinates (bottom left) 2012-07-15 16:14:24 +02:00
Tom Payne 61ab5c8f49 Refactor shader and program management 2012-07-15 14:11:32 +02:00
Tom Payne 73187bc018 Add ol.webgl.LayerRenderer.getTexture 2012-07-15 12:33:44 +02:00
Tom Payne af8e093768 Add ol.TileLayer.getTileStore 2012-07-15 12:32:42 +02:00
Tom Payne af7dfc60aa Set extent to undefined when it is undefined 2012-07-15 12:32:09 +02:00
Tom Payne 26aa704a4d Refresh layer renderer management 2012-07-15 12:31:33 +02:00
Tom Payne 446fe16da1 Disable debug options by default 2012-07-15 00:41:05 +02:00
Tom Payne 55655207d1 Add commented-out compilation options 2012-07-15 00:40:37 +02:00
Tom Payne e509f4cfe5 Be super-strict 2012-07-15 00:40:11 +02:00
Tom Payne 9e024011d4 Use goog.fx.anim 2012-07-15 00:36:26 +02:00
Tom Payne adfdedb12b Add ol.Map.freeze/thaw 2012-07-14 22:41:04 +02:00
Tom Payne 75ab503473 Correct WebGL context handling 2012-07-14 22:18:57 +02:00
Tom Payne d258db6204 Snapshot ol.webgl.TileLayerRenderer 2012-07-14 22:00:43 +02:00
Tom Payne 998dbdabd0 Make ol.Map.layerRenderers protected 2012-07-14 22:00:43 +02:00
Tom Payne 5aab7cb142 Add ol.TileLayer 2012-07-14 22:00:43 +02:00
Tom Payne 8d9cee2ee1 Add map parameter to ol.LayerRenderer 2012-07-14 21:51:04 +02:00
Tom Payne 669a83ff78 Add ol.webgl.LayerRenderer 2012-07-14 21:50:35 +02:00
Tom Payne b30d0c314b Add pixel to/from coordinate transforms 2012-07-14 19:54:41 +02:00
Tom Payne caba3814f7 Don't clone center or extent 2012-07-14 19:26:35 +02:00
Tom Payne ba9a62120b Only redraw if visible layers are added or removed 2012-07-14 19:23:25 +02:00
Tom Payne f66016af2e Handle resizing 2012-07-14 19:23:08 +02:00
Tom Payne c7f418240f Check projection when adding layers 2012-07-14 18:34:39 +02:00
Tom Payne acb8c14d28 Shortcut projection equivalence test 2012-07-14 18:34:26 +02:00
Tom Payne fcf552ea40 Merge Camera into Map 2012-07-14 18:34:02 +02:00
Tom Payne b80ce1fc26 Set camera defaults when layers is changed 2012-07-14 17:47:43 +02:00
Tom Payne 9266b7fdb2 Create new extent if no existing one 2012-07-14 17:47:18 +02:00
Tom Payne dbb26dc68d Add ol.Camera.isFullyDefined 2012-07-14 17:46:50 +02:00
Tom Payne c0aa3b77fe Configure default camera when first layer is added 2012-07-14 16:14:12 +02:00
Tom Payne fab1bca1fb Recalculate map extent when camera property changes 2012-07-14 16:13:54 +02:00
Tom Payne 461552a72e Correct camera property change handling 2012-07-14 16:12:56 +02:00
Tom Payne c59e6e1462 Return cloned size rather then reference 2012-07-14 16:12:24 +02:00
Tom Payne 9e8c8ad316 Add extent handling to ol.Map 2012-07-14 16:11:52 +02:00
Tom Payne 8c4d408795 ol.Store should not inherit from ol.Object 2012-07-14 15:31:36 +02:00
Tom Payne a8138cfe17 Remove ol.TileGrid.getMaxResolution 2012-07-14 15:30:35 +02:00
Tom Payne 7107b8d105 Add ol.Extent.getCenter 2012-07-14 15:29:36 +02:00
Tom Payne d5e706d9ff Remove unused requires 2012-07-14 15:29:21 +02:00
Tom Payne d1e5906e2c Merge Map and MapRenderer 2012-07-14 13:36:24 +02:00
Tom Payne 19ea6a0cba Import WebGL code from WebGL Maps 2012-07-13 19:27:48 +02:00
Tom Payne a35cd158be Snapshot WebGLMapRenderer 2012-07-13 19:14:34 +02:00
Tom Payne f5790e14f2 Use goog.nullFunction 2012-07-13 19:13:51 +02:00
Tom Payne 8279e79818 Handle undefined properties 2012-07-13 19:13:17 +02:00
Tom Payne bb1e81b72a Add ol.MapRenderer.forEachLayerRenderer 2012-07-13 19:12:40 +02:00
Tom Payne 773590345a Bind Map to MapRenderer properties 2012-07-13 19:12:14 +02:00
Tom Payne 152c0e9f78 Export ol.MapRendererProperty 2012-07-13 19:11:47 +02:00
Tom Payne 8ac2cb7103 Provide default layer change handlers 2012-07-13 19:11:01 +02:00
Tom Payne d2caf1543f Add CSS to ensure map fills body 2012-07-13 19:09:41 +02:00
Tom Payne 964bbf41bd Add scope to ol.Array.forEach 2012-07-12 19:23:06 +02:00
Tom Payne 7ae4fc3eb5 Add initial ol.WebLGLMapRenderer experiments (size not working) 2012-07-11 21:58:18 +02:00
Tom Payne e4f729f1b9 Add ol.webglrender.IGLObject 2012-07-11 21:57:01 +02:00
Tom Payne 7a4e3aa323 Listen for target resizes in ol.MapRenderer 2012-07-11 21:21:38 +02:00
Tom Payne 5c40e1d570 Listen for all camera property changes 2012-07-11 21:20:29 +02:00
Tom Payne 9c0ce6e635 Make ol.LayerProperty public 2012-07-11 21:18:47 +02:00
Tom Payne 02113f05be Make ol.StoreProperty public 2012-07-11 21:18:34 +02:00
Tom Payne 73abd6e8b8 Make ol.CameraProperty public 2012-07-11 21:15:28 +02:00
Tom Payne 87853a5f54 Stricter type checking on target 2012-07-11 19:33:17 +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 a6ea18c4fc Add skeleton HTML 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