Commit Graph

1640 Commits

Author SHA1 Message Date
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
Tom Payne
f41a4dc543 Add EPSG:4326 tests 2014-03-18 19:12:27 +01:00
Tom Payne
0b5f0d0c8e Add ol.Sphere#interpolate 2014-03-18 18:52:44 +01:00
Tom Payne
088a748d70 Remove tests for spherical geometry on poorly defined points 2014-03-18 14:58:39 +01:00
Hadrien Tulipe
58e74229d2 Rename ol.format.OWSCapabilities to ol.format.OWS 2014-03-17 21:10:47 +01:00
Tim Schaub
f57a0544a0 Merge pull request #1845 from tschaub/buffered
Track replay group resolution and buffer max extent to capture strokes.
2014-03-17 08:50:07 -06:00
Frederic Junod
9a51557dec Increase simulated clientY value
The the difference in position must be greater than
ol.pointer.MouseSource.DEDUP_DIST
2014-03-17 12:04:10 +01:00
Frederic Junod
391f81f838 Fix simulated touch event in tests 2014-03-17 10:35:13 +01:00
Hadrien Tulipe
fe2bee1577 Add basic reading support for OWS Capabilities document. 2014-03-16 19:47:13 +01:00
tsauerwein
51a557efbb Replace goog.structs.Map with plain object 2014-03-14 10:16:27 +01:00
tsauerwein
5a358918e1 Rename interactions
The idea behind the naming scheme is that for example
for `DragRotate`, `Rotate` is the action and `Drag` the
gesture that issues the action.
2014-03-14 10:16:27 +01:00
Frederic Junod
f5b15f737f Move DEDUP_TIMEOUT and CLICK_COUNT_TIMEOUT constants out of the instance 2014-03-14 10:16:27 +01:00
ahocevar
f5f2dae300 Updating tests for Draw interaction 2014-03-14 10:16:26 +01:00
tsauerwein
43aac5480c fixes interaction options in tests 2014-03-14 10:16:26 +01:00
tsauerwein
122dac857f PointerEventHandler test 2014-03-14 10:16:26 +01:00
tsauerwein
3d7ae92f0b tests for mouse- and touchsource 2014-03-14 10:16:26 +01:00
tsauerwein
2846996609 tests for pointereventhandler 2014-03-14 10:16:26 +01:00
tsauerwein
68b7ee58a5 fixes tests for mapbrowserevent 2014-03-14 10:16:26 +01:00
Tim Schaub
88efda1a1f Track resolution and buffer max extent to capture strokes 2014-03-13 20:40:18 -04:00
Tom Payne
82c4850f69 Don't compare floating point numbers for exact equality 2014-03-12 15:00:04 +01:00
Tom Payne
78c8d976eb Remove empty ol.geom.flat 2014-03-12 13:26:14 +01:00
Tom Payne
65dcc38fad Factor out ol.geom.flat.reverse 2014-03-12 13:26:14 +01:00