Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 1afaa9b6af Add ol.replay.canvas.LineStringBatch#drawFlatCoordinates_ 2013-11-20 11:41:58 +01:00
Tom Payne 335f24f398 Add ol.replay.canvas.Batch#appendFlatCoordinates 2013-11-20 11:41:58 +01:00
Tom Payne 9d07e6509f Refactor ol.geom.MultiLineString 2013-11-20 11:41:58 +01:00
Tom Payne 7740929036 Add ol.geom.{de,in}flateCoordinatess 2013-11-20 11:41:58 +01:00
Tom Payne a89bf0c329 Refactor ol.geom.Point 2013-11-20 11:41:58 +01:00
Tom Payne 6d32756adf Add ol.geom.MultiPoint 2013-11-20 11:41:57 +01:00
Tom Payne ec748f254e Refactor ol.geom.LineString 2013-11-20 11:41:57 +01:00
Tom Payne a415b66e88 Refactor ol.geom.Geometry to support Z, M and flat coordinates 2013-11-20 11:41:57 +01:00
Tom Payne f67fa27c9e Add ol.geom.{in,de}flateCoordinates 2013-11-20 11:41:57 +01:00
Tom Payne 676792692e Add ol.extent.createOrUpdateFromFlatCoordinates 2013-11-20 11:41:57 +01:00
Tom Payne 2d2140ebf4 Add ol.extent.extendFlatCoordinates 2013-11-20 11:41:57 +01:00
Tom Payne cfaad0eff1 Use raw geometry types 2013-11-20 11:41:57 +01:00
Tom Payne 27ab7da5ee Add raw geometry types 2013-11-20 11:41:57 +01:00
Tom Payne a89c9b17ef Add countries example 2013-11-20 11:41:56 +01:00
Tom Payne e4623af4df Add ol.geom.Geometry#transform 2013-11-20 11:41:56 +01:00
Tom Payne 5bca792288 Refactor ol.format.GeoJSON to implement ol.format.IReader 2013-11-20 11:41:56 +01:00
Tom Payne 2d7c26e3e5 Add ol.format.IReader 2013-11-20 11:41:56 +01:00
Tom Payne 80fa2dd0ef Change example data 2013-11-20 11:41:56 +01:00
Tom Payne 61e221c504 Only draw batches in visible extent 2013-11-20 11:41:56 +01:00
Tom Payne ba1a35b59b Add per-batch extents 2013-11-20 11:41:56 +01:00
Tom Payne 8dab000db1 Add more styling to GeoJSON example 2013-11-20 11:41:56 +01:00
Tom Payne fef9ec155b Refactor batching system 2013-11-20 11:41:55 +01:00
Tom Payne 507662af0b Use arrays instead of objects for canvas instructions 2013-11-20 11:41:55 +01:00
Tom Payne 979d35b3b3 Rename ol.reader to ol.format 2013-11-20 11:41:55 +01:00
Tom Payne 8aa6eb5cb7 Improve filenames 2013-11-20 11:41:55 +01:00
Tom Payne 71a372e0dc Read features directly into source 2013-11-20 11:41:55 +01:00
Tom Payne 14fb455e1c Remove ol.source.GeoJSON 2013-11-20 11:41:55 +01:00
Tom Payne 430949046f Use reader in GeoJSON example, instead of source 2013-11-20 11:41:55 +01:00
Tom Payne 5f7f388714 Add ol.reader.readAllFromObject 2013-11-20 11:41:55 +01:00
Tom Payne 311ee5222d Add MultiPolygon to GeoJSON example 2013-11-20 11:41:55 +01:00
Tom Payne 53d1171d14 Add MultiPolygon reading to ol.reader.GeoJSON 2013-11-20 11:41:54 +01:00
Tom Payne d3952297db Render MultiPolygons 2013-11-20 11:41:54 +01:00
Tom Payne f0a27ceaf0 Add MultiPolygon drawing to batch 2013-11-20 11:41:54 +01:00
Tom Payne cb099cb453 Add ol.geom.MultiPolygon 2013-11-20 11:41:54 +01:00
Tom Payne 7a6090df65 Correct closing of polygons 2013-11-20 11:41:54 +01:00
Tom Payne 176a438a05 Add style function to GeoJSON demo 2013-11-20 11:41:54 +01:00
Tom Payne 781593ea90 Add MultiLineString to GeoJSON demo 2013-11-20 11:41:54 +01:00
Tom Payne 53963b0f6b Add MultiLineString GeoJSON reading 2013-11-20 11:41:54 +01:00
Tom Payne 4d02ecf1e8 Add MultiLineString rendering 2013-11-20 11:41:53 +01:00
Tom Payne 7594f05c57 Add MultiLineString drawing to batch 2013-11-20 11:41:53 +01:00
Tom Payne 91c448d63d Allow z index to be undefined 2013-11-20 11:41:53 +01:00
Tom Payne c658460c09 Add ol.geom.MultiLineString 2013-11-20 11:41:53 +01:00
Tom Payne de247d7130 Remove logging code 2013-11-20 11:41:53 +01:00
Tom Payne b83a547192 Add polygon to GeoJSON demo 2013-11-20 11:41:53 +01:00
Tom Payne e14c46946e Render polygon geometries 2013-11-20 11:41:53 +01:00
Tom Payne a823e1f776 Add support for polygons to canvas replay 2013-11-20 11:41:53 +01:00
Tom Payne b2d1b32674 Factor out appendCoordinates_ 2013-11-20 11:41:52 +01:00
Tom Payne f175528ac3 Change default fill style 2013-11-20 11:41:52 +01:00
Tom Payne 256237fee7 Don't draw lines when stroke style is null 2013-11-20 11:41:52 +01:00
Tom Payne ce296aa1d1 Allow styles to be null 2013-11-20 11:41:52 +01:00
Tom Payne 25d6919337 Add ol.style.fill.equals 2013-11-20 11:41:52 +01:00
Tom Payne 7e81cbae08 Allow comparison of null stroke styles 2013-11-20 11:41:52 +01:00
Tom Payne 15583865b6 Re-use batches when animating or interacting 2013-11-20 11:41:52 +01:00
Tom Payne ea2ba4e7ad Export ol.source.Vector 2013-11-20 11:41:52 +01:00
Tom Payne 12c9a4f563 Export ol.source.GeoJSON 2013-11-20 11:41:52 +01:00
Tom Payne 9f1d985b8f Export ol.source.Vector 2013-11-20 11:41:51 +01:00
Tom Payne 1adfa15830 Precalculate more instructions 2013-11-20 11:41:51 +01:00
Tom Payne 8e68134624 Add ol.replay.IBatchGroup#finish 2013-11-20 11:41:51 +01:00
Tom Payne 8ccd733e08 Implement ol.replay.canvas.BatchGroup#isEmpty 2013-11-20 11:41:51 +01:00
Tom Payne e03953dc61 Avoid stroke state changes 2013-11-20 11:41:51 +01:00
Tom Payne 1d06cee93d Add ol.style.stroke.equals 2013-11-20 11:41:51 +01:00
Tom Payne 9a11cb87aa Handle vector layer opacity 2013-11-20 11:41:51 +01:00
Tom Payne 633920d0f7 Buffer batch group extent 2013-11-20 11:41:51 +01:00
Tom Payne 9f2ce8f50e Add more FIXMEs 2013-11-20 11:41:50 +01:00
Tom Payne e403f10de5 Add GeoJSON example 2013-11-20 11:41:50 +01:00
Tom Payne f0b4a5a35e Activate canvas vector layer renderer 2013-11-20 11:41:49 +01:00
Tom Payne fb7ccc9d16 Add initial canvas vector layer renderer 2013-11-20 11:41:09 +01:00
Tom Payne d2dbc27b0a Add shared vector rendering functions 2013-11-20 11:41:09 +01:00
Tom Payne 1c23c8b674 Add initial canvas implementation of replay API 2013-11-20 11:41:09 +01:00
Tom Payne 35d1fe5d75 Add initial replay API 2013-11-20 11:41:09 +01:00
Tom Payne 711917db62 Add ol.layer.Vector 2013-11-20 11:41:09 +01:00
Tom Payne 30311f0b65 Add ol.style 2013-11-20 11:41:08 +01:00
Tom Payne f445a7230b Rename transformPath to transformCoordinates 2013-11-20 11:41:08 +01:00
Tom Payne 14ed09eb6f Move old replay API out of the way 2013-11-20 11:41:08 +01:00
Tom Payne 9bd9a1848e Use scope in ol.source.GeoJSON 2013-11-20 11:41:08 +01:00
Tom Payne 82dc4baff6 Add scope and type checking to ol.reader.GeoJSON 2013-11-20 11:41:08 +01:00
Tom Payne 2704da9e4e Mark constants 2013-11-20 11:41:08 +01:00
Tom Payne f9105c18eb Use GeoJSON types for geometries 2013-11-20 11:41:08 +01:00
Tom Payne 67cd0597bb Add ol.source.Vector#forEachFeatureInExtent and #getAllFeaturesInExtent 2013-11-20 11:41:08 +01:00
Tom Payne 63a0219f3d Add some FIXMEs 2013-11-20 11:41:07 +01:00
Tom Payne 4260283497 Add layout and stride to ol.geom.Geometry 2013-11-20 11:41:07 +01:00
Tom Payne 61a217e8dd Add ol.source.GeoJSON 2013-11-20 11:41:07 +01:00
Tom Payne db40842487 Add ol.source.Vector 2013-11-20 11:41:07 +01:00
Tom Payne 07ef8e774d Move parser examples away 2013-11-20 11:41:07 +01:00
Tom Payne 72d849563b Remove type filter hack from ol.structs.RTree 2013-11-20 11:41:07 +01:00
Tom Payne 3d8d8b0ce6 Add ol.reader.GeoJSON 2013-11-20 11:41:07 +01:00
Tom Payne 9c02b8e90c Add ol.Feature 2013-11-20 11:41:07 +01:00
Tom Payne fb6a2867ff Add ol.geom.Polygon 2013-11-20 11:41:07 +01:00
Tom Payne ac37980999 Add ol.geom.LineString 2013-11-20 11:41:06 +01:00
Tom Payne cb75fcad9f Add ol.geom.Point 2013-11-20 11:41:06 +01:00
Tom Payne 7ff95adbb1 Add ol.geom.Geometry 2013-11-20 11:41:06 +01:00
Tom Payne 3368576505 Add more extent functions 2013-11-20 11:41:06 +01:00
Tom Payne a49e169622 Order tests sensibly 2013-11-20 11:41:06 +01:00
Tom Payne fbb817157b Fix typo in tests 2013-11-20 11:41:06 +01:00
Tom Payne 18aa1b8ae5 Fix order of arguments to ol.extent.createOrUpdate 2013-11-20 11:41:06 +01:00
Tom Payne bd82e1aa1a Remove vector code from files 2013-11-20 11:41:04 +01:00
Tom Payne 4e65fefc00 Move vector code out of the way 2013-11-20 11:39:21 +01:00
Tom Payne 81349d382b Add ol.replay.CanvasBatch#getExtent 2013-11-20 11:39:20 +01:00
Tom Payne 59ab8f0155 Add ol.replay.Batch#getExtent 2013-11-20 11:39:20 +01:00
Tom Payne 530d8b67a3 Add ol.extent.extendXY 2013-11-20 11:39:20 +01:00