Marc Jansen
c620688758
Rename _ol_events_EventTarget_ to EventTarget
2017-12-15 16:19:03 +01:00
Marc Jansen
ec64789940
Rename _ol_MapBrowserPointEvent_ to MapBrowserPointerEvent
2017-12-15 16:18:32 +01:00
Marc Jansen
039bde29cc
Rename _ol_MapBrowserEventType_ to MapBrowserEventType
2017-12-15 16:18:32 +01:00
Marc Jansen
465c248572
Rename _ol_MapBrowserEvent_ to MapBrowserEvent
2017-12-15 16:17:56 +01:00
Marc Jansen
1cc682e488
Rename _ol_events_Event_ to Event
2017-12-15 16:17:56 +01:00
Tim Schaub
ac7985a5ad
Rename _ol_geom_Circle_ to Circle
2017-12-14 08:57:52 -07:00
Tim Schaub
9d396280b0
Rename _ol_geom_MultiPolygon_ to MultiPolygon
2017-12-14 08:56:51 -07:00
Tim Schaub
c502f016f7
Rename _ol_geom_Polygon_ to Polygon
2017-12-14 08:56:12 -07:00
Tim Schaub
3c78cb7872
Rename _ol_geom_MultiLineString_ to MultiLineString
2017-12-14 08:55:33 -07:00
Tim Schaub
f7b3876c1b
Rename _ol_geom_LineString_ to LineString
2017-12-14 08:54:53 -07:00
Tim Schaub
ad5806c29d
Rename _ol_geom_MultiPoint_ to MultiPoint
2017-12-14 08:51:53 -07:00
Tim Schaub
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Andreas Hocevar
5a4887e300
Remove default export from ol/extent
2017-12-13 22:05:10 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264
Separate example scripts for dev and prod
2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Matt Walker
90d8224a08
Fix Draw.removeLastPoint exception when no points to remove
2017-12-01 15:50:21 +00:00
Andreas Hocevar
e1783fc788
Fix travis build
2017-09-06 10:02:15 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
3bdddeac1d
More test cleanup
2017-08-16 13:45:13 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Tim Schaub
32c26c2524
More consistent clean up
2017-08-16 13:35:31 -04:00
Tim Schaub
17b6088a79
Allow drag and drop interaction to be configured with a source
2017-08-10 07:10:13 -06:00
Tim Schaub
86eacefe19
Allow modify interaction to be configured with a source
2017-08-09 13:35:25 -06:00
Andreas Hocevar
b0b68983f7
Allow to configure Extent interaction with an extent
2017-07-28 13:07:18 +02:00
Andreas Hocevar
cff9ef5e63
Remove lint
2017-07-09 16:11:36 +02:00
Marc Jansen
9fc0fb5e74
Merge pull request #6916 from marcjansen/eslint-4-upgrade
...
Upgrade eslint to v4.0.0
2017-06-22 07:55:06 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Frederic Junod
3e7aecd094
Handle setActive(false) on an interaction without map
2017-06-15 08:41:52 +02:00
Andreas Hocevar
9b41ea4017
Use class instead of style for Translate cursor
2017-06-12 13:30:25 +02:00
Andreas Hocevar
00c8a5845e
Disable rotation for views with enableRotation: false
2017-06-08 17:29:47 +02:00
Frederic Junod
22939abb0d
Only test ol.interaction.DragAndDrop if FileReader is supported
2017-06-06 09:43:59 +02:00
Andreas Hocevar
959367629e
Merge pull request #6851 from ahocevar/draganddrop-active
...
Register/unregister listeners in setActive
2017-05-24 15:36:26 +02:00
Andreas Hocevar
278d3a0313
Register/unregister listeners in setActive
2017-05-24 14:51:39 +02:00
Thomas Chandelle
074fdeb212
Add snapping abilities on circles
2017-05-23 14:45:03 +02:00
Frederic Junod
ff91974345
Add insertVertexCondition to ol.interaction.Modify options
2017-05-09 15:34:43 +02:00
Tim Schaub
41ebe62852
Merge pull request #6675 from tchandelle/translate-cursor
...
Reset cursor when translate interaction is removed or deactivated
2017-04-13 20:25:20 -06:00
Frederic Junod
72bb310386
Move eslint globals to to test/.eslintrc
2017-04-11 12:36:39 +02:00
Thomas Chandelle
051d5651a5
Complete previous cursor tests
...
"respects existing cursor value" wasn't actually testing anything
2017-04-11 09:15:02 +02:00
Thomas Chandelle
5c23123b6d
Reset cursor when translate interaction is removed or deactivated
2017-04-11 09:15:02 +02:00
Frederic Junod
d97d5e5164
Update finishCoordinate in ol.interaction.Draw#removeLastPoint
...
And don't crash if the function is called but no feature is drawn
2017-04-10 12:34:49 +02:00
Thomas Chandelle
0764be77c4
Failing test for "Circle Modification"
2017-02-15 09:46:51 +01:00
Andreas Hocevar
6a9cbf11f3
Add tests
2017-02-06 14:45:54 -05:00
Thomas Chandelle
8a440b0c20
Listen only to change event triggered by the feature
...
ol.Feature catch change event from its geometry and trigger a change
event itself. ol.Feature will also trigger change event when its
geometryName has changed
2017-01-20 13:01:28 +01:00
Thomas Chandelle
395d833dd6
Constrain the center in zoomByDelta
2017-01-06 09:31:00 +01:00
Thomas Chandelle
8956a492eb
Remove unused map parameter from several interaction methods
2017-01-05 15:34:47 +01:00
Tim Schaub
c6c105b62f
Shared module for map browser event type enum
2016-12-27 13:48:50 -07:00
Tim Schaub
69d345171e
Private enum for mousewheel mode
2016-12-27 13:32:24 -07:00
Frederic Junod
c6fe60bcd7
Don't reset the css cursor if it's not needed
2016-12-16 15:57:41 +01:00
Frederic Junod
392cbcc138
Enforces spacing around commas
2016-12-14 13:42:47 +01:00