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
ahocevar
fab0fe5e7a
Merge pull request #1322 from ahocevar/modify-rbush
...
Use ol.structs.RBush in ol.interaction.Modify
2013-11-27 05:56:13 -08:00
ahocevar
137f797bee
Use ol.structs.RBush in ol.interaction.Modify
...
This is one more step to bring the master and vector-api
branches closer together. I am well aware that the current
Modify interaction will probably be rewritten as part of the
vector-api effort, but with changes like this we will eventually
be able to remove ol.structs.RTree from master.
2013-11-27 14:48:06 +01:00
ahocevar
683b5c34bf
Merge pull request #1321 from ahocevar/safe-foreach
...
Documenting limitations of forEach and forEachInExtent
2013-11-27 05:39:05 -08:00
ahocevar
96c6cd0ab0
Documenting limitations of forEach and forEachInExtent
...
Because the tree's structure changes when nodes are inserted,
updated or deleted, no modifications are allowed in a forEach
loop.
2013-11-27 14:21:56 +01:00
Frederic Junod
aac16a3ba1
Fix doc typos
2013-11-27 13:43:11 +01:00
Tom Payne
424f8fcc6d
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-11-27 13:10:20 +01:00
Frederic Junod
2f3a85a86a
Add ol.source.Vector#getAllFeatures function
2013-11-27 12:14:33 +01:00
Frederic Junod
66b08644fc
Export ol.source.Vector#removeFeature function
2013-11-27 12:14:32 +01:00
Frederic Junod
a3b43f21e4
Add ol.source.Vector#forEachFeature function
2013-11-27 12:14:32 +01:00
Frédéric Junod
8a15c33b86
Merge pull request #1318 from fredj/export_buffer
...
Export ol.extent.buffer function
2013-11-27 02:41:22 -08:00
Frederic Junod
5fef6d554b
Export ol.extent.buffer
2013-11-27 10:05:06 +01:00
Éric Lemoine
8f361e35dd
Do not draw non-loaded icons
2013-11-27 10:03:23 +01:00
Tim Schaub
e4b50376f3
Merge pull request #1316 from tschaub/rbush
...
Add adapted version of rbush.
2013-11-26 14:41:08 -08: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
Éric Lemoine
82e03ea508
Add an icon example
2013-11-26 16:32:03 +01:00
Éric Lemoine
9365c227ab
Make icon size optional
2013-11-26 16:19:57 +01:00
Éric Lemoine
519e2539cc
Export ol.icon.renderIcon
2013-11-26 15:33:27 +01:00
Éric Lemoine
83293651b7
Add ol.icon.renderIcon
2013-11-26 15:33:27 +01:00
Éric Lemoine
0a4fd29c10
Add icon support to canvas vector renderer
2013-11-26 15:25:32 +01:00
Éric Lemoine
b1a123a927
Shapes are loaded images
2013-11-26 15:23:55 +01:00
Éric Lemoine
189a859dde
Export ol.style.Image options
2013-11-26 15:21:51 +01:00
Éric Lemoine
29009d27f3
Make ol.style.Image loadable
2013-11-26 15:20:04 +01:00
Éric Lemoine
1d8fefe683
Adapt styleFunction in vector-layer example
2013-11-26 14:19:24 +01:00
Éric Lemoine
972deebbc6
Adapt styleFunction in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
9be03b2e3a
Use ol.style.Style in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
305be3c689
Adapt styleFunction in synthetic-lines example
2013-11-26 14:19:24 +01:00
Éric Lemoine
82aa5cc675
Adapt styleFunction in rtree example
2013-11-26 14:19:24 +01:00
Éric Lemoine
39af934e71
Adapt styleFunction in geojson example
2013-11-26 14:19:24 +01:00
Éric Lemoine
317294756a
Style function takes a resolution arg
2013-11-26 14:19:24 +01:00
Éric Lemoine
3820caade1
Style function returns an array of styles
2013-11-26 14:19:24 +01:00