Tim Schaub
22fce4f97b
Rename _ol_Feature_ to Feature
2018-01-10 09:35:35 -07:00
Andreas Hocevar
9397c41e6c
Use declutter tree only for text and image replays
2018-01-09 15:41:45 +01:00
Frederic Junod
43377c1332
Rename _ol_interaction_MouseWheelZoom_ to MouseWheelZoom
2018-01-08 10:45:39 +01:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Marc Jansen
25946b4541
Rename _ol_layer_Tile_ to TileLayer
2017-12-19 08:45:00 +01:00
Frederic Junod
db69f0ae44
Rename _ol_Overlay_ to Overlay
2017-12-18 13:29:52 +01:00
Frederic Junod
f23590a479
Named export for ol/interaction
2017-12-17 19:05:05 +01:00
Marc Jansen
66c5f9b63d
Rename _ol_interaction_DoubleClickZoom_ to DoubleClickZoom
2017-12-15 09:39:10 -07:00
Marc Jansen
4a1d50730b
Rename _ol_interaction_Interaction_ to Interaction
2017-12-15 09:39:10 -07:00
Marc Jansen
a01793d3af
Rename _ol_MapEvent_ to MapEvent
2017-12-15 16:17:56 +01:00
Tim Schaub
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
73afb656d7
Test fixes
2017-08-16 14:24:42 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Andreas Hocevar
7d260c54d3
Add new Map#getFeaturesAtPixel method
2017-08-09 12:58:24 -06:00
Andreas Hocevar
9fda131d37
Add a movestart event
2017-06-12 08:39:12 +02:00
Tim Schaub
64b3302883
Require that map layers are unique
2017-04-13 05:38:49 -06:00
Frederic Junod
15e6fa454d
Add new constrainResolution option to olx.interaction.DefaultsOptions
2017-04-11 13:27:11 +02:00
Tim Schaub
289940d39e
Regression test
2016-12-20 13:07:00 -07:00
Tim Schaub
5b85f8ecc9
Render on view changes
2016-11-13 10:25:20 -07:00
Tim Schaub
004cf15222
Add some missing test requires
2016-08-12 10:53:48 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Frederic Junod
25f5776d8e
Remove use of goog.dom.getParentElement
2016-02-15 17:13:04 +01:00
Andreas Hocevar
dc0393acff
Add map tests for resize and animationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
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
Frederic Junod
a186254e14
Remove use of goog.dom.createDom
2015-11-25 12:40:45 +01:00
Tim Schaub
d5c7f805ab
Unregister postrender listener in tests
2015-11-01 09:03:23 -07:00
jonataswalker
fce065e185
Add method for retrieving ol.Overlay by id
2015-10-14 16:01:48 -03:00
jonataswalker
d29e5eaef1
Add method for retrieving ol.Overlay by id
2015-10-14 12:15:53 -03:00
Samuel Lapointe
c2c4dbfc32
Add a zoom setting to MouseWheelZoomInteraction
...
By default, zooming in or out zooms using the mouse's location
as an anchor, which makes it possible to navigate the map
using scrolling only, and makes zooming in more intuitive.
This commit adds a new useAnchor option to the MouseWheelZoom
interaction. It is enabled by default, which changes nothing
to the current behavior of the interaction. When disabled,
the interaction stops registering its lastAnchor_ value. This
turns the zoom into a very basic one, that zooms to the center
of the screen.
To use the map center zoom, set the useAnchor option to
false when creating the MouseWheelZoomInteraction, or use its
setMouseAnchor function.
2015-09-11 16:20:10 -04:00
Frederic Junod
fdba4fc381
Add a test for ol.Map#getEventPixel
2015-08-19 13:50:14 +02:00
Éric Lemoine
192c9d697e
Unregister the viewport listener on setTarget(null)
...
This commit unregisters the viewport resize listener when setTarget(null) is called, and registers it when setTarget(target) is called, and when we don't have that listener registered yet.
This prevents memory leaks where references to map objects are retained because of these viewport resize listeners.
2015-03-30 16:50:58 +02:00
Éric Lemoine
d07185e8f2
Add an "handleEvent" interaction option
2014-12-12 18:30:31 +01:00
Marc Jansen
2e37a34459
Fix typo in ol.Map test.
2014-07-28 09:35:23 +02:00
Tim Schaub
47d37fabea
Rename ol.View2D to ol.View
2014-06-27 09:59:39 -04:00
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
Tim Schaub
df05e9da11
Fire moveend only once after view settles
2014-05-14 14:23:31 -06: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
tsauerwein
43aac5480c
fixes interaction options in tests
2014-03-14 10:16:26 +01:00
Tom Payne
a8f932fa07
Rename ol.Map#requestRenderFrame to ol.Map#render
2014-02-20 16:54:20 +01:00
Antoine Abt
4dd8c248f5
Remove ol.RendererHints.createFromQueryData
2014-02-14 09:32:14 +01:00
Tim Schaub
36e2e51899
Only create a frame state if the map has non-zero size
2014-01-09 18:23:53 -07:00
Tim Schaub
7fb56579c5
Add addInteraction and removeInteraction methods to the map
...
This is in line with how we add/remove controls and overlays.
2013-10-31 09:26:28 -06:00
Tim Schaub
8b7a0a060c
Export ol.interaction namespace instead of the defaults function
2013-09-04 13:55:54 -06:00
Tom Payne
ef17d4f3b8
Rename DblClickZoom to DoubleClickZoom
2013-04-23 15:31:15 +02:00
Tom Payne
a4d8e1c4d8
Correct property in ol.interaction.DefaultsOptions
2013-04-23 15:29:17 +02:00
Tom Payne
6751c2640d
Remove fragile test
...
The user animation test is sensitive to small timing differences and
randomly fails. This randomly breaks the integration tests.
2013-04-23 14:24:16 +02:00