Simon Seyock
54cbe14f88
Check hits for wrapped around geometries
2019-09-26 11:46:10 +02:00
Tim Schaub
965d0541f2
Merge pull request #10004 from tschaub/revisions
...
Return a new simplified geometry after modification
2019-09-26 09:22:12 +02:00
Andreas Hocevar
e1d9f8dd59
Merge pull request #10005 from tkohr/select-interaction-corrections
...
Fix some cosmetics on Select interaction
2019-09-25 19:36:13 +02:00
Tobias Kohr
347f5df32e
Fix some cosmetics on Select interaction
2019-09-25 17:34:26 +02:00
Tim Schaub
680372ac3f
Return a new simplified geometry after modification
2019-09-25 17:26:22 +02:00
Olivier Guyot
9e9aa66f5f
Webgl points renderer / restore check for hit detection readiness
2019-09-25 17:22:36 +02:00
Olivier Guyot
34572da17b
Webgl shader builder / expanded functionality
...
Now takes in a custom object with attributes, uniforms etc.
The WebGLPointsLayer uses this to handle image icons.
2019-09-25 17:22:36 +02:00
Olivier Guyot
b8564d503a
Webgl icon example / restore texture for icons
2019-09-25 17:22:36 +02:00
Olivier Guyot
9e55a8b2f0
Webgl / linting & test fixes
2019-09-25 17:22:36 +02:00
Olivier Guyot
610a846149
Webgl points renderer / make the hit detection optional
2019-09-25 17:22:36 +02:00
Andreas Hocevar
a493ff7e93
Merge pull request #10003 from tkohr/select-interaction
...
Add back Select interaction without overlay
2019-09-25 17:17:56 +02:00
Tobias Kohr
2ccaed0ace
Add back Select interaction without Overlay
2019-09-25 16:37:28 +02:00
Tobias Kohr
38124d770b
Revert delete Select interaction commit 3838b68427
2019-09-25 16:37:28 +02:00
Tim Schaub
14b931371d
Merge pull request #10000 from KaiVolland/jsdoc-changes
...
Adopt JSDoc annotations to allow '.d.ts' generation
2019-09-25 16:26:24 +02:00
Olivier Guyot
24b4779bb6
Merge pull request #10001 from KlausBenndorf/typescript-fixes
...
reduced typecasts in layerrenderer
2019-09-25 16:19:34 +02:00
Kai Volland
68c052c9d5
Quote keys of TEXT_ALIGN to avoid minifcation
2019-09-25 15:40:24 +02:00
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