Commit Graph

3891 Commits

Author SHA1 Message Date
Tom Payne f93ae0392a Improve type checking in ol.geom 2013-11-20 11:45:23 +01:00
Tom Payne 2ecd4013ea Improve type checking in ol.color 2013-11-20 11:45:23 +01:00
Tom Payne 4e3221810a Add immediate rendering of text 2013-11-20 11:44:50 +01:00
Tom Payne a2603e424f Add text replay skeleton 2013-11-20 11:44:50 +01:00
Tom Payne c7600b2cbc Add ol.style.Text 2013-11-20 11:44:49 +01:00
Tom Payne c03ea3d0ee Save six bytes 2013-11-20 11:44:49 +01:00
Tom Payne 6b61f45379 Remove support for 4- and 8- digit hex colors
These are not supported by canvas.
2013-11-20 11:44:49 +01:00
Tom Payne d60bc61a72 Allow ol.style.Stroke#width to be undefined 2013-11-20 11:44:49 +01:00
Tom Payne 6796b9735e Add ol.color.blend 2013-11-20 11:44:49 +01:00
Tom Payne 97745f06ac Allow named colors to be disabled 2013-11-20 11:44:49 +01:00
Tom Payne 1ae0e845f8 Allow colors in styles to be strings or arrays 2013-11-20 11:44:48 +01:00
Tom Payne 47820440ed Add ol.color.stringOrColorEquals 2013-11-20 11:44:48 +01:00
Tom Payne d882d00c65 Add ol.color.asArray and ol.color.asString 2013-11-20 11:44:48 +01:00
Tom Payne 02604745ca Add ol.color.equals 2013-11-20 11:44:48 +01:00
Tom Payne e1ba9c0322 Move color matrix code into ol.color.Matrix 2013-11-20 11:44:48 +01:00
Tom Payne e3c3170c39 Refactor ol.color to not use goog.color 2013-11-20 11:44:48 +01:00
Tom Payne 51c201acd7 Refactor ol.color to use Array.<number> 2013-11-20 11:44:48 +01:00
Frederic Junod 9738c672d7 Export ol.render.Event.prototype.getFrameState 2013-11-20 11:44:47 +01:00
Éric Lemoine 2073d78582 Fire precompose events from layers 2013-11-20 11:44:47 +01:00
Tom Payne 1acfa35783 Add ol.layer.Vector renderFeatureFunction 2013-11-20 11:44:47 +01:00
Tom Payne f9282c90e4 Make instructions responsible for incrementing the instruction index
This paves the way for skipping features (where both the instruction and
data indexes will need to be advanced).
2013-11-20 11:44:46 +01:00
Tom Payne 19758b6268 Rename variables for clarity 2013-11-20 11:44:46 +01:00
Tom Payne 90bc88082a Export ol.Map#requestRenderFrame 2013-11-20 11:44:46 +01:00
Tom Payne c47dee7b8c Allow fill, image, and stroke in ol.style.Style to be undefined 2013-11-20 11:44:45 +01:00
Tom Payne 946234ba27 Rename iimmediate.js to irender.js 2013-11-20 11:44:45 +01:00
Éric Lemoine 60ef4f214e Rename symbol to shape 2013-11-20 11:44:45 +01:00
Tom Payne ac2b650c96 Use consistent variable names 2013-11-20 11:44:45 +01:00
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 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 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 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 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