Commit Graph

3280 Commits

Author SHA1 Message Date
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 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 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 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 14fb455e1c Remove ol.source.GeoJSON 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 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 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 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 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