Commit Graph

26858 Commits

Author SHA1 Message Date
Andreas Hocevar 9cb96b23db Merge pull request #9989 from mike-000/patch-3
Correct getFeaturesAtPixel spelling and grammar
2019-09-25 00:19:32 +02:00
mike-000 678f9136c6 Make Circle hit detection consistent with Polygon
Fixes one of the inconsistencies seen in #9395

Add hit detection for no fill and transparent fill

Based on the example used in #9395  The tests expect consistency between Polygon and Circle geometries but currently expect the inconsistent behaviour seen when using CircleStyle
2019-09-24 22:06:28 +01:00
mike-000 6927cb4328 Correct getFeaturesAtPixel spelling and grammar 2019-09-24 20:58:29 +01:00
Tim Schaub b21961102f Merge pull request #9988 from tschaub/overlay-geographic
Additional changes to work with user projection
2019-09-24 21:19:47 +02:00
Tim Schaub b1f0b6997b Additional changes to work with user projection 2019-09-24 19:58:53 +02:00
Olivier Guyot 076b674d6f Webgl helper / easier utility for binding attributes
also a bit of improvement on the doc
2019-09-24 19:10:07 +02:00
Andreas Hocevar 57c30b8d6d Merge pull request #9987 from openlayers/greenkeeper/webpack-4.41.0
Update webpack to the latest version 🚀
2019-09-24 18:54:27 +02:00
greenkeeper[bot] 6204b9d3bf chore(package): update lockfile package-lock.json 2019-09-24 16:29:28 +00:00
greenkeeper[bot] 924255fafd chore(package): update webpack to version 4.41.0 2019-09-24 16:29:24 +00:00
Tim Schaub 7be4835144 Merge pull request #9973 from tkohr/user-projection-map
Make map work with user projected coordinates
2019-09-24 18:21:56 +02:00
Tobias Kohr 8c4937170b rename external methods to API names 2019-09-24 18:13:57 +02:00
Tim Schaub c071c749eb Merge pull request #9981 from KlausBenndorf/replace-geometry-cache
Remove simplified geometry cache
2019-09-24 18:11:33 +02:00
Tim Schaub fed6aef057 Merge pull request #9980 from tschaub/use-geographic-geom
Get simplified transformed geometry
2019-09-24 18:07:06 +02:00
Andreas Hocevar 45b257d6ac Merge pull request #9984 from ahocevar/no-source-no-render
Don't attempt to render when there is no source
2019-09-24 18:01:56 +02:00
Olivier Guyot 30f19f8317 Webgl points renderer / terminates worker & dispose helper 2019-09-24 17:59:21 +02:00
Olivier Guyot cb2c596a6d Add an example for the WebGLPointsLayer with editable style 2019-09-24 17:59:21 +02:00
Tobias Kohr 182ed012e2 review corrections 2019-09-24 17:58:56 +02:00
Tobias Kohr a0df485736 add tests for modified methods 2019-09-24 17:58:56 +02:00
Tobias Kohr b1196e7601 fix linting 2019-09-24 17:58:56 +02:00
Tobias Kohr 5711cd30d0 Seperate getEventCoordinate into internal/external method 2019-09-24 17:58:56 +02:00
Tobias Kohr 686c185de3 Call internal method in MousePosition 2019-09-24 17:58:56 +02:00
Tobias Kohr d4c1589a01 Seperate internal and API methods for the map 2019-09-24 17:58:56 +02:00
Simon Seyock 04738f494f Removed tests for simplified geometry cache 2019-09-24 17:47:32 +02:00
Tim Schaub 30cbbfea9d Get simplified transformed geometry and load features in user projection 2019-09-24 17:45:04 +02:00
Andreas Hocevar 3ed1a433fb Don't attempt to render when there is no source 2019-09-24 17:37:22 +02:00
Tim Schaub 66746a61bb Merge pull request #9983 from KlausBenndorf/get-features-returns-array
getFeaturesAtPixel always returns array
2019-09-24 17:32:45 +02:00
Olivier Guyot 4d7562fca2 Add a new WebGLPointsLayer type using the shader builder utilities
This required adding a `a_index` attribute in the points layer renderer
to be able to make the precomputed shaders to work.
2019-09-24 17:24:56 +02:00
Simon Seyock 82486899df getFeatureAtPixel always returns array 2019-09-24 17:16:25 +02:00
Frederic Junod 75a553b37c Don't use vendor prefixes for the transform property
We are already not using the prefixes in other part of the library.
For example:
https://github.com/openlayers/openlayers/blob/v6.0.0-beta.15/src/ol/renderer/canvas/TileLayer.js#L356
2019-09-24 16:58:49 +02:00
Simon Seyock 6866f06375 Remove simplified geometry cache 2019-09-24 16:55:33 +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 ebecdc4a4c Merge pull request #9978 from ahocevar/tilequeue-loading
Handle empty source tiles and queue them properly
2019-09-24 16:05:05 +02:00
Andreas Hocevar 60c2c4e088 Get rid of map focus 2019-09-24 16:02:36 +02:00
Andreas Hocevar a139b01f8e Always dispatch pointermove, but calculate coordinates lazily 2019-09-24 16:02:36 +02:00
Olivier Guyot a6b8d920b7 Webgl / add a fixed fragment shader builder for symbols 2019-09-24 15:49:07 +02:00
Olivier Guyot 4de0c0b082 Webgl / add a very simple vertex shader builder utility
This only allows including hardcoded values in the shader,
and only for symbols.
2019-09-24 15:43:26 +02:00
Andreas Hocevar 818bdc411c Handle empty source tiles and queue them properly 2019-09-24 15:18:59 +02:00
Marc Jansen 3992aede9d Merge pull request #9974 from KaiVolland/9865-xhr
Introduces the _withCredentials flag
2019-09-24 14:37:25 +02:00
Kai Volland 87e63ee4df Introduces the _withCredentials flag
This introduces the _withCredentials flag and the
corresponding setter to the featureloader.

Co-authored-by: mstenta <mike@mstenta.net>
2019-09-24 14:18:37 +02:00
Olivier Guyot b97647d39b Merge pull request #9966 from jahow/allow-disable-canvas-reuse
Document how to circumvent the canvas reuse optimization
2019-09-24 11:16:45 +02:00
Olivier Guyot 167fa6b8a0 Add property to all layers api doc 2019-09-24 10:58:55 +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
Simon Seyock 3838b68427 Removed SelectInteraction 2019-09-24 10:12:30 +02:00
Simon Seyock c65e802c71 Feature selecting examples 2019-09-24 10:05:45 +02:00
Olivier Guyot 449686527b Document how to avoid canvas reuse for layers
This restores the `map.forEachLayerAtPixel` functionality.

This is intended to help with openlayers#9720
2019-09-24 09:46:32 +02:00
Tim Schaub 16cc22371b Merge pull request #9972 from openlayers/greenkeeper/handlebars-4.3.0
Update handlebars to the latest version 🚀
2019-09-24 09:33:29 +02:00
greenkeeper[bot] 0b89a88f22 chore(package): update lockfile package-lock.json 2019-09-24 06:13:38 +00:00
greenkeeper[bot] ae82d4f2b1 chore(package): update handlebars to version 4.3.0 2019-09-24 06:13:34 +00:00
Andreas Hocevar db529a0d49 Merge pull request #9957 from ahocevar/vectortile-labels
Get hasOverlay from child element count
2019-09-23 23:20:17 +02:00