Commit Graph

11210 Commits

Author SHA1 Message Date
Éric Lemoine
3820caade1 Style function returns an array of styles 2013-11-26 14:19:24 +01:00
Tom Payne
733da2dd70 Clone extents in ol.structs.RBush to prevent modification 2013-11-26 12:15:40 +01:00
Tom Payne
85c9ca2000 Add optional destination argument to ol.extent.clone 2013-11-26 12:15:09 +01:00
Tom Payne
4de5cda4a1 Keep R-Tree up-to-date in ol.source.Vector 2013-11-26 11:57:38 +01:00
Tom Payne
55730e9279 Add ol.structs.RBush#update 2013-11-26 11:57:38 +01:00
Tom Payne
48e78533b9 Add FIXME 2013-11-26 11:57:38 +01:00
Tom Payne
2df03fbf96 Implement ol.structs.RBush#remove_ 2013-11-26 11:57:38 +01:00
Tom Payne
d5f1a35f9a Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
2013-11-26 11:57:37 +01:00
Tom Payne
62b9aa0595 Refactor ol.structs.RBush tests 2013-11-26 11:57:37 +01:00
Tom Payne
4981552fb1 Add ol.structs.RBush#assertValid 2013-11-26 11:57:37 +01:00
Tom Payne
e749715abd Move ol.structs.RTree out of the way 2013-11-26 11:57:37 +01:00
Tom Payne
9576473072 Port rtree example to ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne
8294ca9f57 Port ol.source.Vector to ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne
4cddee2a0e Add ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne
7967edb8f0 Add ol.extent.getMargin 2013-11-26 11:57:37 +01:00
Tom Payne
8c6e5287b5 Add ol.extent.getIntersectionArea 2013-11-26 11:57:36 +01:00
Tom Payne
61afebb1ec Add ol.extent.getEnlargedArea 2013-11-26 11:57:36 +01:00
Tom Payne
0294691446 Add ol.extent.getArea 2013-11-26 11:57:36 +01:00
Tom Payne
b99fac9901 Return extent from ol.extent.extend 2013-11-26 11:57:36 +01:00
Tom Payne
b0d5f96b65 Rename ol.render.canvas.Replay#draw to replay 2013-11-25 20:03:21 +01:00
Tom Payne
ae29e70cfd Use ol.style.Style in rtree example 2013-11-24 16:55:20 +01:00
Tom Payne
d358e80937 Improve type checking in ol.TileRange 2013-11-24 14:33:58 +01:00
Tom Payne
6584ef985f Improve type checking in ol.renderer.canvas.Map 2013-11-24 14:33:47 +01:00
Tom Payne
617635ed80 Improve type checking in ol.renderer.webgl.Map 2013-11-24 14:28:44 +01:00
Éric Lemoine
6ca2fef0a3 Always same format for color strings 2013-11-22 17:02:59 +01:00
Éric Lemoine
b78bcce8ab Draw a temporary point in geojson example 2013-11-22 17:01:55 +01:00
Éric Lemoine
95826cd3c8 Add FIXME 2013-11-22 17:01:55 +01:00
Éric Lemoine
34ce9e478d Store raw style values in immediate objects
This commit also uses default style values (e.g.  ol.render.canvas.defaultStrokeFill) when no value is defined by the user.
2013-11-22 17:01:54 +01:00
Éric Lemoine
68caa8141c Fix typo in replay code 2013-11-22 16:36:06 +01:00
Éric Lemoine
c4731ff37b Use canvas style default values 2013-11-22 11:49:14 +01:00
Éric Lemoine
2a122f057c Rename currentFillColor to currentFillStyle 2013-11-22 11:49:14 +01:00
Éric Lemoine
d3ad1a7506 Add canvas style default values 2013-11-22 11:49:14 +01:00
Éric Lemoine
92a34d380b Make setting image rotation and subtractViewRotation optional 2013-11-22 11:49:13 +01:00
Éric Lemoine
66bda92597 Make setting stroke color and width optional 2013-11-22 11:49:13 +01:00
Éric Lemoine
3655d15f61 Make setting a fill color optional 2013-11-22 11:49:13 +01:00
Tom Payne
9396df54c3 Always use a defined renderGeometryFunction, thanks @elemoine 2013-11-22 11:34:42 +01:00
Tom Payne
fd48b06dc0 Skip rendering highlighted feature in vector-layer example 2013-11-22 11:34:42 +01:00
Tom Payne
13ed52d9e8 Add FIXME 2013-11-22 11:34:42 +01:00
Tom Payne
32833a15bb Implement skipping of LineString and MultiLineString geometries 2013-11-22 11:34:42 +01:00
Tom Payne
a9af504a19 Factor out ol.render.canvas.LineStringReplay#setStrokeStyle_ 2013-11-22 11:34:42 +01:00
Tom Payne
1cccdfa9db Implement skipping of Point and MultiPoint geometries 2013-11-22 11:34:42 +01:00
Tom Payne
8b6f71f7f6 Factor out beginGeometry and endGeometry 2013-11-22 11:34:42 +01:00
Tom Payne
297251661a Implement skipping of Polygon and MultiPolygon geometries 2013-11-22 11:34:41 +01:00
Tom Payne
d05530290f Add BEGIN_GEOMETRY instruction 2013-11-22 11:34:41 +01:00
Tom Payne
a570261886 Pass renderGeometryFunction to ol.render.canvas.ReplayGroup 2013-11-22 11:34:41 +01:00
Tom Payne
b11c34261b Rename renderFeatureFunction to renderGeometryFunction 2013-11-22 11:34:41 +01:00
Éric Lemoine
381eef2cfb Simplify style setting in geojson example 2013-11-21 23:06:01 +01:00
Éric Lemoine
ff66a60e5e Export ol.webgl.Context
It's used in the layer-clipping-webgl example
2013-11-21 23:04:37 +01:00
Éric Lemoine
d973c40141 Export getAllFeaturesAtCoordinate 2013-11-21 23:04:37 +01:00
Éric Lemoine
43a903d98b Make vector-layer example work when hosted 2013-11-21 23:04:37 +01:00