Commit Graph

6205 Commits

Author SHA1 Message Date
É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
Marc Jansen 45917504b0 Fix the geom tests to only use API methods. 2012-06-22 09:18:12 +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
Tim Schaub ba7b54949c Bounds spec. 2012-06-21 19:59:43 +02:00
Tom Payne 7f7528baf9 Add GeoJSON externs. 2012-06-21 19:47:12 +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 a06de64f37 Minimal demo. 2012-06-21 18:57:07 +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
Marc Jansen ce49bb8876 Add LineString/linestring.
The inhertance of this class might change in the future.
2012-06-21 16:00:08 +02:00
Marc Jansen 745ae25b6b Change the inhertance of MultiPoint/multipoint. 2012-06-21 16:00:08 +02:00
Marc Jansen 0374d1abc7 Add geom.Collection & geom.collection.
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Petr Pridal 6ca9112af2 WebGL MapRenderer inicializaiton with a test (it may fail on computers without WebGL). 2012-06-21 15:51:00 +02:00
Éric Lemoine 1cca6b4069 add numZoomLevels and maxResolution properties to the TileLayer 2012-06-21 14:18:52 +02:00
ahocevar 5b747cf7fd Temporarily removing Drag sequence. 2012-06-21 14:14:36 +02:00
ahocevar 6213e07f96 Navigation control with Drag sequence Dragger
This is totally unfinished, but tests pass, and it is only meant to give the map a Navigation control.
2012-06-21 14:08:50 +02:00
Petr Pridal 8fc1e9cc98 More complete constructor of the WebGL MapRenderer. 2012-06-21 13:53:10 +02:00
Tim Schaub 2741a22cf1 Add animate to draw. 2012-06-21 13:31:23 +02:00
Tim Schaub a6f464e473 New name for element.
You are provided a container.  To this container you can append elements, and you are responsible for removing elements that you add.  You cannot move or otherwise alter anything about this container.
2012-06-21 13:28:29 +02:00
Éric Lemoine 5f1e53a0c9 move properties from layer/XYZ to layer/TileLayer 2012-06-21 12:42:36 +02:00
Tim Schaub 5da8fc8d49 Allow map renderers access to target. 2012-06-21 12:26:51 +02:00