Frederic Junod
8730fc8824
Remove goog.style.getRelativePosition workaround
...
Fixed upstream with https://github.com/google/closure-library/pull/424
2015-08-19 13:50:14 +02:00
Marc Jansen
dd16bb984c
Remove docs referring to removed feature overlay
2015-06-11 17:47:16 +02:00
Andreas Hocevar
fad3cf9672
Merge pull request #3758 from ahocevar/remove-featureoverlay
...
Removal of ol.FeatureOverlay
2015-06-10 14:33:28 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Pierre GIRAUD
36b521a00e
Add ol-touch but keep ol-viewport className.
2015-06-09 11:34:19 +02:00
Marc Jansen
cf99bcbba1
Fix typo in API docs
2015-06-01 07:56:58 +02:00
Marc Jansen
b06f3457da
Enhance docs of arguments of callbacks/filters
2015-05-29 13:20:58 +02:00
Peter Robins
074941bf1f
Improve Map docs for layers and layergroups
2015-05-23 11:53:37 +00:00
Bart van den Eijnden
2724292de1
Add a note about using the collection in addLayer
2015-05-10 12:20:02 +02:00
Tim Schaub
1f07dfc343
Add ol.size.hasArea
2015-04-22 10:01:31 -06:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Tim Schaub
b735504564
Map docs
2015-04-04 17:36:48 +02:00
Éric Lemoine
7c0977de45
Merge pull request #3420 from elemoine/leaks
...
Unregister viewport size listener on setTarget(null)
2015-04-03 20:07:20 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +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
Frederic Junod
7dcef882c2
Use ol.Map#getTargetElement function
2015-03-09 16:21:03 +01:00
Stefan Weil
e812f2435e
Fix typos found by codespell
...
Most of them are in comments, some in strings.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-02-12 16:39:55 +01:00
Frederic Junod
078d3fb007
Add missing goog.require
2015-02-05 10:56:44 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
tsauerwein
b390c1bdf8
Use dragging flag in examples
2015-01-30 13:53:32 +01:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
4d4bed454a
Avoid pixel->coord->pixel conversion
2015-01-30 10:00:37 +01:00
tsauerwein
225f0739ec
Add forEachLayerAtPixel
2015-01-30 10:00:36 +01:00
Frederic Junod
eb7041c71d
Simplify ternary operator condition
2015-01-26 09:51:53 +01:00
tsauerwein
316480dcda
Rename argument
2015-01-22 10:24:59 +01:00
Tobias Sauerwein
1702a4ed36
Merge pull request #3066 from tsauerwein/webgl-point-hasFeatureAtPixel
...
Introduce hasFeatureAtPixel
2015-01-22 10:20:00 +01:00
Tim Schaub
06dc0902c6
Avoid use of goog.array.clone with arrays
2015-01-15 12:43:12 -07:00
Frederic Junod
0bae04331d
Revert "Use offsetX and offsetY if available"
...
This reverts commit fabf05977a .
2015-01-15 08:56:55 +01:00
tsauerwein
d0691ecc4d
Add hasFeatureAtPixel function to map
2015-01-08 16:12:52 +01:00
Andreas Hocevar
38b12d3149
Make map's deviceOptions map options
...
This removes the map's deviceOptions config option, and instead
introduces loadTilesWhileAnimating and loadTilesWhileInteracting map
options. By default, both are false now, to make zooming and panning
smoother on most devices.
2014-12-21 12:03:28 +01:00
Éric Lemoine
a24716ac8a
Merge pull request #3048 from elemoine/drag-features
...
Add a drag-features example
2014-12-19 08:49:11 +01:00
Éric Lemoine
4a311e66d7
Add ol.Map#getTargetElement
...
ol.Map#getTarget returns an element or a string, depending on what was passed to setTarget. This commit adds a getTargetElement method that always returns an Element.
2014-12-18 14:13:44 +01:00
Frederic Junod
7c6ccca572
Reuse previousExtent_ local variable
2014-12-17 10:36:31 +01:00
Éric Lemoine
d07185e8f2
Add an "handleEvent" interaction option
2014-12-12 18:30:31 +01:00
Frederic Junod
fabf05977a
Use offsetX and offsetY if available
2014-12-01 10:56:34 +01:00
Frederic Junod
552f9483cb
Revert "Remove mousewheel event name workaround"
...
This reverts commit 20ce664068 .
Reverted upstream: 4ee0daca0e
2014-11-18 09:00:50 +01:00
Tim Schaub
03fa9965c5
Avoid modifying map.logos_ with each frame
2014-10-25 23:54:42 -06:00
Éric Lemoine
2248d2e012
Skip inactive interactions
2014-09-23 12:37:53 +02:00
Éric Lemoine
8660f00917
Do not exec animation functions when frameState is null
2014-09-17 12:49:46 +02:00
Éric Lemoine
cb8b896230
Make ol.Map#setView do not accept undefined
...
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Frederic Junod
20ce664068
Remove mousewheel event name workaround
...
Fixed upstream https://github.com/google/closure-library/pull/308
2014-09-09 15:03:18 +02:00
Frederic Junod
c0c14cb09c
Remove undefined from ol.Map#getLayers return type
...
It's already assumed that the collection is defined in ol.Map#addLayer
and ol.Map#removeLayer.
2014-09-08 15:47:14 +02:00
Éric Lemoine
96f7d6323a
Change signature of ol.layer.Group#getLayers
...
This commit changes the signature of ol.layer.Group#getLayers from {ol.Collection.<ol.layer.Base>|undefined} to {!ol.Collection.<ol.layer.Base>}. In this way the caller is guaranteed that getLayers returns a dereferencable object.
2014-09-08 15:45:58 +02:00
Tim Schaub
fc13499f31
Using the openlayers.org domain
2014-08-28 16:15:41 -06:00
Tim Schaub
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Tim Schaub
9975d842f1
Mark map.beforeRender as unstable
2014-08-21 20:31:05 -06:00
Peter Robins
b858421220
Small improvements to description of ol.Map example
2014-08-21 08:46:40 +01:00
Éric Lemoine
e53213d730
Merge pull request #2537 from probins/browserfeature
...
Rename BrowserFeature to browserfeature
2014-08-18 16:23:28 +02:00
Éric Lemoine
ba035abb1f
Change ol.TileCoord to an Array
2014-08-18 09:33:24 +02:00
Peter Robins
e35531e7c6
Rename BrowserFeature to browserfeature
2014-08-15 13:53:20 +00:00