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
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
Olivier Guyot
cae8c333f2
Enable https on tile layer in webgl sprite example
2019-09-23 17:51:32 +02:00
Olivier Guyot
05a0600fe5
Webgl icon example / render map when texture ready
2019-08-31 08:59:34 +02:00
Olivier Guyot
917950a32b
Improve icon-sprite-webgl example to include hit detection
2019-06-28 09:12:20 +02:00
Frederic Junod
e036767746
Use version 4 TileJSON from mapbox
2019-06-06 08:34:31 +02:00
Tim Schaub
deb00f20fe
Include full filename in import specifier
2019-05-29 08:51:10 -06:00
Tim Schaub
3b1a415d6b
Call the color callback once per feature
2019-04-28 14:09:31 -06:00
Tim Schaub
154265a2d9
Fewer calls to the color callback
2019-04-19 13:49:53 -07:00
Tim Schaub
fc0ed7b96f
Skip the header and bad data
2019-04-17 16:26:40 -07:00
jahow
fad7c7edb1
Added a new example for webgl icons rendering
2018-12-28 15:53:08 +01:00
Olivier Guyot
7fa2189fe9
Remove the bulk of the WebGL legacy code.
...
Things left to do:
* redo an icon layer example
* redo a clipping layer example
* update docs where WebGL renderers are mentioned
2018-11-16 14:02:08 +01:00
Tim Schaub
c50b9b2c25
Fix examples that use WebGLMap
2018-11-12 14:54:11 +01:00
Tim Schaub
cda0fe6e41
Re-export style constructors from ol/style
2018-04-24 09:37:27 -06:00
Tim Schaub
c5f81d8bbe
Register layer renderers with the map renderer
2018-04-14 10:31:10 -06:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
fb22c587f8
Rename _ol_style_Icon_ to Icon
2018-01-11 13:25:01 -07:00
Tim Schaub
4f4c90fc20
Rename _ol_style_Style_ to Style
2018-01-11 13:22:43 -07:00
Tim Schaub
ca6ea355e6
Rename _ol_source_Vector_ to VectorSource
2018-01-10 09:36:28 -07:00
Tim Schaub
45c6e43b42
Rename _ol_layer_Vector_ to VectorLayer
2018-01-10 09:36:23 -07:00
Tim Schaub
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07:00
Tim Schaub
22fce4f97b
Rename _ol_Feature_ to Feature
2018-01-10 09:35:35 -07:00
Ron Young
b8b64ac655
rename in examples
2017-12-21 23:11:42 -07:00
Tim Schaub
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1674fcc680
Fall back to canvas to preserve old behavior
2017-08-15 15:37:37 -04:00
Frederic Junod
a9adaf2052
Add crossOrigin to examples using ol.style.Icon
2017-03-31 13:38:28 +02:00
Peter Robins
d4024846cf
Remove plain string from Map renderer option
...
To get this to compile with the examples, typecasts have to be added to Map renderer options.
2016-09-16 15:43:20 +00:00
Peter Robins
7d5635092a
Remove getRendererFromQueryString from examples
2016-09-16 09:34:30 +00:00
Tim Schaub
8c38d22b60
Lint free examples
2016-01-11 18:56:09 -08:00
Andreas Hocevar
a35b3a5f52
Add default argument to getRendererFromQueryString
2015-11-06 16:58:58 +01: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
Tim Schaub
c5cf709c55
The common.js script makes a "common" object available
2015-04-17 09:49:53 -06:00
Tim Schaub
89f5e711e6
Example sources in the examples dir
2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd
Build and parse examples from examples_src/
2015-04-02 19:10:09 +02:00
tsauerwein
9cc8390dfd
Use dragging in examples
2015-01-30 09:16:19 +01:00
tsauerwein
3e5c4d0bf6
Show hasFeatureAtPixel in example
2015-01-08 16:12:52 +01:00
Éric Lemoine
7c88329354
Use 50000 features in the WebGL vector examples
2014-11-20 16:39:25 +01:00
Guillaume Beraudo
6abe3047ec
Add feature overlay support to webgl map renderer.
2014-11-07 14:17:31 +01:00
Éric Lemoine
3268b20333
Make icon-sprite-webgl example usable with Canvas
2014-11-07 10:57:59 +01:00
Éric Lemoine
e0c5e742ad
Use 30000 points in icon-sprite-webgl example
2014-11-07 10:52:05 +01:00
Éric Lemoine
0c6a40f5b5
Support image rotateWithView
2014-11-06 17:16:58 +01:00
Éric Lemoine
fb24c68b9c
Support image rotation
2014-11-06 15:27:25 +01:00
Éric Lemoine
43756a2d59
Support image scale
2014-11-06 09:47:24 +01:00
Éric Lemoine
209d39a460
Support image opacity
2014-11-03 16:50:33 +01:00
Éric Lemoine
f332cdacf1
Add an icon sprite webgl example
2014-10-31 11:17:24 +01:00