Andreas Hocevar
7505460d65
Merge pull request #4015 from weskamm/xyzgeturls
...
Add a getUrls Method to ol.source.XYZ
2015-08-19 16:22:57 +02:00
Andreas Hocevar
7e7494d5c7
Merge pull request #4017 from ahocevar/protect-proj-registry
...
Do not overwrite projections in the registry simply by using `new ol.proj.Projection()`
2015-08-19 13:17:33 +02:00
Andreas Hocevar
a8797ae1ff
Do not overwrite projections in the registry
2015-08-19 13:06:23 +02:00
Andreas Hocevar
204f8f9813
Merge pull request #3993 from ahocevar/no-duplicate-extenrs
...
Replace base symbols with overridden ones when generating info.json
2015-08-11 18:29:53 +02:00
Andreas Hocevar
b0dd3782a8
Replace base symbols with overridden ones
2015-08-11 17:08:31 +02:00
Andreas Hocevar
0e538b29c0
Fix URLs for openlayers.org resources
2015-08-07 10:03:00 -06:00
Andreas Hocevar
861e1515d4
Merge pull request #3978 from ahocevar/ol-urls
...
Fix URLs for openlayers.org resources
2015-08-07 14:26:25 +02:00
Andreas Hocevar
2bd0fdf07b
Fix URLs for openlayers.org resources
2015-08-07 13:48:28 +02:00
Andreas Hocevar
73d4ba2a51
Merge pull request #3961 from gberaudo/skip_empty_features_in_replay
...
Skip features without geometry during canvas replay
2015-08-06 13:12:43 +02:00
Andreas Hocevar
a673c39251
Merge pull request #3971 from ahocevar/calculate-new-extent
...
Revert "Cache the image extent"
2015-08-06 08:37:03 +02:00
Andreas Hocevar
a1946a6e69
Revert "Cache the image extent"
...
This reverts commit eb2a30e461 .
2015-08-06 08:15:02 +02:00
Andreas Hocevar
317a27d6f3
Merge pull request #3964 from rattai/imagewms_extent
...
Compute new image extent for comparison to existing image extent
2015-08-05 22:52:10 +02:00
Andreas Hocevar
0ec70256d6
Merge pull request #3875 from geonux/draw_undo
...
Undo last points method to the draw interraction
2015-08-04 20:25:02 +02:00
Andreas Hocevar
c8df907ff2
Merge pull request #3942 from ahocevar/matrixset-by-projection
...
Fix WMTS TileMatrixSet lookup by SRS identifier
2015-07-31 11:45:06 +02:00
Andreas Hocevar
c0950dee11
Merge pull request #3945 from ahocevar/popup-on-icon
...
Simplify icon example and show popup at clicked position
2015-07-31 11:24:58 +02:00
Andreas Hocevar
da3d8952da
Simplify icon example and show popup at clicked position
...
By using the event's coordinate instead of the feature's, we make sure
that the popup is shown where the user clicked when on a wrapped world.
2015-07-31 10:09:16 +02:00
Andreas Hocevar
95e43c852d
Fix WMTS TileMatrixSet lookup by SRS identifier
2015-07-30 19:48:28 +02:00
Andreas Hocevar
ef9a1a25b1
Merge pull request #3929 from probins/patch-2
...
Expand description for XYZ source
2015-07-28 22:15:16 +02:00
Andreas Hocevar
112473afee
Merge pull request #3933 from ahocevar/snap-center-to-pixel
...
Snap center to pixel to avoid floating point issues
2015-07-28 14:20:43 +02:00
Andreas Hocevar
5e505f200a
Snap center to pixel to avoid floating point issues
2015-07-28 14:02:09 +02:00
Andreas Hocevar
49cc39c4dd
Merge pull request #3871 from ahocevar/change-event
...
Document change events properly
2015-07-18 15:41:05 +02:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Andreas Hocevar
80c4809aee
Do not provide an AMD environment to ol.ext modules
...
This fixes issues with ol.source.Vector being unable to use ol.ext.rbush,
but it also means that potential future external modules without node
module loader support will not work. If we ever depend on such a module,
we can replace "var define;" with a minimal AMD define shim.
2015-07-17 18:07:39 +02:00
Andreas Hocevar
10b4aa1bab
Merge pull request #3906 from ahocevar/featurescollection-only
...
Clear features properly when there is no spatial index
2015-07-16 08:57:14 +02:00
Andreas Hocevar
8f7cbc5ed6
Clear features properly when there is no spatial index
...
Previously clear() only kept the features collection in sync whern there
was also a features RTree.
2015-07-15 15:15:41 +02:00
Andreas Hocevar
7094f65ef7
Merge pull request #3896 from ahocevar/webgl-precompose
...
Fire WebGL precompose event in same sequence as other renderers
2015-07-12 10:05:45 +02:00
Andreas Hocevar
ac8e62818f
Fire WebGL precompose event in same sequence as other renderers
...
In other map renderers, the precompose event is fired before preparing and
composing layer frames. In WebGL, it is fired in between. This change makes
it so the sequence of events is the same for all renderers.
Because the WebGL renderer creates the list of layers to render before the
precompose event, unmanaged layers are never rendered. This is also fixed
by dispatching the precompose event earlier.
2015-07-11 14:58:31 +02:00
Andreas Hocevar
afce912f11
Merge pull request #3883 from ahocevar/foreachfeatureatpixel-unmanaged-always
...
Ignore layer filter for unmanaged layers
2015-07-09 00:03:25 +02:00
Andreas Hocevar
26e146b1d8
Ignore layer filter for unmanaged layers
...
To make unmanaged vector layers work like the removed ol.FeatureOverlay,
the layer filter for ol.Map#forEachFeatureAtPixel needs to ignore unmanaged
layers.
2015-07-07 22:24:57 +02:00
Andreas Hocevar
109cd6f3a6
Merge pull request #3872 from probins/patch-1
...
Correct event notations in ol.Feature
2015-07-04 14:20:25 +02:00
Andreas Hocevar
06908775e8
Merge pull request #3867 from ahocevar/no-proj-extent-required
...
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:25:06 +02:00
Andreas Hocevar
da66a37182
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:05:49 +02:00
Andreas Hocevar
86d9d691e4
Merge pull request #3806 from ahocevar/clip-wrapx
...
Do not clip canvas for vector layers when wrapping the world
2015-07-03 10:47:45 +02:00
Andreas Hocevar
a09fa923a5
Merge pull request #3864 from klokantech/xyz-canwrapx
...
Check projection.canWrapX() before wrapping tiles
2015-07-02 17:04:11 +03:00
Andreas Hocevar
0159d20d6d
Merge pull request #3856 from plepe/bug-3851
...
ol.source.TileVector(): bind success function of tileLoadFunction to source
2015-06-29 22:35:15 +03:00
Andreas Hocevar
3f23deb09a
Merge pull request #3833 from bjornharrtell/customtilexhr
...
Enable use of custom XHR loader for TileVector sources
2015-06-23 14:31:26 +02:00
Andreas Hocevar
edc16b9739
Merge pull request #3828 from ahocevar/fix-doc-typo
...
Fix typo in upgrade notes
2015-06-20 10:35:36 +02:00
Andreas Hocevar
59871274ca
Fix typo in upgrade notes
2015-06-20 10:34:28 +02:00
Andreas Hocevar
039b54de48
Merge pull request #3826 from klokantech/xyzsource-tilegrid
...
Allow custom tileGrid in ol.source.XYZ
2015-06-20 10:25:28 +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
6411c9267b
More clarity about origin and direction of tile coordinates
2015-06-19 18:49:49 +02:00
Andreas Hocevar
f85fcf30a2
Additional tests
2015-06-19 18:34:26 +02:00
Andreas Hocevar
b5e0ae6f8c
Explain changes in upgrade notes
2015-06-19 18:34:20 +02:00
Andreas Hocevar
e6f5c2a008
Cleanup and example updates
2015-06-19 18:34:19 +02:00
Andreas Hocevar
31cfa0d952
Make tile range calculation work with arbitrary origins
2015-06-19 18:34:19 +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
e3a8dc89de
Fix calculation of tile coord from coordinate
...
Tile coord calculation was wrong in the case of reverseIntersectionPolicy
for y coords, and for extents with +/- Infinity.
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
84e051d19b
Fix TileDebugSource to display '' for out-of-range tiles
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
a9591f8b99
Merge pull request #3822 from probins/update
...
Correct docs for updateWhileInteracting
2015-06-19 12:59:30 +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
Andreas Hocevar
a2c9a0796c
Merge pull request #3810 from ahocevar/tilegrid-example-docs
...
Improve TileGrid documentation and examples
2015-06-16 23:53:49 +02:00
Andreas Hocevar
d6bb13b54b
Add note about extent
2015-06-16 18:47:50 +02:00
Andreas Hocevar
d628f6b098
Use the tileSize variable
2015-06-16 17:16:28 +02:00
Andreas Hocevar
e2da56afa1
Tile grid documentation improvements
...
Using the term 'bottom-left' for origin and origins is misleading, because
many developers use -y-1 for the tile url's y in their tile url functions,
and the origin really only determines where tile coordinates start to
increase from left to right and from bottom to top.
2015-06-16 17:16:19 +02:00
Andreas Hocevar
9c480d77f5
Merge pull request #3804 from ahocevar/fix-tilegrid-docs
...
Remove sentence that was only meant for WMTS tile grids
2015-06-15 16:44:54 +02:00
Andreas Hocevar
0e943f5832
Remove sentence that was only meant for WMTS tile grids
2015-06-15 16:08:29 +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
9301fff6cb
Merge pull request #3800 from probins/editstyle
...
Remove further references to FeatureOverlay
2015-06-13 19:08:50 +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
72cc824502
Explain changes in upgrade notes
2015-06-12 09:47:43 +02:00
Andreas Hocevar
4b3aac32c3
Return transformed tile coordinates from ol.TileGrid's API methods
2015-06-12 09:47:32 +02:00
Andreas Hocevar
acab0ebd57
Display transformed tile coordinates in ol.source.TileDebug
2015-06-12 09:46:17 +02:00
Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Andreas Hocevar
698b62af98
Merge pull request #3793 from ahocevar/unmanaged-to-managed
...
Use 'managed' instead of 'unmanaged' in LayerState
2015-06-11 18:56:31 +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
Andreas Hocevar
4aa3ef59d5
Merge pull request #3783 from ahocevar/wmts-hidpi-from-capabilities
...
Fix broken wmts-hidpi example
2015-06-10 20:03:53 +02:00
Andreas Hocevar
7451e176ef
Use capabilities to create layer source options
2015-06-10 18:32:21 +02:00
Andreas Hocevar
872d869ded
Merge pull request #3782 from gberaudo/typo
...
Fix assert documentation typo
2015-06-10 15:47:35 +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
Andreas Hocevar
b903cee7dd
Merge pull request #3763 from probins/drawmod
...
Standardise draw/modify descriptions
2015-06-07 17:34:47 +02:00
Andreas Hocevar
2e406c9633
Merge pull request #3767 from openlayers/release-v3.6.0
...
Release v3.6.0
2015-06-07 14:18:09 +02:00
Andreas Hocevar
9f4112a8f9
Update package version to 3.6.0
2015-06-07 14:16:34 +02:00
Andreas Hocevar
30ddbad4fe
Changelog for v3.6.0
2015-06-07 14:14:49 +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
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
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
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
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
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
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
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