Andreas Hocevar
c3217e8d30
Merge pull request #5044 from fblackburn/snapinteraction
...
Snap interaction now handle feature without geometry properly
2016-04-27 14:25:17 +02:00
Andreas Hocevar
c11e95099c
Fix feature-layer association on replaced selections
2016-04-27 08:13:45 +02:00
Francois Blackburn
9186d1fbda
Snap interaction now handle feature without geometry properly
2016-04-26 14:14:47 -04:00
Andreas Hocevar
ed6ac93222
Merge pull request #5264 from matjos/master
...
Fix for close draw polygon error
2016-04-26 10:52:28 +02:00
Mattias Josefsson
8f96251618
Added wanted change for issue #5145
2016-04-26 10:34:55 +02:00
Andreas Hocevar
b37cd3fae6
Use ol.functions instead of goog.functions
2016-04-25 15:46:00 +02:00
Mattias Josefsson
e85d8fa749
Fix for close draw polygon error
2016-04-25 11:48:55 +02:00
giohappy
130b4d9459
add finishCondition to ol.interaction.Draw
2016-04-22 11:07:42 +02:00
Alexandre Dubé
e6e9b12bac
Add 'layers' option to Translate interaction
2016-04-13 13:35:36 -04:00
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Frederic Junod
c549fadc01
Remove goog.functions.and from ol.interaction.Modify
2016-04-07 11:46:52 +02:00
Frederic Junod
e099dcd9a9
Simplify ol.interaction.KeyboardPan#defaultCondition_
...
No need to invoke the function with 'call'
2016-04-07 11:44:23 +02:00
Renaud Michaëlis
53a9341ef0
Allow to delete the starting or ending vertex
...
* Allow to delete the starting or ending vertex
* Test if starting and ending vertex are removed
2016-04-06 13:47:37 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Frederic Junod
e126df11e7
Remove use of goog.math.Vec2
2016-03-23 14:16:20 +01:00
drnextgis
d41bfde25d
snap to vertices or edges
2016-03-21 16:19:36 +06:00
drnextgis
658a2b317e
correct way to determine freehand mode is enabled
2016-03-18 11:10:27 +06:00
drnextgis
7b1e92580d
zooming out option for ol.interaction.DragZoom
2016-03-16 11:47:18 +06:00
Frederic Junod
edf2096b1b
Remove use of goog.style.getClientPosition
...
Use Element.getBoundingClientRect() instead.
2016-02-25 08:36:40 +01:00
Frederic Junod
e6c2fa52f5
Remove unneeded type cast
2016-02-22 10:02:15 +01:00
Andreas Hocevar
81750ea6b1
Merge pull request #3453 from bjornharrtell/set-multi
...
Consider multi in add/remove/toggle select logic
2016-02-22 09:49:00 +01:00
tsauerwein
1e8bbb0ae4
Add target property to drag&drop interaction
2016-02-22 09:25:30 +01:00
Björn Harrtell
7822f5ce5d
Consider multi in add/remove/toggle select logic
2016-02-17 13:18:06 +01:00
Andreas Hocevar
9f0fefd42d
Hit-detect skipped features, but not on unmanaged layer
2016-02-17 00:54:31 +01:00
Frederic Junod
e7c57ada95
Use olx.format.ReadOptions in ol.interaction.DragAndDrop
...
Don't reproject the geometries in ol.interaction.DragAndDrop; use
the `featureProjection` option in `format.readFeatures`
2016-02-15 09:26:00 +01:00
Frederic Junod
a44e71aad1
Use ol.events.listen instead of ol.Observable#on
...
`ol.Observable#on` may return an array of `ol.events.Key`, `ol.events.listen` always
return a single `ol.events.Key`.
2016-02-04 17:24:29 +01:00
Tim Schaub
e2fe897811
Replace goog.object.getValues() with ol.object.getValues()
2016-02-04 06:54:44 -07:00
Tim Schaub
fd394151fd
Replace goog.object.clear() with ol.object.clear()
2016-02-04 06:54:44 -07:00
Tim Schaub
f10c90bdba
Simpler type for ol.events.Key
...
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.
To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).
To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types. Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
6ac3f30c8f
Remove goog.events.MouseWheelEvent and goog.events.MouseWheelHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
1a6daa297e
Remove goog.events.KeyHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
0f216659f9
Remove goog.fs.FileReader and goog.events.FileDropHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2fb33ba940
Type fixes and simplifications
2016-02-03 11:41:40 +13:00
Nicholas L
d820b54443
Remove goog.array.equals and goog.array.stableSort
2016-02-03 11:41:39 +13:00
Nicholas L
d1b6a17773
Remove goog.array.extend
2016-02-03 11:41:38 +13:00
Andreas Hocevar
ecb2a42900
Properly detect feature on unmanaged layer for toggle selection
2016-01-30 18:13:48 +01:00
Frederic Junod
b7cbd20b6f
Add missing JSDoc tags
2016-01-25 14:37:45 +01:00
Frédéric Junod
eb395894e1
Revert "Do not render in handleDownEvent"
2016-01-19 15:26:10 +01:00
Tim Schaub
dc820fced4
Merge pull request #4639 from nicholas-l/googBind
...
Remove use of goog.bind and use ES5 .bind.
2016-01-15 09:41:11 -08:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Philip "digitalfox" Kovac
83e173d91f
Add a 'boxdrag' event to ol.interaction.DragBox. Resolves #4563 .
2016-01-12 17:16:56 -05:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
59a66c7aaa
Remaining valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Tim Schaub
fd0e2436da
Always provide a default case for switch
2016-01-11 18:56:08 -08:00
Tim Schaub
54df314936
Consistent curly brace style
2016-01-11 18:56:08 -08:00
Tim Schaub
ec10b661f3
Use block scoping
2016-01-11 18:56:08 -08:00
Andreas Hocevar
5c49e399ce
Merge pull request #4581 from ahocevar/no-render-on-interaction-start
...
Do not render in handleDownEvent
2016-01-07 18:24:39 +01:00