Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne df423fda22 Move ol.geom.orientFlatLinearRings into ol.geom.flat 2013-11-20 11:44:45 +01:00
Tom Payne 0aa0cfd54b Move ol.geom.flatLinearRingIsClockwise into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne 857c28a88b Move ol.geom.flatLinearRingContains to ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne ca639a057f Rename ol.test.geom to ol.test.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne 48d3402044 Move reverseFlatCoordinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne 1757a62905 Move transformGeometry2D back into ol.geom 2013-11-20 11:44:44 +01:00
Tom Payne 16e5f238d2 Move inflateCoordinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne dc1ad7bb83 Move deflateCoodinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne 16994f1774 Rename ol.render to ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne e44dfb1c6c Avoid clearing canvas twice 2013-11-20 11:44:42 +01:00
Tom Payne 7fd4e1ba56 Rename ol.render.RenderEvent to ol.render.Event 2013-11-20 11:42:10 +01:00
Tom Payne cd9b52572a Replace ol.geom.GeometryType with ol.geom.Type 2013-11-20 11:42:09 +01:00
Tom Payne b9af8232d0 Use more consistent spacing 2013-11-20 11:42:09 +01:00
Tom Payne 7e40825869 Orient rings in MultiPolygons 2013-11-20 11:42:09 +01:00
Tom Payne af17797145 Use clockwise polygons in GeoJSON tests 2013-11-20 11:42:09 +01:00
Tom Payne 376bd6359b Add more exhaustive polygon tests (some fail for reasons not yet known) 2013-11-20 11:42:09 +01:00
Tom Payne fe06c97a08 Orient rings in ol.geom.Polygon 2013-11-20 11:42:09 +01:00
Tom Payne 23777e5949 Add ol.geom.orientFlatLinearRings{,s} 2013-11-20 11:42:09 +01:00
Tom Payne 43d67736a8 Add ol.geom.flatLinearRingIsClockwise 2013-11-20 11:42:09 +01:00
Tom Payne 72f64bd37a Add ol.geom.reverseFlatCoordinates 2013-11-20 11:42:08 +01:00
Tom Payne 809fee8988 Add missing whitespace 2013-11-20 11:42:08 +01:00
Tom Payne b9614d027d Rename countries example to vector-layer and add mouseover 2013-11-20 11:42:08 +01:00
Tom Payne 8d3811a79c Add ol.Feature exports 2013-11-20 11:42:08 +01:00
Tom Payne 8626da50ea Read GeoJSON feature id 2013-11-20 11:42:08 +01:00
Tom Payne 8edefc3fee Add GeoJSONFeature#id to externs file 2013-11-20 11:42:08 +01:00
Tom Payne 30503f5665 Add ol.Feature#{get,set}Id 2013-11-20 11:42:08 +01:00
Tom Payne 0221fd2216 Add ol.source.Vector#getAllFeaturesAtCoordinate 2013-11-20 11:42:08 +01:00
Tom Payne afca110b49 Add ol.source.Vector#forEachFeatureAtCoordinate 2013-11-20 11:42:07 +01:00
Tom Payne aa70030a43 Move containsCoordinate to ol.geom.Geometry 2013-11-20 11:42:07 +01:00
Tom Payne b60956baf6 Add ol.geom.MultiPolygon#containsCoordinate 2013-11-20 11:42:07 +01:00
Tom Payne 029d978949 Add ol.geom.Polygon#containsCoordinate 2013-11-20 11:42:07 +01:00
Tom Payne f2865e6dbf Add coordinate in LinearRing functions 2013-11-20 11:42:07 +01:00
Tom Payne c9d6445c45 Fix title of GeoJSON example, thanks @fredj 2013-11-20 11:42:07 +01:00
Tom Payne 8e55cad4e0 Add R-Tree visualisation example
This demonstrates how awful ol.structs.RTree is.
2013-11-20 11:42:07 +01:00
Tom Payne 8434250547 Rename lastDraw to lastStroke and remember last stroke drawn, thanks @elemoine 2013-11-20 11:42:07 +01:00
Tom Payne 26d2f38929 Add dynamic data example 2013-11-20 11:42:07 +01:00
Tom Payne ea0f8d1f8e Add frameState to postcompose event and minimise calls to getTransform 2013-11-20 11:42:06 +01:00
Tom Payne 756944a2e9 Fire postcompose events for all layer types 2013-11-20 11:42:06 +01:00
Tom Payne 36f85f9afd Factor out getTransform 2013-11-20 11:42:06 +01:00
Tom Payne a83b0768b2 Always dispatch postcompose event, even if no replay group 2013-11-20 11:42:06 +01:00
Tom Payne 4c6bd5bdf2 Rename getTransform to getImageTransform 2013-11-20 11:42:06 +01:00
Tom Payne 7035096fca Move dispatchPostComposeEvent into base class 2013-11-20 11:42:06 +01:00
Tom Payne dca4f261ec Remove ol.control.DragBox 2013-11-20 11:42:06 +01:00
Tom Payne e81965d5b3 Use ol.render.DragBox in ol.interaction.DragZoom 2013-11-20 11:42:06 +01:00
Tom Payne d11d2159d4 Add ol.render.DragBox 2013-11-20 11:42:05 +01:00
Tom Payne f3138d6039 Fire postcompose events from map 2013-11-20 11:42:05 +01:00
Tom Payne 1670b67bd8 Rename postrender to postcompose 2013-11-20 11:42:05 +01:00
Tom Payne a990f0921e Rename ol.layer.VectorEvent to ol.render.RenderEvent 2013-11-20 11:42:05 +01:00
Tom Payne 2839aea6b1 Clear correct member variable, thanks @elemoine 2013-11-20 11:42:05 +01:00
Tom Payne 3f74623e53 Add per-layer postrender example 2013-11-20 11:42:05 +01:00
Tom Payne a17560ade3 Only draw features and geometries that are visible 2013-11-20 11:42:05 +01:00
Tom Payne c5de1db9e6 Rename render to immediate 2013-11-20 11:42:05 +01:00
Tom Payne a0aad87adf Rename batch to replay 2013-11-20 11:42:04 +01:00
Tom Payne df70731e0c Fire per-layer postrender events 2013-11-20 11:42:04 +01:00
Tom Payne e1c54266d9 Export ol.layer.VectorEvent methods 2013-11-20 11:42:04 +01:00
Tom Payne 712993da52 Add ol.layer.VectorEvent 2013-11-20 11:42:04 +01:00
Tom Payne e36681db75 Export ol.render.canvas.Render methods 2013-11-20 11:42:04 +01:00
Tom Payne d2806df92b Add ol.render.canvas.Render#drawFeature 2013-11-20 11:42:04 +01:00
Tom Payne 6052a8ef9f Add dummy implementation of ol.render.canvas.Batch#drawFeature 2013-11-20 11:42:04 +01:00
Tom Payne 6ae1c2e874 Add ol.render.IRender#drawFeature 2013-11-20 11:42:04 +01:00
Tom Payne cab8cf4fde Make synthetic data example more idiomatic 2013-11-20 11:42:03 +01:00
Tom Payne e504f69503 Add missing MultiPoint entry 2013-11-20 11:42:03 +01:00
Tom Payne 6b0a7e9c30 Export ol.Feature 2013-11-20 11:42:03 +01:00
Tom Payne e1f02f85d8 Add ol.geom exports 2013-11-20 11:42:03 +01:00
Tom Payne e773f5fc2b Don't attempt to compile countries example 2013-11-20 11:42:03 +01:00
Tom Payne 0311ecd68f Export ol.source.Vector#addFeature 2013-11-20 11:42:03 +01:00
Tom Payne 8f79d070dc Add ol.symbol exports 2013-11-20 11:42:03 +01:00
Tom Payne a2e76a1872 Rename symbols.js to symbol.js 2013-11-20 11:42:03 +01:00
Tom Payne ce8bcfe319 Add ol.format.GeoJSON exports 2013-11-20 11:42:02 +01:00
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