Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne ec03be94d6 Add initial ol.geom.simplify 2013-12-09 16:37:32 +01:00
Tom Payne 554e17ac22 Set geometry to null if no geometry given 2013-12-07 19:51:54 +01:00
Tom Payne 1ae13f152d Fire change event when an ol.geom.Geometry is transformed 2013-12-06 21:12:32 +01:00
Tom Payne 6c5f1fbcce Make ol.geom.Geometry inherit from ol.Observable 2013-12-06 16:30:00 +01:00
Tom Payne 550da14781 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-06 16:29:13 +01:00
Tom Payne 1dd5f7f7c8 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-05 16:53:04 +01:00
Tom Payne fac8936688 Merge pull request #1333 from twpayne/object-get-properties
Add ol.Object#getProperties
2013-12-05 07:40:32 -08:00
Tom Payne 7ae7c8e41e Merge pull request #1334 from twpayne/build-check
Don't build ol.css in check target
2013-12-05 07:40:13 -08:00
Tom Payne dfdec96ba7 Export ol.Object#getProperties 2013-12-05 16:32:41 +01:00
Tom Payne 82fa4861e7 Allow ol.geom.LinearRings to have null coordinates and add setFlatCoordinates 2013-12-05 16:23:56 +01:00
Tom Payne 72cf6e03cd Add ol.Object#getProperties 2013-12-05 16:23:56 +01:00
Tom Payne d9c94c7012 Don't build ol.css in check target 2013-12-05 13:12:39 +01:00
Tom Payne f795adcd56 Add ol.Object#getProperties 2013-12-04 19:19:51 +01:00
Tom Payne 057cda42be Rename ol.geom.Type to ol.geom.GeometryType 2013-12-04 16:28:36 +01:00
Tom Payne c2228b1d19 Rename ol.geom.Layout to ol.geom.GeometryLayout 2013-12-04 16:27:03 +01:00
Tom Payne 600cb3a0ff Add @struct annotation where possible 2013-12-04 16:07:39 +01:00
Tom Payne bcda3aa3c2 Merge pull request #1331 from twpayne/rbush-is-empty
Add ol.structs.RBush#isEmpty
2013-12-04 06:26:41 -08:00
Tom Payne 2be40a1ae6 Add ol.structs.RBush#isEmpty 2013-12-04 15:05:43 +01:00
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 b64e899b92 Merge pull request #1330 from twpayne/fail-if-major-performance-caveat
Don't use WebGL if there as a major performance caveat
2013-12-04 04:58:46 -08:00
Tom Payne 0d3583bd8d Improve type checking in WebGL support test 2013-12-04 11:59:29 +01:00
Tom Payne d6dc1a2c6f Don't use WebGL if there is a major performance caveat 2013-12-04 11:58:05 +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
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