Commit Graph
100 Commits
Author SHA1 Message Date
É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
Éric Lemoine d4ebe97ab1 [test/index.html] remove the mode=RAW script tag again, it does not work anymore 2012-06-20 15:50:31 +02:00
Éric Lemoine 2890a55ee7 [ol.layer.XYZ] a tiling fix 2012-06-20 15:13:22 +02:00
Éric Lemoine e989c61e63 make the tests run in Closure RAW mode, but leave the SIMPLE mode script tag to still catch compilation errors/warnings while running tests 2012-06-20 15:11:20 +02:00
Éric Lemoine a4a90b18b7 [ol.layer.XYZ] zoomForResolution is no longer private 2012-06-20 12:04:07 +02:00
Éric Lemoine a7a86bb169 add a Jasmine toBeA matcher 2012-06-20 11:44:43 +02:00
Éric Lemoine e995ffea89 more "setters should not return this" changes + warning fixes 2012-06-20 11:21:29 +02:00
Éric Lemoine 27305925ff run fromdos on ol/Map.js 2012-06-20 11:21:29 +02:00
Éric Lemoine 487e61884e EPI setters no longer return this 2012-06-20 11:21:29 +02:00
Éric Lemoine 4fcc00e39c move ol.Projection code and units methods to the api dir 2012-06-20 10:28:54 +02:00
Éric Lemoine a96b559ddd very first XYZ layer bits 2012-06-20 09:18:46 +02:00
Éric Lemoine 5f557e6c6c the TileSet constructor takes 4 args 2012-06-20 09:17:55 +02:00
Éric Lemoine 8d74113897 the Tile constructor now takes a url as the first arg 2012-06-20 09:17:55 +02:00
Éric Lemoine 84d594cacb Tile.test.js - remove test that sets a src on the image 2012-06-20 09:17:55 +02:00
Éric Lemoine 1c8abd38a6 add a basic TileSet class 2012-06-19 15:18:34 +02:00
Éric Lemoine 79af86bde5 minor doc string additions to ol.Tile 2012-06-19 15:01:57 +02:00
Éric Lemoine ce20ba066c add an ol.Tile class 2012-06-19 14:52:25 +02:00
Éric Lemoine 69214d11b1 improvements to the release.sh script (refs #525) 2012-06-15 11:10:51 +02:00
Éric Lemoine 3b69a3083c set VERSION_NUMBER to 2.12-rc7 2012-06-12 22:35:12 +02:00
Éric Lemoine 8208241e55 fix the kml-pointtrack.html example 2012-06-12 22:03:30 +02:00
Éric Lemoine 476556e864 use -webkit-transform: translate3d(0, 0, 0) in style.mobile.css for better performance on iOS, and to prevent tile blinking effects on iOS 5 2012-06-07 09:24:32 +02:00
Éric Lemoine 788d5a645a move the style.mobile.css file from examples to theme/default 2012-06-07 09:21:44 +02:00
Éric Lemoine acb489ad79 set VERSION_NUMBER to 2.12-rc6 2012-06-04 22:02:36 +02:00
Éric Lemoine e3d1d3ea62 more tests for SelectControl.unselectAll 2012-05-31 18:27:55 +02:00
Éric Lemoine 976554fc82 make SelectControl.unselectAll safer, use @ahocevar's implementation 2012-05-31 18:27:55 +02:00
Éric Lemoine e603b06715 make SelectControl.unselectAll safer 2012-05-31 18:27:54 +02:00
Éric Lemoine 2141cb9c0a Merge branch '2.12' 2012-05-25 15:08:58 +02:00
Éric Lemoine f5c43d6506 set VERSION_NUMBER to Release 2.12-rc5 2012-05-25 14:55:14 +02:00
Éric Lemoine d289aa327e Grid.removeExcessTiles removes more tiles than it should, refs #481 2012-05-24 22:55:43 +02:00
Éric Lemoine 2cd979d34c use the nightly version of Google Maps API in the examples, and provide some information about Google Maps API versioning in the google-v3 example 2012-05-22 10:07:18 +02:00
Éric Lemoine 2624ea089e set VERSION_NUMBER to 2.12-rc4 2012-05-16 21:10:08 +02:00
Éric Lemoine 985233c2dd Merge branch '2.12' 2012-05-16 21:05:47 +02:00
Éric Lemoine 62bd06f465 use Util.indexOf in Layer.Bing, for compatibility with IE < 9 2012-05-16 08:24:55 +02:00
Éric Lemoine 114541d0b7 use t.geom_eq in GPX tests 2012-05-15 08:58:23 +02:00
Éric Lemoine f7d4657c14 fix typo in Request.js (refs #462) 2012-05-12 08:56:21 +02:00
Éric Lemoine be6c90ed49 Merge branch '2.12' 2012-05-10 15:54:54 +02:00
Éric Lemoine 4ad6bacc5d when calculating maxResolution from maxExtent and tileSize we dont want to the actual tile size for single layers 2012-05-10 15:42:59 +02:00
Éric Lemoine 98fb795f97 set VERSION_NUMBER to 2.12-rc3 2012-05-05 14:27:12 +02:00
Éric Lemoine e060b2ee4d Merge branch '2.12' 2012-05-05 14:25:51 +02:00
Éric Lemoine 2608a0ebe7 fix resize handling in IE 9 and better (refs #449) 2012-05-04 14:28:12 +02:00
Éric Lemoine b61cfdb054 remove the editing toolbar from the highlight-feature.html, it does not make sense in this example and it prevents selection from working when activating navigation again 2012-05-04 00:12:26 +02:00
Éric Lemoine 743dc9a738 Merge branch '2.12' 2012-05-02 17:11:37 +02:00
Éric Lemoine 612401a644 fix bug where tiles with gutters are shifted (refs #441) 2012-04-28 21:23:55 +02:00
Éric Lemoine 1ace4df160 set OpenLayers.VERSION_NUMBER to Release 2.12-rc2 2012-04-24 21:55:49 +02:00
Éric Lemoine c6c1bf1f77 fix movestart, move, moveend sequence on pan with animate:false 2012-04-23 23:57:48 +02:00
Éric Lemoine a57738e817 Merge branch '2.12' 2012-04-20 15:29:46 +02:00
Éric Lemoine 342f647135 Merge branch '2.12' 2012-04-14 15:00:14 +02:00
Éric Lemoine bfd6be634f if maxResolution is "auto" calculate maxResolution based on maxExtent and map size, else calculate maxResolution based on maxExtent and tile size 2012-04-11 17:45:34 +02:00
Éric Lemoine ebfbb354ed fix the TMS zoomOffset test 2012-04-11 17:43:17 +02:00
Éric Lemoine 6a039fd700 Merge branch '2.12' 2012-04-11 12:58:06 +02:00