Éric Lemoine
e99f43af8d
Add a clickTolerance option to the Draw interaction
2015-06-15 15:32:34 +02:00
Andreas Hocevar
bad5a97d20
Merge pull request #3757 from bjornharrtell/selectevent-browser
...
Add mapBrowserEvent as a member of ol.SelectEvent
2015-06-04 18:56:55 +02:00
Björn Harrtell
9a9b838235
Add mapBrowserEvent as a member of ol.SelectEvent
2015-06-04 16:53:53 +02:00
Guillaume Beraudo
361d83dc73
Mark tilegrid.createTileCoordTransform() @api
...
Necessary since the removal of tilegridXYZ type.
2015-06-04 09:24:35 +02:00
Andreas Hocevar
8f2cfe9420
Merge pull request #3747 from ahocevar/tilecoordtransform
...
Make tileCoordTransform a member again
2015-06-03 14:11:00 +02:00
Andreas Hocevar
5d9708be11
Add tests
2015-06-03 12:41:35 +02:00
Marc Jansen
cf99bcbba1
Fix typo in API docs
2015-06-01 07:56:58 +02:00
Andreas Hocevar
5ae2521724
Make tileCoordTransform configurable
...
Instead of using the static createOriginTopLeftTileCoordTransform
function, the correct transform is now a non-API config option of the tile
grid.
2015-05-31 22:22:41 +02:00
Marc Jansen
81b13f295b
Merge pull request #3739 from marcjansen/simpler-scientific-wkt
...
Simplify detection of scientific notation in WKT format
2015-05-31 15:50:50 +02:00
Marc Jansen
e43573bcf2
Merge pull request #3741 from marcjansen/callback-docs
...
Enhance docs of arguments and return values of callbacks / filters
2015-05-29 13:52:27 +02:00
Marc Jansen
894be51b36
Merge pull request #3740 from probins/fireselect
...
Add @fires to select interaction
2015-05-29 13:30:05 +02:00
Marc Jansen
b06f3457da
Enhance docs of arguments of callbacks/filters
2015-05-29 13:20:58 +02:00
Peter Robins
7f1053d2cd
Add @fires to select interaction
2015-05-29 10:59:07 +00:00
Marc Jansen
96741e1f0b
Simplify detection of scientific notation
...
This change allows us to remove some avoidable function calls (specifically
to goog.isDef(c) and c.toLowerCase()). Additionally, the new check is simpler
to read.
2015-05-29 09:33:29 +02:00
Andreas Hocevar
4196e34c73
Improve doucmentation for ol.TileUrlFunctionType
2015-05-28 18:52:35 +02:00
Marc Jansen
41596d808b
Add method to bind bluring on mouseout/focusout
2015-05-26 22:32:09 +02:00
Frédéric Junod
ec208916d2
Merge pull request #3659 from fredj/undo_forEachFeatureAtCoordinate
...
Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate"
2015-05-26 09:34:06 +02:00
Bart van den Eijnden
78dcbe6b8e
Merge pull request #3683 from probins/group
...
Improve Map docs for layers and layergroups
2015-05-23 17:25:25 +02:00
Peter Robins
074941bf1f
Improve Map docs for layers and layergroups
2015-05-23 11:53:37 +00:00
Éric Lemoine
824a77e41b
Merge pull request #3720 from elemoine/missingprovides
...
Add missing goog.provides in drawinteraction.js
2015-05-22 12:15:56 +02:00
Andreas Hocevar
f40aa54c18
Use the correct TileCoord transform function
2015-05-22 09:19:59 +02:00
Éric Lemoine
531b35d7c2
Be consistent with the way we name types
2015-05-21 17:32:32 +02:00
Éric Lemoine
879307da1b
Add missing goog.provides in drawinteraction.js
2015-05-21 15:41:51 +02:00
tsauerwein
a3f9b3ba43
Add assertion for renderOrder
2015-05-21 09:26:47 +02:00
Bart van den Eijnden
680f140858
Merge pull request #3711 from marcjansen/color
...
Fix and test ol.color.blend
2015-05-20 15:25:54 +02:00
Marc Jansen
b6a4188ce4
Fix and test ol.color.blend
2015-05-20 12:50:52 +02:00
Andreas Hocevar
4be106d014
Merge pull request #3673 from ahocevar/draw-regular-polygon
...
More control over ol.interaction.Draw, to allow e.g. square drawing
2015-05-20 12:08:15 +02:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Marc Jansen
2b76bc05a5
Add support for scientific notation to WKT format
2015-05-18 11:27:39 +02:00
Andreas Hocevar
19c91235ce
Add convenience function to create a regular polygon geometryFunction
2015-05-14 23:24:29 +02:00
Andreas Hocevar
901a0f6d8e
Add functions to create regular polygons
2015-05-14 23:24:29 +02:00
Andreas Hocevar
250221cded
Add new geometryFunction option
...
This allows applications to control the geometry that is created from the
drawing sketch. Will e.g. be useful to create a regular polygon instead of
a circle when in Circle mode.
2015-05-14 23:24:29 +02:00
Andreas Hocevar
4e94908440
Define getCoordinates and setCoordinates in the base class
...
Since these methods are implemented by all subclasses, it makes sense to
define them in the base class as abstract method.
2015-05-14 23:24:29 +02:00
Bart Nagel
b606f4996b
Fix ol.extent.containsExtent documentation
...
The `ol.extent.containsExtent` documentation had its arguments backwards
(or the implementation did).
The documentation said "the first extent is contained by or on the edge
of the second", but the function checked the opposite.
The wording was also a little strange, since from the name of the
function alone `containsExtent` I'd guess that the first argument would
be the (potential) container, and the second would be the (potentially)
contained. But the documentation has the wording "check if one extent is
*contained by* or on the edge of another", suggesting the first argument
is the contained and the second the container.
This patch keeps the current functionality but clarifies the
documentation.
2015-05-13 12:10:06 -07:00
Peter Robins
a243149d02
Fix WMTS.optionsFromCapabilities if no OperationsMetadata section
2015-05-13 12:43:12 +00:00
Bart van den Eijnden
2724292de1
Add a note about using the collection in addLayer
2015-05-10 12:20:02 +02:00
Andreas Hocevar
32efd99397
Do not require projection extent for WMTS bbox validity check
2015-05-05 18:52:33 +02:00
Andreas Hocevar
b05193fa45
Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function
2015-05-05 18:52:33 +02:00
Andreas Hocevar
a116878a57
Allow extents to restrict tile ranges requested from the server
...
The addition of full extent tile ranges also allows us to simplify wrapX
handling for tile layers. By limiting wrapX to true and false as possible
values, we can remove a lot of guessing logic.
2015-05-05 18:52:33 +02:00
Andreas Hocevar
700903ca5c
Add tests for ol.tilegrid.TileGrid
...
These tests are taken from ol.tilegrid.XYZ, to make sure that
ol.tilegrid.TileGrid works the same way. The additional tests show that the
#getTileCoordForXYAndResolution_() method do not handle coordinates at
tile boundaries properly, so this is fixed.
2015-05-05 18:52:32 +02:00
Frederic Junod
bb6192bc10
Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate"
...
This reverts commit dd07fd7977 .
2015-05-05 09:38:50 +02:00
Frédéric Junod
56e8575e41
Merge pull request #3637 from fredj/forEachFeatureAtCoordinate
...
Implement ol.renderer.Layer#forEachFeatureAtCoordinate
2015-05-05 07:48:54 +02:00
Frederic Junod
dd07fd7977
Implement ol.renderer.Layer#forEachFeatureAtCoordinate
...
And remove identical implementation in children classes.
2015-04-28 14:08:45 +02:00
Éric Lemoine
3a03e9f76a
Add ol.source.WMTS#getRequestEncoding
2015-04-27 16:40:01 +02:00
Éric Lemoine
2a2fea379e
Add ol.source.WMTS#getUrls
2015-04-27 16:40:01 +02:00
Andreas Hocevar
1d6530ce9c
Merge pull request #3616 from ahocevar/freehand-drawing
...
Add support for freehand drawing to the Draw interaction
2015-04-27 11:27:10 +02:00
Frederic Junod
4b5f8cd60e
Remove unused local variable
2015-04-27 09:56:01 +02:00
Tobias Sauerwein
8e4063d905
Merge pull request #3629 from tsauerwein/snap-xyz
...
Problems with XYZ coordinates in snap interaction
2015-04-27 08:53:34 +02:00
Marc Jansen
a6cddce92f
Merge pull request #3624 from marcjansen/one-sentence
...
Add a one sentence summary for several exportable symbols
2015-04-25 20:08:39 +02:00
tsauerwein
77f16c7fd6
Fix XYZ coordinates in snap interaction
2015-04-24 09:26:31 +02:00