Andreas Hocevar
9acd65270a
Make clear how to remove an unmanaged layer from a map
2015-06-09 15:44:39 +02:00
Andreas Hocevar
57e1dda5f1
Make sure that #clear() keeps the collection in sync
2015-06-09 15:44:39 +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
Andreas Hocevar
54da473991
Allow layers that are not managed by the map
...
When a layer is configured with a map, it will be added on top of other
layers, and not be managed in the map's features collection. The layerState
will have an 'unmanaged' flag for such layers. For vector layers, this flag
is used to not skip any features.
2015-06-09 15:44:29 +02:00
Andreas Hocevar
f186ed3deb
Alternatively manage features in an ol.Collection
...
ol.layer.Vector can now manage both an RTree and a Collection of features.
The new useSpatialIndex option allows to opt out of RTree management, and
the new ol.Collection type of the features option allows to opt in for
Collection management.
2015-06-09 15:44:18 +02:00
Andreas Hocevar
ea7879f616
Merge pull request #3751 from ahocevar/tilejson-test
...
Do not rely on remote services for tests
2015-06-01 11:23:52 +02:00
Andreas Hocevar
682c816b9b
Do not rely on remote services for tests
2015-06-01 10:09:38 +02:00
Marc Jansen
b1289dbae7
Merge pull request #3749 from marcjansen/typo
...
Fix typo in API docs
2015-06-01 08:51:56 +02:00
Marc Jansen
cf99bcbba1
Fix typo in API docs
2015-06-01 07:56:58 +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
f5cd9a3eba
Merge pull request #3738 from ahocevar/tileurlfunction-docs
...
Improve doucmentation for ol.TileUrlFunctionType
2015-05-28 22:48:19 +02:00
Andreas Hocevar
4196e34c73
Improve doucmentation for ol.TileUrlFunctionType
2015-05-28 18:52:35 +02:00
Frédéric Junod
22bed40f5c
Merge pull request #3736 from fredj/examples_html_markup
...
Fix invalid example HTML markup
2015-05-28 10:44:51 +02:00
Frédéric Junod
a33008be9e
Merge pull request #3735 from probins/snap
...
Snap example: remove featureoverlay from tags
2015-05-28 10:26:52 +02:00
Frederic Junod
746116d266
Fix invalid example HTML markup
2015-05-28 10:23:14 +02:00
Peter Robins
1f6d2eff96
Snap example: remove featureoverlay from tags
2015-05-28 07:57:17 +00:00
Marc Jansen
764f821a70
Merge pull request #3732 from marcjansen/control-blur-binding
...
Add a method to bind button bluring on mouseout/focusout
2015-05-27 09:22:15 +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
Éric Lemoine
e766d00e7b
Add upgrade note of ol.DrawEvent and ol.DrawEventType
2015-05-22 11:58:48 +02:00
Frédéric Junod
2e2d08f552
Merge pull request #3725 from fredj/doc
...
Document default value for olx.interaction.ModifyOptions#pixelTolerance
2015-05-22 11:43:38 +02:00
Frederic Junod
9870fe58e0
Document default value for olx.interaction.ModifyOptions#pixelTolerance
2015-05-22 11:26:58 +02:00
Andreas Hocevar
80efbb60d0
Merge pull request #3722 from ahocevar/tilejson-tilegrid
...
Use the correct TileCoord transform function
2015-05-22 11:08:07 +02:00
Andreas Hocevar
111e6db8c8
Add tests
2015-05-22 10:55:18 +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
Éric Lemoine
acb0a8da53
Merge pull request #3692 from bill-chadwick/windows
...
Updates for building on Windows using Cygwin.
2015-05-21 12:57:34 +02:00
Tobias Sauerwein
e87b616de8
Merge pull request #3718 from tsauerwein/renderOrder-assertion
...
Add a assertion for renderOrder
2015-05-21 11:20:27 +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
3580cdc823
Merge pull request #3710 from marcjansen/extent-tests
...
Add more tests for ol.extent
2015-05-20 06:26:49 +02:00
Marc Jansen
f0720b2f97
Add more tests for ol.extent
2015-05-19 22:25:55 +02:00
Bart van den Eijnden
e578f98c73
Merge pull request #3709 from bartvde/issue-3709
...
vector-wfs example does not work in JSFiddle
2015-05-19 21:58:50 +02:00
Bart van den Eijnden
1dbf8cd4d6
Make sure vector-wfs example works in JSFiddle
2015-05-19 21:08:30 +02:00
Marc Jansen
0f36d1a7c2
Merge pull request #3699 from marcjansen/scientific-wkt
...
Add support for scientific notation to WKT format
2015-05-18 12:00:56 +02:00
Marc Jansen
2b76bc05a5
Add support for scientific notation to WKT format
2015-05-18 11:27:39 +02:00
Marc Jansen
1ac41c7403
Merge pull request #3696 from marcjansen/will-it-blend
...
Add an example for various blend modes
2015-05-15 17:09:33 +02:00
Marc Jansen
96550c8fcf
Merge pull request #3697 from marcjansen/npm-license-warning
...
Use a valid SPDX license expression
2015-05-15 16:58:50 +02:00