Tom Payne
0aa0cfd54b
Move ol.geom.flatLinearRingIsClockwise into ol.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
ca639a057f
Rename ol.test.geom to ol.test.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
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
af17797145
Use clockwise polygons in GeoJSON tests
2013-11-20 11:42:09 +01:00
Tom Payne
376bd6359b
Add more exhaustive polygon tests (some fail for reasons not yet known)
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
809fee8988
Add missing whitespace
2013-11-20 11:42:08 +01:00
Tom Payne
07173c493e
Refactor ol.geom.Polygon
2013-11-20 11:41:58 +01:00
Tom Payne
9d07e6509f
Refactor ol.geom.MultiLineString
2013-11-20 11:41:58 +01:00
Tom Payne
7740929036
Add ol.geom.{de,in}flateCoordinatess
2013-11-20 11:41:58 +01:00
Tom Payne
a89bf0c329
Refactor ol.geom.Point
2013-11-20 11:41:58 +01:00
Tom Payne
6d32756adf
Add ol.geom.MultiPoint
2013-11-20 11:41:57 +01:00
Tom Payne
ec748f254e
Refactor ol.geom.LineString
2013-11-20 11:41:57 +01:00
Tom Payne
f67fa27c9e
Add ol.geom.{in,de}flateCoordinates
2013-11-20 11:41:57 +01:00
Tom Payne
5bca792288
Refactor ol.format.GeoJSON to implement ol.format.IReader
2013-11-20 11:41:56 +01:00
Tom Payne
979d35b3b3
Rename ol.reader to ol.format
2013-11-20 11:41:55 +01:00
Tom Payne
67cd0597bb
Add ol.source.Vector#forEachFeatureInExtent and #getAllFeaturesInExtent
2013-11-20 11:41:08 +01:00
Tom Payne
db40842487
Add ol.source.Vector
2013-11-20 11:41:07 +01:00
Tom Payne
72d849563b
Remove type filter hack from ol.structs.RTree
2013-11-20 11:41:07 +01:00
Tom Payne
3d8d8b0ce6
Add ol.reader.GeoJSON
2013-11-20 11:41:07 +01:00
Tom Payne
a49e169622
Order tests sensibly
2013-11-20 11:41:06 +01:00
Tom Payne
fbb817157b
Fix typo in tests
2013-11-20 11:41:06 +01:00
Tom Payne
bd82e1aa1a
Remove vector code from files
2013-11-20 11:41:04 +01:00
Tom Payne
4e65fefc00
Move vector code out of the way
2013-11-20 11:39:21 +01:00
Bart van den Eijnden
bb53087541
make sure parameter name lookups are case-insensitive
2013-11-19 17:09:02 +01:00
Bart van den Eijnden
8d03fa1197
add an optional argument to getAttributes so we can get a feature's attributes except for the geometry ones
2013-11-19 15:39:22 +01:00
Bart van den Eijnden
ac730dc1f3
override URL parameter values in the GetFeatureInfo request if someone provides a param in getFeatureInfoOptions with the same name
2013-11-19 14:52:29 +01:00
Frédéric Junod
fac953a683
Merge pull request #1198 from fredj/bindTo_transform
...
ol.Object#bindTo: getter and setter
2013-11-13 09:00:33 -08:00
Tom Payne
bba1de2679
Add tests for ol.Object#bindTo getters and setters
2013-11-13 16:13:08 +01:00
Tim Schaub
b9a4ae5e77
Merge pull request #1273 from tschaub/select-layers
...
Rename layerFilter option to layers and accept array for select interaction.
2013-11-13 06:35:17 -08:00
Tim Schaub
a2b55b04e8
Rename layerFilter option to layers and accept array
2013-11-12 22:08:59 -07:00
Tim Schaub
7b69373985
Remove ol.geom2
2013-11-12 19:27:02 -07:00
Tim Schaub
05b9922861
Tests for draw interaction
...
The tests revealed that polygons can be drawn with counter-clockwise exterior ring order. In the polygon constructor, we enforce clockwise winding for exterior rings. So after drawing, we pass polygon coordinates back to the constructor before adding feature to the target layer.
2013-11-12 16:06:42 -07:00
ahocevar
ed09173730
Deep clone geometry coordinates
...
Our geometries are mutable, so they can be modified without
creating garbage by changing coordinates in place and calling
setGeometry afterwards. But this also means that we need to
create a deep clone of the coordinates.
2013-11-12 11:36:40 +01:00
ahocevar
382b2707df
Merge pull request #1256 from ahocevar/simplify-select
...
Simplify Select interaction and prepare for programmatic feature selection without interaction
2013-11-11 13:19:57 -08:00
ahocevar
0ed208b710
Make renderIntent private and add a getter
2013-11-11 22:07:18 +01:00
Tim Schaub
85500fb616
Merge pull request #1252 from tschaub/expose-down
...
Add a getter for the most recent down event.
2013-11-11 11:27:19 -08:00
ahocevar
d9fd459654
Do not use a temporary layer for selected features
2013-11-09 14:15:35 +01:00
Bart van den Eijnden
ba4d90bac1
Merge pull request #1254 from bartvde/parsertests
...
change the afterLoad utility test functions (r=@elemoine,@tschaub)
2013-11-08 12:23:39 -08:00
Bart van den Eijnden
ffc2277c68
make tests pass in the test runner as well by not checking for status code
2013-11-08 20:59:58 +01:00
Bart van den Eijnden
cc4c0bda60
use plain XMLHttpRequest instead of goog.net.XhrIo
2013-11-08 20:34:03 +01:00
Bart van den Eijnden
dc0dc32d6b
make some minor fixes to the parser test cases, such as using afterLoadXml everywhere and making sure done is used in all async tests
2013-11-08 11:27:58 +01:00
Tim Schaub
009f7b53a1
Make interactions event targets
2013-11-07 16:39:05 -07:00
Tim Schaub
22fb418236
Provide a method to get the most recent down type event
...
This will allow interactions to conditionally handle later events based on the down event.
2013-11-07 11:21:01 -07:00
Frederic Junod
116b107cb2
Add tests for ol.coordinate.format
2013-11-06 09:23:13 +01:00
Frederic Junod
db5986fcc1
Use describe instead of describe.only
2013-11-05 09:50:19 +01:00
Tim Schaub
e207e80257
Merge pull request #1226 from tschaub/dirty-buffer
...
Buffer dirty extent when rendering,
2013-11-04 14:28:46 -08:00