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
Tim Schaub
a4f1efbddb
Add tests for geometry applyTransform method
2014-05-02 09:58:23 -06:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00
Frederic Junod
c0d8fe4126
Remove unneeded goog.require
2014-05-01 13:41:16 +02:00
Tom Payne
b64c63ea24
Don't return a feature if there are no coordinates
2014-04-29 15:05:30 +02:00
Bart van den Eijnden
635dd5f380
Make sure we can parse WFS 1.1 responses from MapServer
2014-04-25 11:29:27 +02:00
Frederic Junod
251996f789
Use ol.color.ENABLE_NAMED_COLORS in tests
2014-04-15 17:22:58 +02:00
Frederic Junod
9b5512c065
Allow '{-y}' placeholder
2014-04-14 14:27:18 +02:00
Éric Lemoine
baca25ed95
Fix bug at modify interaction construction time
...
This fixes a bug that occurs when the modify interaction is configured with a non-empty collection of features.
2014-04-10 11:00:00 +02:00
Tim Schaub
7826036307
Make getLayerStatesArray return an array of layer states
2014-04-04 07:39:54 -06:00
Tim Schaub
9d5451b1d6
Provide a reference to the layer
2014-04-04 07:36:42 -06:00
Bart van den Eijnden
6a3d349409
Merge pull request #1863 from htulipe/ows-capabilities
...
Add basic reading support for OWS Capabilities documents.
2014-04-03 19:57:27 +02:00
Andreas Hocevar
e44e59311b
Merge pull request #1896 from ahocevar/nodragclick
...
Add click event as responsive alternative to singleclick
2014-04-03 13:34:14 +02:00
Tim Schaub
5653d57712
Change default renderer to Canvas
2014-04-02 11:43:20 -06:00
ahocevar
30fc1a29fb
Add unit tests for click event
2014-03-27 18:33:17 +01:00
ahocevar
7bfa15c0fd
Add click event as responsive alternative to singleclick
...
The singleclick event makes the application feel slow because
of the 250 ms delay that is used to rule out a dblclick.
2014-03-27 18:33:17 +01:00
Frederic Junod
5c4adebb7d
Add more topojson tests
2014-03-26 14:59:08 +01:00
Tom Payne
9a6b502960
Add missing semicolon
2014-03-23 19:59:49 +01:00
Tom Payne
8c6c262a6a
Don't redeclare variable
2014-03-23 19:59:49 +01:00
Tom Payne
0ea102ae66
Merge pull request #1874 from twpayne/wfs-fixes
...
Miscellaneous GML and WFS fixes
2014-03-19 12:54:49 +01:00