Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 0fa8692b1b Add ol.format.GeoJSONOptions 2013-11-20 11:42:02 +01:00
Tom Payne 8c9732c9da Add missing style parameter to GeoJSON example 2013-11-20 11:42:02 +01:00
Tom Payne d437ec31e7 Add more FIXMEs 2013-11-20 11:42:02 +01:00
Tom Payne 7efae6e00c Ccomplete ol.render.canvas.Render 2013-11-20 11:42:02 +01:00
Tom Payne a09f686d5d Return end from ol.render.canvas.LineStringBatch#drawFlatCoordinatess_ 2013-11-20 11:42:02 +01:00
Tom Payne adf5cd3fd1 Return end from ol.render.canvas.LineStringBatch#drawFlatCoordinates_ 2013-11-20 11:42:02 +01:00
Tom Payne bc8c328483 Add snapToPixel 2013-11-20 11:42:02 +01:00
Tom Payne 8c3c304497 Add incomplete ol.render.canvas.Render 2013-11-20 11:42:01 +01:00
Tom Payne 51d4d164b1 Add ol.render.transformGeometry 2013-11-20 11:42:01 +01:00
Tom Payne cd82cb2534 Refactor ol.render.transformCoordinates to accept stride 2013-11-20 11:42:01 +01:00
Tom Payne dab12456ae Factor out ol.render.IRender 2013-11-20 11:42:01 +01:00
Tom Payne 4183d9cdb8 Move ol.replay into ol.render namespace 2013-11-20 11:42:01 +01:00
Tom Payne 65fffd9b1c Remove unused ol.replay.IBatch#drawImage 2013-11-20 11:42:01 +01:00
Tom Payne e94a8d4a36 Improve type checking with cast 2013-11-20 11:42:01 +01:00
Tom Payne d10fb12f27 Improve type checking with cast 2013-11-20 11:42:01 +01:00
Tom Payne b46c38626b Add synthetic data example 2013-11-20 11:42:00 +01:00
Tom Payne b5be628446 Render points with symbol renderer 2013-11-20 11:42:00 +01:00
Tom Payne 481a9b4078 Add symbol renderer 2013-11-20 11:42:00 +01:00
Tom Payne 913029f26d Remove opacity for fill style for now 2013-11-20 11:42:00 +01:00
Tom Payne b95a19ba30 Render Points and MultiPoints with images 2013-11-20 11:42:00 +01:00
Tom Payne de8edd909e Implement image drawing in canvas 2013-11-20 11:42:00 +01:00
Tom Payne 2c73d75309 Add image drawing skeleton to canvas 2013-11-20 11:42:00 +01:00
Tom Payne a722f558fe Add image drawing functions to batch 2013-11-20 11:42:00 +01:00
Tom Payne 85efa61823 Remove FIXME 2013-11-20 11:41:59 +01:00
Tom Payne a6b09c1b1c Remove ol.replay.canvas.Batch#appendCoordinates 2013-11-20 11:41:59 +01:00
Tom Payne 843a2e558c Remove ol.replay.canvas.PolygonBatch#drawRings_ 2013-11-20 11:41:59 +01:00
Tom Payne 0a02409d64 Render MultiPolygons using flat coordinates 2013-11-20 11:41:59 +01:00
Tom Payne df48e2de5c Refactor ol.geom.MultiPolygon 2013-11-20 11:41:59 +01:00
Tom Payne daecad22ae Add ol.geom.{de,in}flateCoordinatesss 2013-11-20 11:41:59 +01:00
Tom Payne 03d5f3f9d9 Render Polygons using flat coordinates 2013-11-20 11:41:59 +01:00
Tom Payne ad8c166a37 Add ol.replay.canvas.PolygonBatch#drawFlatCoordinatess_ 2013-11-20 11:41:59 +01:00
Tom Payne 0f8d123319 Remove ol.replay.canvas.LineStringBatch#drawCoordinates_ 2013-11-20 11:41:58 +01:00
Tom Payne 07173c493e Refactor ol.geom.Polygon 2013-11-20 11:41:58 +01:00
Tom Payne 0a02785438 Render MultiLineStrings using flat coordinates 2013-11-20 11:41:58 +01:00
Tom Payne 20bc49d744 Render line strings using flat coordinates 2013-11-20 11:41:58 +01:00
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