Commit Graph

172 Commits

Author SHA1 Message Date
Petr Pridal f31486a982 The dynamic registration of controls - hack for the advanced mode compilation. 2012-06-22 13:13:22 +02:00
Éric Lemoine 2e7d361f1e make the feature api tests pass in advanced mode 2012-06-22 12:50:06 +02:00
Marc Jansen f143f32a6f Use ol.error instead of throwing directly. 2012-06-22 12:37:10 +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
Tom Payne 3e15ce93bb Use ol.base.checkKeys to check keys 2012-06-22 11:58:03 +02:00
Tom Payne afd6369da7 Add ol.base.checkKeys 2012-06-22 11:56:45 +02:00
Tom Payne fd4c776181 Create new ol.base and include ol.error 2012-06-22 11:56:45 +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
ahocevar deb84cf212 Removing unused code. 2012-06-22 11:42:17 +02:00
ahocevar fbcca9642c Use renderTo instead of el as method/option name. 2012-06-22 11:17:27 +02:00
Éric Lemoine 86a3eaad19 [ol.layer.TileLayer] move getData from layer.XYZ to layer.TileLayer 2012-06-22 11:09:08 +02:00
Tom Payne 0b06267afe Trigger redraws on tile loads. 2012-06-22 11:02:44 +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
Marc Jansen 67ce7afe67 Export the Collection constructor. 2012-06-22 09:45:05 +02:00
Marc Jansen bed71db109 Export the LineString constructor. 2012-06-22 09:44:21 +02:00
Marc Jansen 9a533aeb7d Export the MultiPoint constructor. 2012-06-22 09:41:37 +02:00
Marc Jansen 3a40925a7d API point fixed (using ADVANCED compilation) 2012-06-22 09:36:58 +02:00
Petr Pridal 8ace8aee78 Added missing goog.require() 2012-06-22 01:43:09 +02:00
Petr Pridal e10a845058 Advanced compilation of the API with 'bin/ol api' 2012-06-22 01:32:29 +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
Tim Schaub c67ca2660d Partial tile layer renderer. 2012-06-21 19:59:43 +02:00
Tim Schaub 948e792ddd Bounds transforms. 2012-06-21 19:59:43 +02:00
Tim Schaub 6198df9381 Location transform in api. 2012-06-21 19:59:43 +02:00
ahocevar 4776b11658 Now the map also has overlay divs. 2012-06-21 19:40:04 +02:00
Éric Lemoine 5388657791 [ol.Tile] a tile can be loaded only once 2012-06-21 19:37:16 +02:00
ahocevar ed62cc00a7 Fixing typos. 2012-06-21 19:36:11 +02:00
ahocevar 188615391d Using a map for controls also. 2012-06-21 19:33:33 +02:00
ahocevar 9bd507e9b8 Adding a map of sequence providers 2012-06-21 19:27:18 +02:00
Éric Lemoine 6c76f4621e [ol.Tile] add a isLoaded function 2012-06-21 19:10:28 +02:00
Tom Payne 79f5339573 Add simple ol.error function 2012-06-21 19:01:27 +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
ahocevar e9e5fd27dc The map now has a viewport and can render to a container. 2012-06-21 18:56:48 +02:00
Marc Jansen 8f90db58dc MultiPoints shall only contain points. 2012-06-21 18:23:37 +02:00
Marc Jansen 340caf2720 Collections cannot contain Collections.
By having both the constructor and the setComponents checking
a white- and a blacklist for allowed types, we ensure that no
Collections can be added through these methods to the list of
components.
2012-06-21 18:23:37 +02:00
ahocevar 8d8819ec3c Removing unused file and code. 2012-06-21 17:30:23 +02:00
Tim Schaub 7c17374231 Bounds has projection or null. 2012-06-21 17:28:47 +02:00
ahocevar 81a55eb320 Finally fixing event sequences. 2012-06-21 17:26:23 +02:00
Tim Schaub 0a1f8cddd8 Intersects method for bounds. 2012-06-21 17:12:05 +02:00
Petr Pridal 08ad8c80d6 Rename MapRenderer attribut 'target' to 'container' to follow the new conventions. 2012-06-21 17:01:21 +02:00
Tom Payne 8448aba616 Add initial WebGL renderer skeleton 2012-06-21 16:39:47 +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