Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Tom Payne 432a8d2e19 Use ol.vec.Mat4.makeTransform2D in ol.renderer.dom.ImageLayer 2013-12-02 09:57:01 +01:00
Tom Payne bf08e6afe3 Use ol.vec.Mat4.makeTransform2D in ol.renderer.canvas.TileLayer 2013-12-02 09:57:01 +01:00
Tom Payne 5e5fc85238 Use ol.vec.Mat4.makeTransform2D in ol.renderer.canvas.Layer 2013-12-02 09:57:01 +01:00
Tom Payne 36fee8013a Use ol.vec.Mat4.makeTransform2D in ol.renderer.canvas.ImageLayer 2013-12-02 09:57:01 +01:00
Tom Payne 1cb56d02ac Add ol.vec.Mat4.makeTransform2D 2013-12-02 09:57:01 +01:00
Tom Payne b3473c3cba Add ol.geom.flat.flipXY 2013-12-02 09:08:06 +01:00
Tom Payne dd1e0c616a Cache ol.geom.MultiPolygon interior points 2013-12-02 09:08:06 +01:00
Tom Payne 72df83251d Cache ol.geom.Polygon interior point 2013-12-02 09:08:05 +01:00
Tom Payne c0a50ce24b Add ol.geom.MultiPolygon#getInteriorPoints 2013-12-02 09:08:05 +01:00
Tom Payne a1b1483d3e Add ol.geom.flat.linearRingssMidYs 2013-12-02 09:08:05 +01:00
Tom Payne a466aa3d71 Sort functions alphabetically 2013-12-02 09:08:05 +01:00
Tom Payne 3d35ce75e4 Add ol.geom.Polygon#getInteriorPoint 2013-12-02 09:08:05 +01:00
Tom Payne e7bf44688d Add ol.geom.flat.linearRingsGetInteriorPoint 2013-12-02 09:08:05 +01:00
Tom Payne 6dab67df75 Add ol.geom.MultiPolygon#getPolygons 2013-12-01 21:06:25 +01:00
Tom Payne 2caf6307d4 Add ol.geom.MultiLineString#getLineStrings 2013-12-01 21:06:25 +01:00
Tom Payne 984cac3832 Add ol.geom.MultiPoint#getPoints 2013-12-01 21:06:25 +01:00
Tom Payne 3f49a4ce73 Add ol.geom.LineString#getLength 2013-12-01 21:06:25 +01:00
Tom Payne 321837f157 Add ol.geom.flat.lineStringInterpolate 2013-12-01 21:06:24 +01:00
Tom Payne d45734634a Add ol.geom.flat.linearRingPerimeter 2013-12-01 21:06:24 +01:00
Tom Payne 8c669ab540 Add ol.geom.flat.lineStringLength 2013-12-01 21:06:24 +01:00
Tom Payne c1c813e3fa Add ol.geom.Polygon#getLinearRings 2013-12-01 21:06:11 +01:00
Tom Payne b2a93dcda7 Add ol.geom.LinearRing 2013-12-01 21:06:11 +01:00
Tom Payne 1ecdd675ab ol.geom.Geometry#getExtent is exported in base class 2013-12-01 21:06:11 +01:00
Tom Payne d2fd695635 Merge branch 'master' into vector-api 2013-11-28 21:00:18 +01:00
Tom Payne a06ba8d4aa Fire addfeature and removefeature events from ol.source.Vector 2013-11-28 20:53:17 +01:00
Tom Payne f38e5f5f28 Only set line dash if it is supported 2013-11-28 18:04:01 +01:00
Tom Payne 9895c0f084 Merge pull request #1324 from twpayne/rbush-improvements
RBush improvements
2013-11-27 06:37:52 -08:00
Tom Payne c00d748384 Update ol.interaction.Modify to use ol.structs.RTree#getAllInExtent 2013-11-27 15:11:42 +01:00
Tom Payne 5d3a5ae68e Fix infinite loop bug in ol.structs.RBush 2013-11-27 15:10:18 +01:00
Tom Payne f847b37261 Rename ol.structs.RBush#allInExtent to getAllInExtent 2013-11-27 15:10:18 +01:00
Tom Payne 828456d18e Rename ol.structs.RBush#all to getAll 2013-11-27 15:10:18 +01:00
Tom Payne 978041b68c Only activate ol.structs.RBush conflict checks when goog.DEBUG is true 2013-11-27 15:10:18 +01:00
Tom Payne 665781ee03 Throw an exception if an ol.structs.RBush is modified while reading 2013-11-27 15:10:17 +01:00
Tom Payne 424f8fcc6d Merge remote-tracking branch 'openlayers/master' into vector-api 2013-11-27 13:10:20 +01:00
Tom Payne 92469901f7 Clone extents in ol.structs.RBush to prevent modification 2013-11-26 12:03:00 -07:00
Tom Payne 880f098f0f Add ol.structs.RBush#update 2013-11-26 12:02:59 -07:00
Tom Payne 7ec456fa70 Add FIXME 2013-11-26 12:02:59 -07:00
Tom Payne 1293294d40 Implement ol.structs.RBush#remove_ 2013-11-26 12:02:59 -07:00
Tom Payne b865a7c0e1 Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
2013-11-26 12:02:59 -07:00
Tom Payne 0ea7c2cd50 Refactor ol.structs.RBush tests 2013-11-26 12:02:59 -07:00
Tom Payne a76eba34e8 Add ol.structs.RBush#assertValid 2013-11-26 12:02:59 -07:00
Tom Payne e823e7fde3 Add ol.structs.RBush 2013-11-26 12:02:59 -07:00
Tom Payne f12355a17b Add optional destination argument to ol.extent.clone 2013-11-26 12:02:58 -07:00
Tom Payne 54d22735f2 Add ol.extent.getMargin 2013-11-26 12:02:58 -07:00
Tom Payne 2a6f5a6396 Add ol.extent.getIntersectionArea 2013-11-26 12:02:58 -07:00
Tom Payne 6b02c7f639 Add ol.extent.getEnlargedArea 2013-11-26 12:02:58 -07:00
Tom Payne b74c244088 Add ol.extent.getArea 2013-11-26 12:02:58 -07:00
Tom Payne df96c08e0e Return extent from ol.extent.extend 2013-11-26 12:02:57 -07:00
Tom Payne d994db46f6 Add ol.extent.createOrUpdateFromFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne 67bf15b5dc Add ol.extent.extendFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne ae9f03c8cb Add more extent functions 2013-11-26 12:02:57 -07:00
Tom Payne 9cbd8de188 Fix order of arguments to ol.extent.createOrUpdate 2013-11-26 12:02:57 -07:00
Tom Payne cf0fdff4e2 Add ol.extent.extendXY 2013-11-26 12:02:57 -07: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 900bc176ae Avoid clearing canvas twice 2013-11-25 08:58:18 +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
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