Nick Hamblet
cfafe90235
Handle CDATA in attribute parsing for GML format
...
Following [3827](https://github.com/openlayers/ol3/issues/3827 ),
handle CDATA XML nodes in attribute parsing of GML data. Currently
such data will be expected to be a geometry, and will fail to parse.
Treating the CDATA node as text is the easiest way to handle such
an attribute.
2015-07-01 16:32:17 -04:00
Pierre GIRAUD
1cdfc709ae
Pad min. and sec. with leading zeros in DMS notation
...
FIxes 3776
2015-06-25 08:40:43 +02:00
Bart van den Eijnden
9a0c0e2f2b
Make sure we don't generate any floating point DPI values for ol.source.TileArcGISRest
2015-06-22 12:01:14 +02:00
Petr Sloup
5993b45c63
Allow custom tileGrid in ol.source.XYZ
2015-06-19 19:58:06 +02:00
Andreas Hocevar
5c5364bbb7
Merge pull request #3815 from ahocevar/tilegrid-no-surprises
...
Simplify tilegrid API and internals
2015-06-19 19:05:19 +02:00
Andreas Hocevar
f85fcf30a2
Additional tests
2015-06-19 18:34:26 +02:00
Andreas Hocevar
a753d282cc
Use top-left corner of extent for all generated tile grids
2015-06-19 18:34:18 +02:00
Andreas Hocevar
18aa9b5091
Remove unused createFromQuadKey function
2015-06-19 18:34:18 +02:00
Andreas Hocevar
af319c259b
Do not transform tile coordinates for tileUrlFunction
2015-06-19 18:34:09 +02:00
Andreas Hocevar
0af5642569
Merge pull request #3820 from ahocevar/vectorlayer-like-featureoverlay
...
Make unmanaged vector layers behave more like ol.FeatureOverlay
2015-06-19 18:18:07 +02:00
Andreas Hocevar
7463a58066
Do not clip canvas for vector layers when wrapping the world
2015-06-19 14:55:20 +02:00
Andreas Hocevar
f645a9e1e4
Make unmanaged vector layers behave more like ol.FeatureOverlay
...
* Skipped features need to be hit-detected on unmanaged layers.
* updateWhileAnimating and updateWhileInteracting are recommended to
achieve the same instant visual feedback that ol.FeatureOverlay had.
2015-06-19 13:06:29 +02:00
Andreas Hocevar
2249c82ac2
Merge pull request #3801 from ahocevar/tilevector-extent
...
Respect the tile grid's extent in ol.source.TileVector
2015-06-18 10:46:48 +02:00
Éric Lemoine
b8cb1fe795
Merge pull request #3766 from elemoine/draw-click-tolerance
...
Add a clickTolerance option to the Draw interaction
2015-06-16 10:06:01 +02:00
Éric Lemoine
e99f43af8d
Add a clickTolerance option to the Draw interaction
2015-06-15 15:32:34 +02:00
Andreas Hocevar
2bcb10c973
Respect the tile grid's extent
...
By adding a getTileCoordForTileUrlFuction method like for ol.source.Tile,
we can now properly handle extent and resolution restrictions, and reuse
tiles on wrapped worlds. Also adds the missing wrapX option to
ol.source.TileVector.
2015-06-15 11:15:25 +02:00
Andreas Hocevar
e848acd806
Merge pull request #3780 from ahocevar/call-tileurlfunction-with-transformed-tilecoord
...
Only expose transformed tile coordinates to the API
2015-06-12 11:18:16 +02:00
Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Andreas Hocevar
817370a65b
Use 'managed' instead of 'unmanaged' in LayerState
2015-06-11 18:34:20 +02:00
Andreas Hocevar
96e75ab17f
Merge pull request #3787 from ahocevar/unmanaged-layerstate
...
Add 'unmanaged' to ol.layer.LayerState
2015-06-11 10:53:38 +02:00
Andreas Hocevar
5a2a7d30e6
Add 'unmanaged' to ol.layer.LayerState
2015-06-11 10:17:11 +02:00
Frederic Junod
d8a495b639
Always write the GeoJSONFeature geometry property
2015-06-11 09:53:06 +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
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
Marc Jansen
488a55c83c
Add more tests for intersectsExtent
2015-06-05 14:20:06 +02:00
Alvin Lindstam
1dc6c99328
Make ol.geom.Circle support #intersectsExtent, with tests
2015-06-05 14:19:46 +02:00
Alvin Lindstam
405d5666e2
Add tests for intersectsExtent/getExtent
...
This commit adds tests for `intersectsExtent` of Point, LineString, Polygon,
MultiPoint, MultiLineString, MultiPolygon and GeometryCollection.
It also adds a basic test for `getExtent` of MultiPolygon
2015-06-05 14:19:46 +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
Andreas Hocevar
682c816b9b
Do not rely on remote services for tests
2015-06-01 10:09:38 +02: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
111e6db8c8
Add tests
2015-05-22 10:55:18 +02:00
Éric Lemoine
531b35d7c2
Be consistent with the way we name types
2015-05-21 17:32:32 +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
Marc Jansen
f0720b2f97
Add more tests for ol.extent
2015-05-19 22:25:55 +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
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
Éric Lemoine
6d1baec34a
Add missing goog.require
2015-04-29 09:10:18 +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