Commit Graph

1762 Commits

Author SHA1 Message Date
Andreas Hocevar 47dd60104d Set EMPTY state of VectorRenderTile early 2019-09-27 19:04:21 +02:00
Andreas Hocevar 76af2b6466 Revert "Handle empty source tiles and queue them properly"
This reverts commit 818bdc411c.
2019-09-27 16:09:27 +02:00
Andreas Hocevar f21d698915 Merge pull request #9960 from ahocevar/lazy-event-calculations
Always dispatch pointermove events, but calculate event pixel and coordinate lazily
2019-09-24 16:11:17 +02:00
Andreas Hocevar 60c2c4e088 Get rid of map focus 2019-09-24 16:02:36 +02:00
Andreas Hocevar 818bdc411c Handle empty source tiles and queue them properly 2019-09-24 15:18:59 +02:00
Tim Schaub 3c38a38570 Merge pull request #9961 from KlausBenndorf/remove-select-interaction
SelectInteraction removal
2019-09-24 10:27:20 +02:00
Simon Seyock acac7a9403 remove skipFeature logic 2019-09-24 10:12:30 +02:00
Olivier Guyot 0bb5a07dee Merge pull request #9899 from LevN0/hidpi_TileArcGISRest
Add hidpi option for ol.source.TileArcGISRest
2019-09-23 15:05:45 +02:00
simonseyock 89e8d6d693 getGetLegendRequestUrl accepts a LAYER parameter now 2019-09-19 14:21:07 +02:00
Simon Seyock b2885e86fb Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl 2019-09-18 10:48:18 +02:00
ahocevar ebfb20440a Simplify events and store listeners only in one place 2019-09-04 16:48:43 +02:00
Lev Nagdimunov ac646f8434 Add hidpi option for ol.source.TileArcGISRest 2019-09-02 04:39:46 -04:00
ahocevar 92931c336c Use source tile resolution for pixel buffer 2019-08-20 18:27:13 +02:00
ahocevar 6be2818f14 Handle empty url tile coord (no wrapx) 2019-08-19 11:01:03 +02:00
Andreas Hocevar b602a6b33a Merge pull request #9871 from ahocevar/tile-load-key-change
Properly handle tile source key change
2019-08-19 08:08:31 +02:00
ahocevar 6a741d0504 Check extent for wrapped tile coordinate 2019-08-18 16:21:46 +02:00
ahocevar a5fbbef970 Always go through source tile change logic 2019-08-18 11:44:20 +02:00
Tim Schaub abda7f4f1d Separate lookups for source tiles by tile coord and tile key 2019-08-13 16:40:01 -06:00
ahocevar 28e64f646f Set initial tile state to EMPTY when outside source extent 2019-08-11 00:13:18 +02:00
ahocevar 683c0ef5dc Make WMSServerType appear in API docs 2019-08-08 21:29:29 +02:00
ahocevar e07ff9c04e Make zDirection configurable on tile source 2019-07-30 16:50:01 +02:00
Marc Jansen 2869ed245c Improve documentation of getGetLegendGraphicUrl
This also adresses one review comment by @jahow on #9762.
2019-07-22 17:02:30 +02:00
Marc Jansen 993bf0d2cb Merge pull request #9762 from KlausBenndorf/get-legend-request
Get legend request
2019-07-22 13:54:01 +02:00
ahocevar 612dd6fe28 Return existing source tiles if at target resolution 2019-07-16 22:09:24 +02:00
simonseyock c0000e745e make resolution in getGetLegendGraphicUrl optional 2019-07-08 15:14:13 +02:00
Kai Volland f493f01bd0 Introduces getGetLegendGraphic method
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Andreas Hocevar 4a3e4c7c23 Merge pull request #9733 from ahocevar/apidoc-fixes
Get rid of JSDoc warnings and fix fires arguments
2019-06-29 14:40:08 +02:00
ahocevar cb77f9e3dd Get rid of JSDoc warnings and fix fires arguments 2019-06-29 10:25:35 +02:00
Andreas Hocevar 8ff29f8431 Merge pull request #9732 from ahocevar/vectortile-empty-key
Fix EMPTY state and source key handling
2019-06-29 10:18:53 +02:00
ahocevar c4937bc716 Fix EMPTY state and source key handling 2019-06-28 23:25:36 +02:00
Olivier Guyot 034e0be76f Vector Source / index all features by uid
Previously features were indexed by uid only when they
did not have a defined id.
A new method was added: `getFeatureByUid`. This is not part of
the public API.
This will facilitate the lookup of features for hit detection.
2019-06-28 09:06:16 +02:00
ahocevar 8cdfc6e17c Do not use self to check browser features 2019-06-23 14:26:40 +02:00
Lutz Helm d6dc7a926d Fix several TypeScript type check problems 2019-06-21 15:26:28 +02:00
Frederic Junod a8e0e4e960 Better documentation for getFeaturesInExtent function 2019-06-06 14:08:25 +02:00
Frederic Junod 50343afa61 Remove unnecessary typecasts in constructors options 2019-06-03 09:08:41 +02:00
Tim Schaub deb00f20fe Include full filename in import specifier 2019-05-29 08:51:10 -06:00
Frédéric Junod c4e465dcf9 Merge pull request #9592 from fredj/f9587_layerIndex
Remove `layerState` param from `prepareFrame` and `renderFrame` function
2019-05-29 09:27:38 +02:00
Stéphane Brunner 889b6a9f43 Removes unnecessary type cast 2019-05-27 11:34:33 +02:00
Stéphane Brunner 970c1bcb66 Make the vector source geometry generic 2019-05-27 11:34:31 +02:00
Olivier Guyot 051cc68f24 Merge pull request #9596 from jahow/fix-source-missing-event
Vector source / prevent adding features with duplicate id in the collection
2019-05-26 10:53:58 +02:00
Frederic Junod 40c49a9ce5 Remove layerState param from prepareFrame and renderFrame function 2019-05-25 07:19:10 +02:00
Olivier Guyot 442fa907ce Vector source / prevent adding features with duplicate id...
...in the collection.

Previously two features with the same id could be pushed manually in the
features collection and stay there.

This would cause an error when clearing the source.

Fixes #6183.
2019-05-24 23:29:48 +02:00
Andreas Hocevar 96331c5d95 Merge pull request #9584 from ahocevar/reuse-render-target
Reuse render target
2019-05-24 10:33:36 +02:00
ahocevar 7895b16043 Reuse container for raster and vector image layers 2019-05-22 16:47:20 +02:00
robert 7e4e113ac9 lint fix
Signed-off-by: robert <24939343+engsterhold@users.noreply.github.com>
2019-05-21 12:32:30 +02:00
engsterhold f77b0941b8 fixed styling 2019-05-17 13:52:10 +02:00
engsterhold e69b15d33e Bandaid fix for change in Zoomify.js/CustomTile signature
The recent addition of tilePixelRatio to the Zoomify.js/CustomTile constructor broke parameter binding in IIIF.js/IIIF.
The fix mirrors the change in the  Zoomify.js/Zoomify constructor
2019-05-16 16:10:58 +02:00
Frederic Junod bfe6d29601 Fix spelling 2019-05-14 09:17:34 +02:00
Tim Schaub 8504a49e17 Merge pull request #9489 from crubier/master
Fix Zoomify to display retina tiles
2019-05-13 19:05:31 -06:00
Frédéric Junod a2e6d4b324 Merge pull request #9522 from fredj/https
Use https urls for mapbox.com
2019-05-13 14:50:37 +02:00