Erik Timmers
61378098e6
Restore the WKT parser, example & tests
2014-06-27 23:35:35 +02:00
Éric Lemoine
eafc2ac371
Change setValues to setProperties
2014-06-27 17:26:51 +02:00
Tim Schaub
e802902f9b
Rename ol.extent.getForView2DAndSize to ol.extent.getForViewAndSize
2014-06-27 09:59:39 -04:00
Tim Schaub
47d37fabea
Rename ol.View2D to ol.View
2014-06-27 09:59:39 -04:00
Andreas Hocevar
efc3e3244a
Merge pull request #2254 from elemoine/replaygroup
...
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Andreas Hocevar
2171c92b5c
Add new tests for FeatureOverlay
...
In the process of creating these tests, a bug with setting this._style
was also fixed.
2014-06-27 11:46:47 +02:00
Éric Lemoine
be69f5bdac
Merge pull request #2244 from elemoine/kmlwrite
...
KML write support
2014-06-27 11:23:16 +02:00
Bart van den Eijnden
2517c712db
Merge pull request #2263 from bartvde/transformflatgeom-test
...
Add some test coverage for ol.geom.transformSimpleGeometry2D
2014-06-27 10:36:49 +02:00
Éric Lemoine
b67e71828d
Add a test for ol.Object
2014-06-27 10:17:13 +02:00
Bart van den Eijnden
e3cbece91b
Add some test coverage for ol.geom.transformSimpleGeometry2D
2014-06-27 10:07:47 +02:00
Frederic Junod
a172eda242
Remove uniqueness constraint check
2014-06-26 17:55:38 +02:00
oterral
02b8ef1bb6
Fix nodes order in Placemark and IconStyle
2014-06-26 09:24:08 +02:00
Éric Lemoine
384f2a0ecf
Create valid KML documents
...
Thanks @bartvde.
2014-06-25 15:58:56 +02:00
Éric Lemoine
a4e95eb513
Add write support to KML format
2014-06-25 12:17:32 +02:00
Éric Lemoine
ec6a0548d1
Add ol.Feature#clone
2014-06-25 09:31:15 +02:00
Frederic Junod
a283977cb9
Make the scale factor of ol.format.Polyline configurable
...
And export the class
2014-06-17 16:58:40 +02:00
Éric Lemoine
4f23ef66d0
Make ol.FeatureOverlay use replay group
2014-06-14 14:22:10 +02:00
Frederic Junod
23383c9979
Add more tests for ol.structs.RBush#forEach
2014-06-11 13:45:18 +02:00
tsauerwein
d0e818e8ce
Add condition to draw interaction
2014-06-06 15:54:38 +02:00
Frederic Junod
4525276c6e
Rename ol.Collection#getAt to ol.Collection#item
...
TouchList, DOMStringList, DOMTokenList, NodeList all have an
`item(index)` function to retrieve an item from a list.
We should do the same.
2014-06-06 09:49:12 +02:00
oterral
b4851e7927
Add ol.format.KML test for complex IconStyle
2014-06-05 08:40:08 +02:00
oterral
2961970f59
Add ol.style.Icon tests for getAnchor and getOrigin
2014-06-05 08:40:00 +02:00
Éric Lemoine
85835a977b
Add ol.FeatureOverlay tests
2014-06-02 14:05:06 +02:00
Éric Lemoine
8cd5f6d642
Merge pull request #2109 from elemoine/visibleandinrange
...
Hit detection respects min and maxResolution
2014-05-25 14:43:44 +02:00
Éric Lemoine
fd8a46dcae
Hit detection respects min and maxResolution
2014-05-25 14:35:07 +02:00
Tim Schaub
a2b81d6bd0
Disallow adding the same feature twice
2014-05-23 16:52:11 -06:00
Tim Schaub
652f11cefa
Provide a method for retrieving features by id
2014-05-23 16:35:07 -06:00
Tim Schaub
34cabd1579
Dispatch change on feature id change
2014-05-23 16:35:06 -06:00
Bart van den Eijnden
28d122e21e
Write out valid WFS Transaction XML and ability to specify srsName
2014-05-21 17:58:53 +02:00
Tim Schaub
98193c0336
Merge pull request #2098 from tschaub/empty-feature
...
Do not set geometry by default.
2014-05-21 09:52:09 -06:00
Frédéric Junod
9e7bfda9f7
Merge pull request #2096 from fredj/unused-require
...
Remove unused goog.require
2014-05-21 17:36:29 +02:00
Tim Schaub
9341e98374
Merge pull request #2093 from bjornharrtell/fix_opt_dest2
...
Assign to provided array instead of pushing when getting a linestring midpoint.
2014-05-21 09:28:06 -06:00
Tim Schaub
a4d31147bc
Do not set geometry by default
...
A feature can have a geometry whose value is an ol.geom.Geometry instance or null. A feature can also have no geometry property. By default, a feature has no geometry property. To set a geometry, one can be passed to the constructor (including null) or passed to setGeometry().
2014-05-21 09:16:54 -06:00
Bart van den Eijnden
8eef633abc
Ability to specify geometryName on ol.format.GeoJSON
2014-05-21 16:44:18 +02:00
Frederic Junod
2f918ea2a4
Remove unused goog.require
2014-05-21 16:06:32 +02:00
Andreas Hocevar
dca88668ab
Merge pull request #2095 from ahocevar/test-geometry-name
...
Test that a custom geometry works
2014-05-21 15:08:47 +02:00
Andreas Hocevar
e530758b36
Test that a custom geometry works
2014-05-21 15:08:11 +02:00
Björn Harrtell
ce40a142fa
opt_dest should be assigned to not pushed
2014-05-21 12:02:26 +02:00
Tim Schaub
3793f33acf
Handle minZoom in getZoom and setZoom
2014-05-16 04:56:42 -06:00
Tim Schaub
815f5b38c8
Accept resolution or zoom related options for constrained views
...
Any of minResolution, maxResolution, minZoom, or maxZoom can be used to constrain the view resolutions. Resolution options are given precedence over zoom options.
2014-05-15 17:31:55 -06:00
Frederic Junod
84390da2e4
Rename ol.color.ENABLE_NAMED_COLORS in tests
2014-05-15 08:59:02 +02:00
Tim Schaub
df05e9da11
Fire moveend only once after view settles
2014-05-14 14:23:31 -06:00
Bart van den Eijnden
28f21e44c1
Merge pull request #2059 from bartvde/draw-geometryname
...
Add geometryName option to ol.interaction.Draw (r=@elemoine)
2014-05-14 08:51:59 +02:00
Bart van den Eijnden
945f5008f5
Ability to specify geometryName on ol.interaction.Draw
2014-05-14 08:35:27 +02:00
Tim Schaub
7709d26955
Restore setTimeout after it is mocked
2014-05-13 22:44:36 -06:00
Bart van den Eijnden
0a3031a165
Ability to specify gmlOptions (e.g. srsName) in WFS transactions
2014-05-13 13:10:18 +02:00
Tim Schaub
29d71b34b2
Merge pull request #2036 from tschaub/transform
...
More convenient geometry transforms.
2014-05-02 13:52:47 -06:00
Tim Schaub
e448f100fd
Add a transform method to geometries
...
This accepts CRS identifiers for source and destination, transforms the geometry in place, and returns a reference to the geometry.
2014-05-02 11:47:59 -06:00
Tim Schaub
f66ad1253f
Reducing expectations about spherical interpolation precision
...
This avoids test failures in Chrome 34 (see also #1748 and https://code.google.com/p/v8/issues/detail?id=3006 ).
2014-05-02 10:23:03 -06:00
Tim Schaub
015aab8af3
Rename ol.extent.transform to ol.extent.applyTransform
...
This gives more consistency with ol.proj.applyTransform, allowing us to add a more convenient ol.extent.transform method that takes projection-like arguments.
2014-05-02 10:13:28 -06:00