Commit Graph

11431 Commits

Author SHA1 Message Date
Tom Payne
aa0a02b935 Enable remaining ol.source.Vector tests 2013-12-04 15:03:20 +01:00
Tom Payne
79c6787e52 Add ol.source.Vector#clear 2013-12-04 14:59:30 +01:00
Tom Payne
ae3ab95b56 Factor out ol.source.Vector#removeFeatureInternal_ 2013-12-04 14:59:18 +01:00
Tom Payne
66457a7aaf Add ol.source.Vector#isEmpty 2013-12-04 14:49:25 +01:00
Tom Payne
d5e5749967 Add ol.structs.RBush#isEmpty 2013-12-04 14:48:21 +01:00
Tom Payne
a836d6924d Add FIXME 2013-12-04 00:05:45 +01:00
Tom Payne
9d57b53c0f Add optional layerFunction to ol.Map#forEachFeatureAtPixel 2013-12-04 00:05:45 +01:00
Tom Payne
5acc673c68 Add layer to forEachFeatureAtPixel callbacks in examples 2013-12-04 00:05:45 +01:00
Tom Payne
e9267e401c Pass layer to forEachFeatureAtPixel callback 2013-12-04 00:05:45 +01:00
Tom Payne
f1a9f76841 Break out of forEachFeatureAtPixel as soon as hit detected in vector-layer example 2013-12-04 00:05:45 +01:00
Tom Payne
41811e6566 Break out of forEachFeatureAtPixel as soon as hit detected in synthetic-points example 2013-12-04 00:05:45 +01:00
Tom Payne
15fd9f7662 Break out of forEachFeatureAtPixel as soon as hit detected in icon example 2013-12-04 00:05:44 +01:00
Tom Payne
d7591594ca Allow forEachFeatureAtPixel callback to break out of loop 2013-12-04 00:05:44 +01:00
Tom Payne
1a9d19a2fb Allow geometries to have null coordinates and add setFlatCoordinates 2013-12-03 19:58:34 +01:00
Tom Payne
580f7d2022 Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss 2013-12-03 19:43:00 +01:00
Tom Payne
b06ef0290c Add ol.geom.flat.deflateCoordinate 2013-12-03 16:53:23 +01:00
Tom Payne
27982ec5e7 Factor out ol.geom.Geometry.getStrideForLayout_ 2013-12-03 15:44:44 +01:00
Tom Payne
0477101c28 Factor out ol.geom.Geometry.getLayoutForStride_ 2013-12-03 15:44:25 +01:00
Tom Payne
191b6fd051 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-02 17:51:21 +01:00
Éric Lemoine
c904ca1d90 Merge pull request #1327 from oterral/fix_galaxytab
Fix map navigation on some android native browsers
2013-12-02 07:16:17 -08:00
Éric Lemoine
6b9bc9d8e8 Use hit detection in vector-layer example
The hit detection code doesn't correctly play well with the skiping of geometries using the renderGeometryFunction. Features/geometries that are not rendered by the replay API are not detected by the hit detection mechanism. For that reason, until we find a solution, we don't use renderGeometryFunction in the vector-layer example.
2013-12-02 15:06:19 +01:00
Éric Lemoine
24e7a81ae5 Detect when mouse is over marker in icon example 2013-12-02 15:06:19 +01:00
Éric Lemoine
53ecc8edb6 Add popup back to icon example 2013-12-02 15:06:19 +01:00
Éric Lemoine
a1e1393f44 Add hit detection to synthetic-points example 2013-12-02 15:06:19 +01:00
Éric Lemoine
374d5f99f6 Add ol.Map#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine
6f423726a9 Add ol.renderer.Map#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine
65c922f580 Add ol.renderer.canvas.VectorLayer#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine
e9843ced57 Add ol.renderer.Layer#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine
a537814169 Add hit detection support to replay API 2013-12-02 15:06:19 +01:00
Éric Lemoine
09a88569a8 Add per-geometry mode to replay API 2013-12-02 15:06:19 +01:00
Éric Lemoine
b98ff1619d Add getRenderGeometryFunction_ 2013-12-02 15:06:18 +01:00
Éric Lemoine
e358321b92 The iRender draw functions are passed a data object 2013-12-02 15:06:18 +01:00
Tom Payne
2c40daea22 Add ol.geom.LinearRing#getArea 2013-12-02 14:47:32 +01:00
Tom Payne
01c185ef57 Exploit known sense of rings to simplify area calculation 2013-12-02 12:15:07 +01:00
Tom Payne
8852e3198c Add ol.geom.MultiPolygon#getArea 2013-12-02 12:07:34 +01:00
Tom Payne
bb294bf52f Add ol.geom.Polygon#getArea 2013-12-02 12:07:33 +01:00
Tom Payne
ff1b039615 Add ol.geom.flat.linearRingssArea 2013-12-02 12:07:33 +01:00
Tom Payne
e90776a099 Add ol.geom.flat.linearRingsArea 2013-12-02 12:07:33 +01:00
Tom Payne
f80cad531b Add ol.geom.flat.linearRingArea 2013-12-02 12:07:33 +01:00
Tom Payne
c3378d0bd5 Order test cases alphabetically 2013-12-02 12:07:10 +01:00
Frederic Junod
c36920774a Add fill and stroke properties to ol.style.Text 2013-12-02 11:05:24 +01:00
Frederic Junod
1bf2d94968 Add rotation property to ol.style.Text 2013-12-02 10:55:37 +01:00
Frederic Junod
287377c844 Remove Text from ol.render.ReplayType 2013-12-02 10:46:55 +01:00
Frederic Junod
ffc357f4d4 Add text style default values 2013-12-02 10:43:22 +01:00
Tom Payne
44a28e3c16 Use ol.vec.Mat4.equals2D in ol.renderer.dom.TileLayer 2013-12-02 09:57:02 +01:00
Tom Payne
e1305b4614 Use ol.vec.Mat4.equals2D in ol.renderer.dom.ImageLayer 2013-12-02 09:57:02 +01:00
Tom Payne
3ab00704d8 Rename ol.vec.Mat4.equal2D to ol.vec.Mat4.equals2D 2013-12-02 09:57:02 +01:00
Tom Payne
2ba5cf6167 Use ol.vec.Mat4.makeTransform2D in ol.renderer.webgl.TileLayer 2013-12-02 09:57:02 +01:00
Tom Payne
20bd020c13 Use ol.vec.Mat4.makeTransform2D in ol.renderer.Map 2013-12-02 09:57:01 +01:00
Tom Payne
6b96cf4ed5 Use ol.vec.Mat4.makeTransform2D in ol.renderer.dom.TileLayer 2013-12-02 09:57:01 +01:00