Commit Graph

6057 Commits

Author SHA1 Message Date
Éric Lemoine
fd0ef8f238 Use new ol.style in ol.render.DragBox 2013-11-20 15:35:10 +01:00
Éric Lemoine
cef2cac0d3 Add ol.style.Text constructor 2013-11-20 15:35:09 +01:00
Éric Lemoine
f1d67f69c3 Add ol.style.Stroke constructor 2013-11-20 15:35:09 +01:00
Éric Lemoine
22fa0e305a Add ol.style.Image constructor 2013-11-20 15:35:09 +01:00
Éric Lemoine
f38054d737 Add ol.style.Fill constructor 2013-11-20 15:35:09 +01:00
Éric Lemoine
1cfd185355 Add ol.style.Style constructor 2013-11-20 15:35:09 +01:00
Bart van den Eijnden
053d80180d have the GML parser read and write out multiple geometry attributes with their correct name 2013-11-20 14:57:00 +01:00
ahocevar
0238fa54de The source determines who can do GetFeatureInfo
Now that the ol.renderer.Layer base class has a
getFeatureInfoForPixel method, we have to check whether the
source supports GetFeatureInfo, not the layer renderer.
2013-11-20 13:05:06 +01:00
Tom Payne
f62b450cb7 Use goog.asserts.assertsInstanceOf 2013-11-20 12:34:47 +01:00
Tom Payne
3699510e63 Remove repeated Replay 2013-11-20 11:45:49 +01:00
Tom Payne
6fe7a980f2 Use ol.structs.PriorityQueue template in ol.renderer.webgl.Map 2013-11-20 11:45:49 +01:00
Frederic Junod
99ce67aedc Nicer dragbox style 2013-11-20 11:45:25 +01:00
Tom Payne
479ec441ab Improve type checking in ol.renderer.canvas.VectorLayer 2013-11-20 11:45:25 +01:00
Éric Lemoine
215344af71 Set stencil to true in webgl context 2013-11-20 11:45:25 +01:00
Éric Lemoine
93aef958e9 Move arrayBuffer_ to layer renderer 2013-11-20 11:45:25 +01:00
Éric Lemoine
1c03886e1c Rename arrayBuffer_ to renderArrayBuffer_ 2013-11-20 11:45:25 +01:00
Éric Lemoine
eead07b0bb Fire pre and postcompose events from webgl map 2013-11-20 11:45:25 +01:00
Éric Lemoine
8d191ca4b8 Fire pre and postcompose events from webgl layers 2013-11-20 11:45:25 +01:00
Éric Lemoine
478f8c43ca ol.render.Event take an ol.webgl.Context object 2013-11-20 11:45:24 +01:00
Éric Lemoine
325534aa46 Fire precompose events from map 2013-11-20 11:45:24 +01:00
Tom Payne
c29c292efd Mark constant RegExps, thanks @fredj 2013-11-20 11:45:24 +01:00
Tom Payne
1fe9f25359 Correct order of jsdoc comments, thanks @fredj 2013-11-20 11:45:24 +01:00
Frederic Junod
f4c5168cdf Remove renderer.Map#getCanvas function 2013-11-20 11:45:24 +01:00
Frederic Junod
38bbe35e8d Remove ol.Map#getRenderer function 2013-11-20 11:45:24 +01:00
Frederic Junod
c20f80ca91 Export ol.Map#render function 2013-11-20 11:45:23 +01:00
Frederic Junod
b39496f380 Dispatch 'precompose' event for ol.renderer.canvas.VectorLayer 2013-11-20 11:45:23 +01:00
Tom Payne
0746715231 Remove unused RegExp, thanks @fredj 2013-11-20 11:45:23 +01:00
Tom Payne
adfc56b14c Improve type checking in ol.render.canvas.Replay 2013-11-20 11:45:23 +01:00
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