Commit Graph

221 Commits

Author SHA1 Message Date
Marc Jansen
c54dda723a Remove debugg statement 2012-06-22 18:26:09 +02:00
Marc Jansen
be9448457d Test & improve the getCentroid/centroid method of collections 2012-06-22 18:24:53 +02:00
Marc Jansen
abb254a0fb Test the getCentroid/centroid Method of multipoints 2012-06-22 18:24:53 +02:00
Tim Schaub
2fffa0293d Test renderer type. 2012-06-22 17:48:44 +02:00
Éric Lemoine
68fdab6824 [ol.layer.TileLayer] do not create tiles outside the layer extent 2012-06-22 17:30:35 +02:00
Marc Jansen
4dd3e695a4 Test the getCentroid/centroid Method of linestrings 2012-06-22 17:25:39 +02:00
Marc Jansen
bddb84ec14 Fix the the 'remove' exists test. 2012-06-22 17:25:39 +02:00
ahocevar
d9537b558a Simplified ISequence API; add object property also for browser events. 2012-06-22 17:12:29 +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
Marc Jansen
e23b119059 Whitespace changes only. 2012-06-22 16:26:19 +02:00
Marc Jansen
09d7f15fb2 Give points a getCentroid/centroid method. 2012-06-22 16:26:19 +02:00
Tim Schaub
db3a6e9c4a Get closest resolution. 2012-06-22 16:14:33 +02:00
Éric Lemoine
1df7c048b8 [ol.layer.TileLayer] tileOriginCorner is tl by default 2012-06-22 15:43:18 +02:00
Tim Schaub
ef06bee222 Allowing people to set up things backwards. 2012-06-22 15:42:56 +02:00
Éric Lemoine
71a804c5e0 [ol.layer.TileLayer] add a getTileForXYZ func 2012-06-22 15:16:58 +02:00
Mike Adair
675dd2b47e Merge branch 'master' of github.com:openlayers/ol3 2012-06-22 08:14:42 -04:00
ahocevar
494305d725 Simplified the ISequence interface and sequence event handling. 2012-06-22 14:14:10 +02:00
Mike Adair
368bb28671 initial version of popups 2012-06-22 08:13:34 -04:00
Éric Lemoine
01668a2748 [ol.layer.TileLayer] add a getTileSize function 2012-06-22 14:09:57 +02:00
Tim Schaub
4e2ea47e73 Decode what we encode. 2012-06-22 13:12:47 +02:00
Marc Jansen
11aedf710b Test restructuring. No functional change. 2012-06-22 13:07:52 +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
Marc Jansen
f6a728b074 Do not loose URL-parameters passed to jasmine. 2012-06-22 12:14:35 +02:00
Tom Payne
3e15ce93bb Use ol.base.checkKeys to check keys 2012-06-22 11:58:03 +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
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
45917504b0 Fix the geom tests to only use API methods. 2012-06-22 09:18:12 +02:00
Éric Lemoine
9529db0151 throw an error if ol.map gets passed an unknown option 2012-06-21 20:16:11 +02:00
Tim Schaub
948e792ddd Bounds transforms. 2012-06-21 19:59:43 +02:00
Tim Schaub
ba7b54949c Bounds spec. 2012-06-21 19:59:43 +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
Éric Lemoine
1c7e0f8481 add an ol.TileCache and use it in ol.TileLayer 2012-06-21 19:00:09 +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
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
Éric Lemoine
435557b425 [ol.Tile] trigger load and error events 2012-06-21 16:10:52 +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
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