Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 21ae6d1be3 DOM map renderer no longer need a viewport 2012-08-20 21:49:40 +02:00
Éric Lemoine a610413811 map renderer target is now map renderer container 2012-08-20 21:48:30 +02:00
Éric Lemoine a9706cd84b Map.handleViewportResize renamed handleBrowserWindowResize 2012-08-20 21:44:57 +02:00
Éric Lemoine 66d4d199b4 map target is now map container 2012-08-20 21:44:29 +02:00
Éric Lemoine ca2b6e4189 map has a viewport 2012-08-20 21:41:44 +02:00
Éric Lemoine 189b43ad4a two-layers example - do not add layers twice 2012-08-17 22:17:06 +02:00
Éric Lemoine adb209c3f9 map functions in alphabetical order 2012-08-16 16:14:16 +02:00
Éric Lemoine 70587af947 move pixel to/from coordinate calculation functions from Map to MapRenderer 2012-08-16 15:35:33 +02:00
Éric Lemoine 9eb031ed89 remove ol.webgl.LayerRenderer.prototype.getGL (as suggest by @twpayne) 2012-08-16 15:04:23 +02:00
Éric Lemoine 89eadc5770 move back rendering freeze/unfreeze and animation from map renderer to map 2012-08-16 15:00:14 +02:00
Éric Lemoine f7185f1c75 remove map FIXME 2012-08-16 14:57:42 +02:00
Éric Lemoine af63654776 Merge remote branch 'upstream/exp' into renderer 2012-08-14 21:19:46 +02:00
Éric Lemoine d9b51cdc7f fix typo in API doc 2012-08-14 10:24:30 +02:00
Éric Lemoine 0f401a2d51 forEach cannot iterate over a null object 2012-08-14 10:24:12 +02:00
Éric Lemoine 9f5b98e70c remove split out renderer FIXME 2012-08-14 10:23:06 +02:00
Éric Lemoine da9de171d2 exit renderer hint for loop when map renderer is found 2012-08-14 10:22:46 +02:00
Éric Lemoine 85c8dddc02 add a FIXME 2012-08-14 07:48:13 +02:00
Éric Lemoine e7696dd6aa map renderer unregisters listeners on dispose 2012-08-14 07:44:25 +02:00
Éric Lemoine f0ecf858c8 better type 2012-08-14 07:35:24 +02:00
Éric Lemoine 7be8a735fa better code (thanks @twpayne) 2012-08-14 07:26:43 +02:00
Éric Lemoine 6f0ae684f7 fix linter errors 2012-08-14 07:15:54 +02:00
Éric Lemoine 9efa34a2a3 separate map and renderer 2012-08-13 23:38:37 +02:00
Éric Lemoine 8a8a9a8c9a add map FIXMES 2012-07-23 23:27:03 +02:00
Éric Lemoine 6d28ad2740 use goog.fx.Dragger for map drag 2012-07-23 23:26:48 +02:00
Éric Lemoine 75c7bee6d9 update readme.md 2012-07-22 13:48:57 +02:00
Éric Lemoine 089f069456 finish porting tschaub's infinite zooming work 2012-07-21 23:53:51 +02:00
Éric Lemoine 014c5e8905 refactoring, and renamings in tilegrid.js (related to continous zooming) 2012-07-21 23:52:56 +02:00
Éric Lemoine 753ebab2ad Revert "add TileLayerRenderer.getPreferredZ_ plus tests". As noted by @twpayne, TileGrid.getZForResolution already returns the "preferred" z for an arbitrary resolution.
This reverts commit 8f5d0ac642.
2012-07-21 16:00:45 +02:00
Éric Lemoine c723e719c6 use ol instead of goog.math 2012-07-19 23:36:16 +02:00
Éric Lemoine 8f5d0ac642 add TileLayerRenderer.getPreferredZ_ plus tests 2012-07-19 23:28:35 +02:00
Éric Lemoine 404d123623 add TileGrid getTileCoordForArbitraryResolution and getTileCoordPixelBoundsForArbitraryResolution + tests, based on @tschaub work 2012-07-19 17:48:39 +02:00
Éric Lemoine 45c067dfda add ol.PixelBounds 2012-07-19 17:47:34 +02:00
Éric Lemoine 62f3f46b51 fix compilation - private property cannot be used in subclasses 2012-07-19 00:00:23 +02:00
Éric Lemoine db91206d41 code styling 2012-07-18 20:27:38 +02:00
Éric Lemoine 7fc82daafa dom layer renderer - support opacity and visibility change 2012-07-18 16:33:27 +02:00
Éric Lemoine b53e5a3fda two maps in the skeleton example 2012-07-18 16:33:27 +02:00
Éric Lemoine 1af79ede29 dom map renderer - add FIXMEs 2012-07-18 14:52:12 +02:00
Éric Lemoine 3724fca57d dom map renderer - new properties for layerPane 2012-07-18 14:50:34 +02:00
Éric Lemoine a9438fefd9 make gjslint happy 2012-07-18 14:50:01 +02:00
Éric Lemoine 6d61ac2bc5 dom map renderer - map shiftLayersPane_ work 2012-07-18 14:49:30 +02:00
Éric Lemoine 808a854d0f dom map renderer - add a viewport div to the top of hierarchy, this is to handle overflow of tiles 2012-07-18 14:47:41 +02:00
Éric Lemoine 1d565fc4d6 dom map renderer - use goog.asserts 2012-07-18 14:43:57 +02:00
Éric Lemoine da6263fec8 dom layer renderer - origin and setOrigin are back 2012-07-18 14:43:16 +02:00
Éric Lemoine db4603940d dom renderer - reset the layers pane when center changes 2012-07-18 11:13:32 +02:00
Éric Lemoine f491a5a4d2 setting top and left to 0 is not necessary 2012-07-18 11:12:46 +02:00
Éric Lemoine be97a57cad remove state variables from the dom map and dom layer renderers 2012-07-18 11:12:14 +02:00
Éric Lemoine b31c3f90bd initial port of @tschaub DOM renderer 2012-07-17 22:28:58 +02:00
Éric Lemoine 5b5b89819e alphabetize goog.require classes for gjslint 2012-07-17 22:13:15 +02:00
Éric Lemoine b4fea2233e remove setDefaultCenterAndResolution 2012-07-17 17:21:28 +02:00
Éric Lemoine 6f1f9922cc more structure in doc/ol3.md 2012-07-11 17:12:37 +02:00
Éric Lemoine 3efa392d1f ol3.md updates 2012-07-11 17:12:37 +02:00
Éric Lemoine c07d0c668d change ol3 doc from txt to markdown 2012-07-11 17:12:37 +02:00
Éric Lemoine 1bd975bc23 add design assertions to the doc/ol3.txt doc 2012-07-11 17:12:37 +02:00
Éric Lemoine fbd4023d6a [ol.layer.TileLayer] better func comment 2012-06-24 22:30:48 +02:00
Éric Lemoine 192caa1c65 [ol.layer.TileLayer] do not load tiles outside the layer's extent 2012-06-24 22:25:01 +02:00
Éric Lemoine b615eb94b7 add a ol.layer.wms factory 2012-06-23 21:53:45 +02:00
Éric Lemoine 0b36e10f8f [ol.map] option name maxRes changed to maxResolution (discussed in cdd9439) 2012-06-23 21:27:39 +02:00
Éric Lemoine c7e799ebf4 [ol.popup] make the API tests pass in advanced mode 2012-06-23 21:20:15 +02:00
Éric Lemoine 0eaaefdf1d make the TileLayerRenderer tests pass 2012-06-22 20:43:13 +02:00
Éric Lemoine f92e128636 [ol.layer.WMS] add a basic tiled WMS layer implementation 2012-06-22 20:39:56 +02:00
Éric Lemoine 5dc156995a [ol.layer.TileLayer] use ol.error 2012-06-22 18:46:52 +02:00
Éric Lemoine a26913f26e [ol.layer.TileLayer] getTileUrl should be implemented in subclasses 2012-06-22 18:31:32 +02:00
Éric Lemoine 68fdab6824 [ol.layer.TileLayer] do not create tiles outside the layer extent 2012-06-22 17:30:35 +02:00
Éric Lemoine 22f569750f [ol.TileCache] tile cache size is not 1 2012-06-22 16:53:56 +02:00
Éric Lemoine c501559413 Revert "[ol.TileCache] tile cache size is not 1"
This reverts commit 3f9fd2f47a.
2012-06-22 16:51:28 +02:00
Éric Lemoine 3f9fd2f47a [ol.TileCache] tile cache size is not 1 2012-06-22 16:48:48 +02:00
Éric Lemoine e5c3dcfe09 [ol.layer.TileLayer] fix maxResolution calculation 2012-06-22 15:43:18 +02:00
Éric Lemoine 1df7c048b8 [ol.layer.TileLayer] tileOriginCorner is tl by default 2012-06-22 15:43:18 +02:00
Éric Lemoine 71a804c5e0 [ol.layer.TileLayer] add a getTileForXYZ func 2012-06-22 15:16:58 +02:00
Éric Lemoine 01668a2748 [ol.layer.TileLayer] add a getTileSize function 2012-06-22 14:09:57 +02:00
Éric Lemoine cf3da75d83 fix layer.osm and layer.xyz api tests in adv mode 2012-06-22 14:04:44 +02:00
Éric Lemoine e78b990f52 fix ol.geom.geometry api tests 2012-06-22 13:57:43 +02:00
Éric Lemoine 2e7d361f1e make the feature api tests pass in advanced mode 2012-06-22 12:50:06 +02:00
Éric Lemoine 2d50a35850 the API user does not know about UnreferencedBounds, and remove getResForZoom and getMaxRes from the map API 2012-06-22 12:34:15 +02:00
Éric Lemoine 1d114b4630 two test pages, one for api, one for ol 2012-06-22 12:17:57 +02:00
Éric Lemoine a0e5741774 [ol.layer.TileLayer, ol.layer.XYZ] add a getMaxResolution func to TileLayer, and make ol.layer.XYZ be just a projection and a number of zoom levels 2012-06-22 11:52:40 +02:00
Éric Lemoine 86a3eaad19 [ol.layer.TileLayer] move getData from layer.XYZ to layer.TileLayer 2012-06-22 11:09:08 +02:00
Éric Lemoine cb37aaa01b map.test.js - fix the map is destroyable test in advanced mode 2012-06-22 10:59:57 +02:00
Éric Lemoine ad2c3e15e3 [ol.Tile] as an isLoading method 2012-06-22 10:51:59 +02:00
Éric Lemoine 0cf1a830d9 [ol.layer.XYZ] no need to call setResolutions 2012-06-22 10:41:06 +02:00
Éric Lemoine 7c36d2f42f [ol.layer.XYZ] does not require ol.Tile 2012-06-22 10:40:25 +02:00
Éric Lemoine 9d21d6f20f [ol.TileLayer] no setTileSize method anymore 2012-06-22 10:39:53 +02:00
Éric Lemoine f7a956f404 [ol.Tile] add ol.Tile.createConstructor and set width and height to the img archetype 2012-06-22 10:38:40 +02:00
Éric Lemoine 9529db0151 throw an error if ol.map gets passed an unknown option 2012-06-21 20:16:11 +02:00
Éric Lemoine 7e8c418155 fix ol.error 2012-06-21 20:16:11 +02:00
Éric Lemoine 5388657791 [ol.Tile] a tile can be loaded only once 2012-06-21 19:37:16 +02:00
Éric Lemoine 6c76f4621e [ol.Tile] add a isLoaded function 2012-06-21 19:10:28 +02:00
Éric Lemoine 98495cafc3 [ol.Tile] an image is a HTMLImageElement 2012-06-21 19:00:09 +02:00
Éric Lemoine 1c7e0f8481 add an ol.TileCache and use it in ol.TileLayer 2012-06-21 19:00:09 +02:00
Éric Lemoine 435557b425 [ol.Tile] trigger load and error events 2012-06-21 16:10:52 +02:00
Éric Lemoine 79b0bb74c8 [ol.Tile] add comments for handleImageLoad and handleImageError 2012-06-21 16:10:51 +02:00
Éric Lemoine e72ab5135c [ol.Tile] register to image error 2012-06-21 16:10:51 +02:00
Éric Lemoine 1dc6b04ac1 [ol.Tile] register to image load 2012-06-21 16:10:51 +02:00
Éric Lemoine 1cca6b4069 add numZoomLevels and maxResolution properties to the TileLayer 2012-06-21 14:18:52 +02:00
Éric Lemoine 5f1e53a0c9 move properties from layer/XYZ to layer/TileLayer 2012-06-21 12:42:36 +02:00
Éric Lemoine 22bffd9d8b add an OSM layer constructor to the API 2012-06-21 08:46:23 +02:00
Éric Lemoine b91769f00b [ol.layer.XYZ] less than 8 chars lines 2012-06-21 08:38:38 +02:00
Éric Lemoine 7413770a46 add an ol.layer.xyz factory 2012-06-20 18:09:10 +02:00
Éric Lemoine 025547d199 [ol.Layer.XYZ] minor changes in code comments 2012-06-20 17:43:24 +02:00
Éric Lemoine 7bf05964b8 [ol.layer.XYZ] more tiling fixes, and additional tests 2012-06-20 16:18:01 +02:00