Tom Payne
|
f38e5f5f28
|
Only set line dash if it is supported
|
2013-11-28 18:04:01 +01:00 |
|
Tom Payne
|
9895c0f084
|
Merge pull request #1324 from twpayne/rbush-improvements
RBush improvements
|
2013-11-27 06:37:52 -08:00 |
|
Tom Payne
|
c00d748384
|
Update ol.interaction.Modify to use ol.structs.RTree#getAllInExtent
|
2013-11-27 15:11:42 +01:00 |
|
Tom Payne
|
5d3a5ae68e
|
Fix infinite loop bug in ol.structs.RBush
|
2013-11-27 15:10:18 +01:00 |
|
Tom Payne
|
f847b37261
|
Rename ol.structs.RBush#allInExtent to getAllInExtent
|
2013-11-27 15:10:18 +01:00 |
|
Tom Payne
|
828456d18e
|
Rename ol.structs.RBush#all to getAll
|
2013-11-27 15:10:18 +01:00 |
|
Tom Payne
|
978041b68c
|
Only activate ol.structs.RBush conflict checks when goog.DEBUG is true
|
2013-11-27 15:10:18 +01:00 |
|
Tom Payne
|
665781ee03
|
Throw an exception if an ol.structs.RBush is modified while reading
|
2013-11-27 15:10:17 +01:00 |
|
Tom Payne
|
424f8fcc6d
|
Merge remote-tracking branch 'openlayers/master' into vector-api
|
2013-11-27 13:10:20 +01:00 |
|
Tom Payne
|
92469901f7
|
Clone extents in ol.structs.RBush to prevent modification
|
2013-11-26 12:03:00 -07:00 |
|
Tom Payne
|
880f098f0f
|
Add ol.structs.RBush#update
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
7ec456fa70
|
Add FIXME
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
1293294d40
|
Implement ol.structs.RBush#remove_
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
b865a7c0e1
|
Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
0ea7c2cd50
|
Refactor ol.structs.RBush tests
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
a76eba34e8
|
Add ol.structs.RBush#assertValid
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
e823e7fde3
|
Add ol.structs.RBush
|
2013-11-26 12:02:59 -07:00 |
|
Tom Payne
|
f12355a17b
|
Add optional destination argument to ol.extent.clone
|
2013-11-26 12:02:58 -07:00 |
|
Tom Payne
|
54d22735f2
|
Add ol.extent.getMargin
|
2013-11-26 12:02:58 -07:00 |
|
Tom Payne
|
2a6f5a6396
|
Add ol.extent.getIntersectionArea
|
2013-11-26 12:02:58 -07:00 |
|
Tom Payne
|
6b02c7f639
|
Add ol.extent.getEnlargedArea
|
2013-11-26 12:02:58 -07:00 |
|
Tom Payne
|
b74c244088
|
Add ol.extent.getArea
|
2013-11-26 12:02:58 -07:00 |
|
Tom Payne
|
df96c08e0e
|
Return extent from ol.extent.extend
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
d994db46f6
|
Add ol.extent.createOrUpdateFromFlatCoordinates
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
67bf15b5dc
|
Add ol.extent.extendFlatCoordinates
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
ae9f03c8cb
|
Add more extent functions
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
9cbd8de188
|
Fix order of arguments to ol.extent.createOrUpdate
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
cf0fdff4e2
|
Add ol.extent.extendXY
|
2013-11-26 12:02:57 -07:00 |
|
Tom Payne
|
733da2dd70
|
Clone extents in ol.structs.RBush to prevent modification
|
2013-11-26 12:15:40 +01:00 |
|
Tom Payne
|
85c9ca2000
|
Add optional destination argument to ol.extent.clone
|
2013-11-26 12:15:09 +01:00 |
|
Tom Payne
|
4de5cda4a1
|
Keep R-Tree up-to-date in ol.source.Vector
|
2013-11-26 11:57:38 +01:00 |
|
Tom Payne
|
55730e9279
|
Add ol.structs.RBush#update
|
2013-11-26 11:57:38 +01:00 |
|
Tom Payne
|
48e78533b9
|
Add FIXME
|
2013-11-26 11:57:38 +01:00 |
|
Tom Payne
|
2df03fbf96
|
Implement ol.structs.RBush#remove_
|
2013-11-26 11:57:38 +01:00 |
|
Tom Payne
|
d5f1a35f9a
|
Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
62b9aa0595
|
Refactor ol.structs.RBush tests
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
4981552fb1
|
Add ol.structs.RBush#assertValid
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
e749715abd
|
Move ol.structs.RTree out of the way
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
9576473072
|
Port rtree example to ol.structs.RBush
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
8294ca9f57
|
Port ol.source.Vector to ol.structs.RBush
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
4cddee2a0e
|
Add ol.structs.RBush
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
7967edb8f0
|
Add ol.extent.getMargin
|
2013-11-26 11:57:37 +01:00 |
|
Tom Payne
|
8c6e5287b5
|
Add ol.extent.getIntersectionArea
|
2013-11-26 11:57:36 +01:00 |
|
Tom Payne
|
61afebb1ec
|
Add ol.extent.getEnlargedArea
|
2013-11-26 11:57:36 +01:00 |
|
Tom Payne
|
0294691446
|
Add ol.extent.getArea
|
2013-11-26 11:57:36 +01:00 |
|
Tom Payne
|
b99fac9901
|
Return extent from ol.extent.extend
|
2013-11-26 11:57:36 +01:00 |
|
Tom Payne
|
b0d5f96b65
|
Rename ol.render.canvas.Replay#draw to replay
|
2013-11-25 20:03:21 +01:00 |
|
Tom Payne
|
900bc176ae
|
Avoid clearing canvas twice
|
2013-11-25 08:58:18 +01:00 |
|
Tom Payne
|
ae29e70cfd
|
Use ol.style.Style in rtree example
|
2013-11-24 16:55:20 +01:00 |
|
Tom Payne
|
d358e80937
|
Improve type checking in ol.TileRange
|
2013-11-24 14:33:58 +01:00 |
|
Tom Payne
|
6584ef985f
|
Improve type checking in ol.renderer.canvas.Map
|
2013-11-24 14:33:47 +01:00 |
|
Tom Payne
|
617635ed80
|
Improve type checking in ol.renderer.webgl.Map
|
2013-11-24 14:28:44 +01:00 |
|
Tom Payne
|
9396df54c3
|
Always use a defined renderGeometryFunction, thanks @elemoine
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
fd48b06dc0
|
Skip rendering highlighted feature in vector-layer example
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
13ed52d9e8
|
Add FIXME
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
32833a15bb
|
Implement skipping of LineString and MultiLineString geometries
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
a9af504a19
|
Factor out ol.render.canvas.LineStringReplay#setStrokeStyle_
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
1cccdfa9db
|
Implement skipping of Point and MultiPoint geometries
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
8b6f71f7f6
|
Factor out beginGeometry and endGeometry
|
2013-11-22 11:34:42 +01:00 |
|
Tom Payne
|
297251661a
|
Implement skipping of Polygon and MultiPolygon geometries
|
2013-11-22 11:34:41 +01:00 |
|
Tom Payne
|
d05530290f
|
Add BEGIN_GEOMETRY instruction
|
2013-11-22 11:34:41 +01:00 |
|
Tom Payne
|
a570261886
|
Pass renderGeometryFunction to ol.render.canvas.ReplayGroup
|
2013-11-22 11:34:41 +01:00 |
|
Tom Payne
|
b11c34261b
|
Rename renderFeatureFunction to renderGeometryFunction
|
2013-11-22 11:34:41 +01:00 |
|
Tom Payne
|
602f9642d4
|
Use ol.style.Style in GeoJSON example
|
2013-11-21 20:25:43 +01:00 |
|
Tom Payne
|
55a43c9a98
|
Use ol.style.Style and construct style object once
|
2013-11-21 18:22:01 +01:00 |
|
Tom Payne
|
f09de84011
|
Fix typo
|
2013-11-21 12:31:23 +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 |
|
Tom Payne
|
760ee7c46f
|
Use requestRenderFrame in vector layer example
|
2013-11-20 18:20:19 +01:00 |
|
Tom Payne
|
d367560faf
|
Avoid re-rendering map on every mousemove
|
2013-11-20 18:19:00 +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 |
|
Tom Payne
|
479ec441ab
|
Improve type checking in ol.renderer.canvas.VectorLayer
|
2013-11-20 11:45:25 +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 |
|
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 |
|
Tom Payne
|
24ca534c54
|
Use skip instead of xit to mark failing tests
|
2013-11-20 11:44:48 +01:00 |
|
Tom Payne
|
aabd8541c2
|
Fix goog.require in layer clipping example
|
2013-11-20 11:44:47 +01:00 |
|
Tom Payne
|
daf4231d00
|
Remove ol.geom2
|
2013-11-20 11:44:47 +01:00 |
|
Tom Payne
|
569811c52f
|
Remove old replay code
|
2013-11-20 11:44:47 +01:00 |
|