Olivier Guyot
4ad582ff01
Merge pull request #9986 from mike-000/patch-2
...
Make Circle geometry hit detection consistent with Polygon
2019-09-25 15:38:50 +02:00
Simon Seyock
6b5c2f47bb
reduced typecasts in layerrenderer
2019-09-25 15:24:37 +02:00
Kai Volland
8611475477
Transforms TEXT_ALIGN enum
...
This transforms the TEXT_ALIGN enum to
avoid "empty enum" warning when running jsdoc.
2019-09-25 15:05:39 +02:00
Kai Volland
7c5f144cf4
Removes @fires annotation from LabelCache
2019-09-25 15:04:49 +02:00
Kai Volland
4fe157e7fb
Removes invalid description on @type annotation
2019-09-25 15:03:37 +02:00
Tim Schaub
426cd754cd
Merge pull request #9999 from KlausBenndorf/typescript-fixes
...
fixed typescript issues
2019-09-25 14:19:16 +02:00
Simon Seyock
bb0b94fedf
fixed typescript issues
2019-09-25 14:10:05 +02:00
Tim Schaub
ff4006f8d6
Merge pull request #9997 from tschaub/tsc-fix
...
Avoid error from tsc
2019-09-25 14:08:56 +02:00
Tim Schaub
8f7f76188a
Avoid error from tsc
2019-09-25 12:16:16 +02:00
Olivier Guyot
23c2999cab
Webgl points renderer / fix hit detection
...
Due to the fact that the points renderer does not know for sure
which attributes will be used for rendering, it is now mandatory
to provide both vertex/fragment shaders for rendering AND hit
detection.
The hit detection shaders should expect having an `a_hitColor`
that they should return to allow matching the feature uid.
This will be all one eventually by shader builders under the hood.
2019-09-25 12:11:09 +02:00
Olivier Guyot
109f9718f9
Webgl renderer / fix existing examples
...
The shaders were rewritten manually for those, althoughj eventually they
should use the shader builder utilities as well.
2019-09-25 11:09:07 +02:00
Tim Schaub
b7ae47c4b7
Merge pull request #9993 from tschaub/more-map-tests
...
Add geographic tests for hasFeatureAtPixel and getFeaturesAtPixel
2019-09-25 10:42:29 +02:00
Tim Schaub
bd7a31544d
Merge pull request #9992 from tschaub/rendering-readme
...
Rendering test instructions
2019-09-25 10:41:43 +02:00
Tim Schaub
f4ba9dd9dc
Add geographic tests for hasFeatureAtPixel and getFeaturesAtPixel
2019-09-25 10:18:46 +02:00
Olivier Guyot
2b36445ecc
Webgl / Adapt the points renderer to use custom attributes
...
Now most attributes will be custom ones defined by the user of the renderer.
The hit detection is broken for now and still has to be fixed.
Also it is not possible anymore to give a texture to the renderer,
this will have to be fixed as well.
2019-09-25 10:11:27 +02:00
Tim Schaub
4a37483294
Rendering test instructions
2019-09-25 09:26:03 +02:00
Tim Schaub
b5519a317e
Merge pull request #9990 from openlayers/greenkeeper/handlebars-4.3.1
...
Update handlebars to the latest version 🚀
2019-09-25 09:09:53 +02:00
Frédéric Junod
0c8775b3c8
Merge pull request #9982 from fredj/css_vendor
...
Don't use vendor prefixes for the transform property
2019-09-25 08:26:11 +02:00
greenkeeper[bot]
e88c964db3
chore(package): update lockfile package-lock.json
2019-09-25 00:55:35 +00:00
greenkeeper[bot]
0e4645e713
chore(package): update handlebars to version 4.3.1
2019-09-25 00:55:32 +00:00
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