Commit Graph

1138 Commits

Author SHA1 Message Date
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
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
Tom Payne 3541a01aab Factor out ol.geom.flat.inflate 2014-03-12 13:26:14 +01:00
Tom Payne 9ca996725e Factor out ol.geom.flat.flip 2014-03-12 13:26:14 +01:00
Tom Payne 266c43dc78 Factor out ol.geom.flat.deflate 2014-03-12 13:26:14 +01:00
Tom Payne 1363ce3a58 Factor out ol.geom.flat.orient 2014-03-12 13:26:14 +01:00
Tom Payne becd1318bd Factor out ol.geom.flat.area 2014-03-12 13:26:13 +01:00
Tom Payne 522fda1688 Factor out ol.geom.flat.interpolate 2014-03-12 13:26:13 +01:00
Tom Payne c8165a8168 Factor out ol.geom.flat.simplify 2014-03-12 13:26:13 +01:00
Tom Payne 2b6845244c Factor out ol.geom.flat.closest 2014-03-12 13:26:13 +01:00
Tom Payne 86dc90ceca Merge pull request #1830 from twpayne/geom-fixes
Extra geometry functions
2014-03-12 13:24:45 +01:00
Éric Lemoine 934664296f Merge pull request #1842 from elemoine/1798
Re-render on feature changes
2014-03-12 10:43:22 +01:00
Éric Lemoine 814e5d2790 Re-render on feature changes 2014-03-12 10:03:42 +01:00
Bart van den Eijnden ac2840721c Merge pull request #1829 from bartvde/wfs2
WFS 1.1.0 format (read/write) (r=@twpayne,@ahocevar)
2014-03-11 22:14:25 +01:00
Frederic Junod 1c13d6ed69 Add ol.format.WMSCapabilities 2014-03-10 17:06:48 +01:00
Frederic Junod 55a8f9a5ec Remove duplicate files 2014-03-10 17:06:48 +01:00
Frederic Junod 5fba2dd7d5 Move src/ol/parser/* and tests into old directory 2014-03-10 17:06:48 +01:00
Tom Payne b77f0e7d3a Add ol.geom.MultiPolygon#appendPolygon 2014-03-10 16:53:20 +01:00
Tom Payne c8bbeca06e Add ol.geom.MultiPolygon#getPolygon 2014-03-10 16:53:20 +01:00
Tom Payne cb27ae5826 Add test for ol.geom.MultiPolygon#getPolygons 2014-03-10 16:53:20 +01:00
Tom Payne 7a51b4c7b6 Add ol.geom.MultiLineString#appendLineString 2014-03-10 16:53:20 +01:00
Tom Payne 7ee4fb8a2e Add ol.geom.MultiLineString#getLineString 2014-03-10 16:53:20 +01:00
Tom Payne ddfce24f05 Add ol.geom.MultiPoint#getPoint 2014-03-10 16:53:20 +01:00
Tom Payne 361d31b596 Construct individual points directly from flat coordinates 2014-03-10 16:53:19 +01:00
Tom Payne 033e2e7dd8 Add ol.geom.MultiPoint#appendPoint 2014-03-10 16:53:19 +01:00
Tom Payne c2d4ffaba1 Add ol.geom.Polygon#getLinearRing 2014-03-10 16:53:19 +01:00
Tom Payne 03911e6c6b Add ol.geom.Polygon#appendLinearRing 2014-03-10 16:53:19 +01:00
Tom Payne 94cfb3205a Add ol.geom.LineString#appendCoordinate 2014-03-10 16:53:19 +01:00
Bart van den Eijnden 6800a3290b Port over test case for multiple Query elements 2014-03-10 15:37:29 +01:00
Bart van den Eijnden 33abbfced1 Add support for writing Native 2014-03-10 15:24:00 +01:00
Bart van den Eijnden 4e5e75f525 Add write support for Transaction 2014-03-10 14:58:03 +01:00
Tom Payne 586c4b9cd2 Merge pull request #1746 from sbrunner/fitcoordinates
Fit coordinates on visible map, Center coodinate on positions
2014-03-10 14:08:47 +01:00
Tim Schaub 8317317127 Always add first segment when appending coordinates
When we have only a single point, we want to make sure it gets added (fixes #1821).

Because this code doesn't differentiate coordinates that are part of a linestring or linearring from those that are independent points, we always add the first segment (or pair of points).  In addition, coordinates for segments are appended whenever they represent a change in relationship with respect to the extent.  This keeps the code simpler for handling fills and properly capturing intersection points for linestrings.  This could be modified to save a few extra coordinates, but it provides for simpler code at a very minimal cost.
2014-03-07 11:02:25 -07:00
Bart van den Eijnden 2ce92ac6a2 Add write support for BBOX filter 2014-03-07 16:44:24 +01:00
Bart van den Eijnden c05e8d0292 Read the metadata of a FeatureCollection 2014-03-07 10:32:17 +01:00
Bart van den Eijnden 2310ccdb91 Add reading of TransactionResponse 2014-03-06 19:04:23 +01:00
Tim Schaub 36204faf2f Merge pull request #1754 from tschaub/clip
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Tom Payne e5ee44f8ad Rename ol.structs.RBush#getAllInExtent to getInExtent 2014-03-06 14:30:56 +01:00
Stéphane Brunner 015c660386 Add ol.View2D#centerOn 2014-03-06 10:54:15 +01:00
Stéphane Brunner 9984ca109c Add ol.View2D#fitGeometry 2014-03-06 10:54:04 +01:00
Bart van den Eijnden 7ebf97406d Add support for writing WFS GetFeature 2014-03-06 09:24:39 +01:00