Commit Graph

3891 Commits

Author SHA1 Message Date
Frederic Junod
a7bb02b49c Better canvas sizing handling (canvas and webgl) 2013-11-21 14:05:28 +01:00
Tom Payne
f09de84011 Fix typo 2013-11-21 12:31:23 +01:00
Éric Lemoine
c0eb7bb1f6 Store raw style values for ImageReplay 2013-11-21 12:15:38 +01:00
Éric Lemoine
5493543c1f Store raw style values for PolygonReplay 2013-11-21 12:15:37 +01:00
Éric Lemoine
0ccd1ef217 Store raw style values for LineStringReplay 2013-11-21 12:15:37 +01:00
Frederic Junod
6e88d3ba3c Minor apidoc updates 2013-11-21 10:52:00 +01:00
Tom Payne
114b48dcfb Use goog.vec.Mat4.getElement in ol.vec.Mat4.multVec2 2013-11-21 10:12:47 +01:00
Tom Payne
16957c9833 Only recompute pixel coordinates when transform has changed 2013-11-21 10:04:19 +01:00
Tom Payne
6872beb88a Add ol.vec.Mat4.equal2D 2013-11-21 10:03:34 +01:00
ahocevar
912ac29f31 Merge pull request #1298 from ahocevar/gfi-callback
The source determines who can do GetFeatureInfo
2013-11-20 07:11:51 -08:00
ahocevar
b8a9aeb14e Avoid source check in map renderer
By returning true or false from the layer renderer's
getFeatureInfoForPixel method, we know whether the source
supports GetFeatureInfo or not.
2013-11-20 16:05:00 +01:00
Éric Lemoine
93087c7661 Remove unused ol.style.Text width property 2013-11-20 15:48:11 +01:00
Éric Lemoine
38bc0a28a6 Export ol.style.Style 2013-11-20 15:35:11 +01:00
Éric Lemoine
e783703854 Export ol.style.Text 2013-11-20 15:35:11 +01:00
Éric Lemoine
dc49cc4c2f Export ol.style.Stroke 2013-11-20 15:35:11 +01:00
Éric Lemoine
3971425677 Export ol.style.Image 2013-11-20 15:35:11 +01:00
Éric Lemoine
6e2f907e09 Export ol.style.Fill 2013-11-20 15:35:11 +01:00
Éric Lemoine
644748860b Remove the previous ol.style types and functions 2013-11-20 15:35:10 +01:00
Éric Lemoine
efba141bf0 Do not use default style function 2013-11-20 15:35:10 +01:00
Éric Lemoine
ddacc0aabd Use new ol.style in ol.shape.renderCircle 2013-11-20 15:35:10 +01:00
Éric Lemoine
1e7266f6b5 Use new ol.style in ol.render.canvas.Replay 2013-11-20 15:35:10 +01:00
Éric Lemoine
e535a8360f Use new ol.style in ol.render.canvas.Immediate 2013-11-20 15:35:10 +01:00
É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