Tobias Sauerwein
|
350ce735f1
|
Merge pull request #3172 from tsauerwein/forEachLayerAtPixel
Introduce forEachLayerAtPixel
|
2015-02-02 09:24:43 +01:00 |
|
tsauerwein
|
b390c1bdf8
|
Use dragging flag in examples
|
2015-01-30 13:53:32 +01:00 |
|
tsauerwein
|
f4500c8f89
|
Rename *AtPixel to *AtCoordinate if coordinate
|
2015-01-30 10:00:37 +01:00 |
|
tsauerwein
|
4d4bed454a
|
Avoid pixel->coord->pixel conversion
|
2015-01-30 10:00:37 +01:00 |
|
tsauerwein
|
054227fd26
|
Make signature for *AtPixel methods more consistent
pixel/coordinate is the first argument.
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
b7415219a6
|
Use forEachLayerAtPx in example
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
dce4210a5b
|
Implement forEachLayerAtPixel for webgl
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
6cc5bd466d
|
Add hasFeatureAtPixel for ImageLayer
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
b4cb786f29
|
Implement forEachLayerAtPixel for canvas
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
225f0739ec
|
Add forEachLayerAtPixel
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
7feb8b22f6
|
Rename forEachGeometryAtPixel
|
2015-01-30 10:00:36 +01:00 |
|
Tobias Sauerwein
|
9e7e5efd27
|
Merge pull request #3190 from tsauerwein/event-dragging
Introduce `dragging` flag for MapBrowserEvent
|
2015-01-30 09:54:52 +01:00 |
|
tsauerwein
|
9a841583db
|
Remove getter for down_
|
2015-01-30 09:38:47 +01:00 |
|
tsauerwein
|
9cc8390dfd
|
Use dragging in examples
|
2015-01-30 09:16:19 +01:00 |
|
tsauerwein
|
f2518e4c08
|
Add dragging flag to MapBrowserEvent
|
2015-01-30 09:15:35 +01:00 |
|
Tobias Sauerwein
|
aa67078d74
|
Merge pull request #3135 from tsauerwein/control-label
Make changing the label of ZoomToExtent/FullScreen control consistent
|
2015-01-29 15:03:53 +01:00 |
|
Tobias Sauerwein
|
9d5f7c1eb4
|
Merge pull request #3177 from tsauerwein/style-polygons
Add example showing how to style polygon vertices
|
2015-01-27 10:18:55 +01:00 |
|
tsauerwein
|
48cf51a7ca
|
Add example for polygon vertices styling
|
2015-01-27 10:02:28 +01:00 |
|
Tobias Sauerwein
|
90a5997c22
|
Merge pull request #3108 from tsauerwein/webgl-point-skipFeatures
Support skipping features in the WebGL renderer
|
2015-01-23 08:56:39 +01:00 |
|
tsauerwein
|
316480dcda
|
Rename argument
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
a39544cce0
|
Implement skipping features for hasFeatureAtPixel
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
cf9619f378
|
Implement skipping features for 1by1 hit detection
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
c4ee074274
|
Implement skipping features for drawReplay
|
2015-01-22 10:24:59 +01:00 |
|
Tobias Sauerwein
|
1702a4ed36
|
Merge pull request #3066 from tsauerwein/webgl-point-hasFeatureAtPixel
Introduce hasFeatureAtPixel
|
2015-01-22 10:20:00 +01:00 |
|
Tobias Sauerwein
|
53f98dcf4e
|
Merge pull request #3065 from tsauerwein/webgl-point-hit-detection
Add hit-detection support for WebGL
|
2015-01-22 10:19:37 +01:00 |
|
tsauerwein
|
fbb2883f6e
|
Add Node to control label type
|
2015-01-16 10:14:39 +01:00 |
|
tsauerwein
|
7679069520
|
Add label option to FullScreen control
|
2015-01-16 09:05:51 +01:00 |
|
tsauerwein
|
0d26a9aa87
|
Add label option to ZoomToExtent
|
2015-01-15 09:58:05 +01:00 |
|
Tobias Sauerwein
|
110ed04a84
|
Merge pull request #3124 from sirtet/master
Add a space between scale -value and -unit
|
2015-01-14 12:41:01 +01:00 |
|
tsauerwein
|
c85982bbe5
|
Remove unused variables
|
2015-01-09 09:21:40 +01:00 |
|
tsauerwein
|
d39904b66b
|
Add @const annotation
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
25612f1af2
|
Unify return statement
Only return the callback result if it is truthy,
otherwise return undefined.
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
35c58b3b0e
|
Use hasFeatureAtPixel in icon example
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
3e5c4d0bf6
|
Show hasFeatureAtPixel in example
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
bc71a36292
|
Implement hasFeatureAtPixel for webgl
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
d62e910239
|
Implement hasFeatureAtPixel for canvas
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
d0691ecc4d
|
Add hasFeatureAtPixel function to map
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
974823dbd4
|
Refactor createTexture
|
2015-01-08 15:40:03 +01:00 |
|
tsauerwein
|
38322d615b
|
Use renderBuffer for hit-detection
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
060c9f3bc6
|
Reduce number of arrays created
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
6c48b2067b
|
Make icon example work with webgl
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
da7f38635b
|
Remove hitDetectionOrigin
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
461ec1d3bc
|
Make sure hit-detection atlas is in sync
... with the atlas for the original images, so that
the offsets are the same.
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
cf6dd38866
|
Use hit-detection images
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
3ef61fa1c5
|
Add hit-detection support for webgl
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
740420468e
|
Add hit-detection framebuffer to context
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
e109be4b57
|
Rename size to initialSize
|
2014-12-04 11:49:50 +01:00 |
|
tsauerwein
|
0fd1a575a9
|
Use string instead of ol.structs.Checksum
|
2014-12-04 11:48:43 +01:00 |
|
tsauerwein
|
b5d80679d8
|
Add and fix documentation for atlas manager
|
2014-12-04 10:21:32 +01:00 |
|
tsauerwein
|
88a3fda514
|
Remove star example in favor of #2976
|
2014-12-04 09:23:00 +01:00 |
|
tsauerwein
|
d6841e6d9d
|
Fix tests for when not run with WebGL support
|
2014-11-24 13:26:45 +01:00 |
|
tsauerwein
|
b8b48afc82
|
Use WEBGL_MAX_TEXTURE_SIZE as default
|
2014-11-24 09:57:09 +01:00 |
|
tsauerwein
|
e307579d49
|
Move constants from ol.has to ol
|
2014-11-24 09:42:10 +01:00 |
|
Tobias Sauerwein
|
ac24b615c3
|
Merge pull request #39 from tsauerwein/webgl-point-hit-detection-atlas
[webgl-point] Add hit-detection images of symbols to separate atlas
|
2014-11-21 11:37:48 +01:00 |
|
tsauerwein
|
fb8af71f25
|
Use goog.isNull and goog.isDef
|
2014-11-21 10:42:06 +01:00 |
|
Tobias Sauerwein
|
283d878177
|
Merge pull request #36 from tsauerwein/webgl-point-has-stable
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
|
2014-11-21 10:33:18 +01:00 |
|
tsauerwein
|
8fcde092c7
|
Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined
By doing so the examples will also work if WebGL is not supported.
|
2014-11-21 09:54:55 +01:00 |
|
tsauerwein
|
40c33a21eb
|
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
|
2014-11-21 09:52:09 +01:00 |
|
tsauerwein
|
ab42965aa2
|
Add hit-detection image to atlas (RegularShape)
|
2014-11-21 09:41:38 +01:00 |
|
tsauerwein
|
4132505313
|
Add hit-detection image to atlas (Circle)
|
2014-11-21 09:41:10 +01:00 |
|
tsauerwein
|
97f8e4ac8d
|
Keep separate atlas for hit-detection images
|
2014-11-21 09:40:22 +01:00 |
|
tsauerwein
|
82ef80cf60
|
Add imageSize and origin for hit-detection image
|
2014-11-21 09:39:38 +01:00 |
|
Tobias Sauerwein
|
9681ec3e10
|
Merge pull request #35 from tsauerwein/webgl-point-fix-examples
Fix examples (minor)
|
2014-11-20 12:01:22 +01:00 |
|
Tobias Sauerwein
|
d5ffd8abac
|
Merge pull request #34 from camptocamp/webgl-point-texture-per-image
Make sure only one texture is created per image
|
2014-11-20 12:01:11 +01:00 |
|
tsauerwein
|
d73e183c89
|
Fix examples
The very last style was not used.
|
2014-11-20 11:50:46 +01:00 |
|
tsauerwein
|
d12db0419c
|
Make sure only one texture is created per image
|
2014-11-20 11:39:25 +01:00 |
|
Tobias Sauerwein
|
c564a0963c
|
Merge pull request #33 from tsauerwein/webgl-point-symbol-atlas
[webgl-point] Use the atlas manager for symbols [WIP]
|
2014-11-20 09:50:03 +01:00 |
|
tsauerwein
|
327763cc82
|
Add stars to example
|
2014-11-13 12:04:51 +01:00 |
|
tsauerwein
|
f07e59d63f
|
Add regular shape example
|
2014-11-13 11:52:35 +01:00 |
|
tsauerwein
|
e9e76954b2
|
Integrate atlas manager into RegularShape
|
2014-11-13 11:48:23 +01:00 |
|
tsauerwein
|
7593a18a19
|
Add atlas manager to RegularShapeOptions
|
2014-11-13 10:53:03 +01:00 |
|
tsauerwein
|
ea65f65b37
|
Implement getChecksum for RegularShape
|
2014-11-13 10:50:07 +01:00 |
|
tsauerwein
|
7e9dd65f8b
|
Add example for symbols in an atlas
|
2014-11-13 10:24:28 +01:00 |
|
tsauerwein
|
62e9d259b2
|
Fix @type annotation
A description for @type annotation emits a warning.
|
2014-11-12 17:22:27 +01:00 |
|
tsauerwein
|
b3b7579f84
|
Use atlas manager for circle style
|
2014-11-12 17:22:27 +01:00 |
|
tsauerwein
|
ffced21893
|
Add atlas manager to CircleOptions
|
2014-11-12 17:22:27 +01:00 |
|
Tobias Sauerwein
|
2a5fffaee4
|
Merge pull request #32 from tsauerwein/webgl-point-offset
[webgl-point] Fix call to drawElements
|
2014-11-12 17:21:21 +01:00 |
|
tsauerwein
|
41887e660b
|
Fix call to drawElements
The offset must be given in bytes.
|
2014-11-12 16:29:46 +01:00 |
|
Tobias Sauerwein
|
4c3a7d0248
|
Merge pull request #14 from tsauerwein/webgl-point-atlas-manager
[webgl-point] Add atlas manager
|
2014-11-07 14:50:33 +01:00 |
|
tsauerwein
|
fe3cdd8d1b
|
Add AtlasManagerOptions and improve docs
|
2014-11-07 11:12:32 +01:00 |
|
tsauerwein
|
ebe0c6a88c
|
Move AtlasManager to ol.style.AtlasManager
|
2014-11-06 17:51:15 +01:00 |
|
tsauerwein
|
64da2647a6
|
Take space into account when checking size
|
2014-11-06 17:09:34 +01:00 |
|
tsauerwein
|
f0841b38cd
|
Use id string instead of hash code
|
2014-11-06 16:22:46 +01:00 |
|
tsauerwein
|
5ba6ddcecf
|
Only create new atlas after testing all existing
|
2014-11-06 15:28:44 +01:00 |
|
tsauerwein
|
509fbaee1c
|
Replace hashCode with checksum
Hash codes are not collision free, so what we
actually need is a checksum.
|
2014-11-06 15:08:34 +01:00 |
|
tsauerwein
|
581b372c6a
|
Add constant ol.has.WEBGL_MAX_TEXTURE_SIZE
|
2014-11-06 10:24:14 +01:00 |
|
tsauerwein
|
7618c96c29
|
Double the size when creating new atlases
|
2014-11-03 18:00:57 +01:00 |
|
tsauerwein
|
1bd388188b
|
Add atlas manager
|
2014-11-03 15:40:42 +01:00 |
|
tsauerwein
|
22e1159736
|
Implement hashCode for ol.style.Circle
|
2014-10-31 17:22:44 +01:00 |
|
tsauerwein
|
46ec078501
|
Add Hashable interface
|
2014-10-31 11:17:03 +01:00 |
|
Tobias Sauerwein
|
5ddbe54310
|
Merge pull request #2870 from tsauerwein/rbush-bulk-insert
Use bulk-insertion for addFeatures
|
2014-10-27 09:12:23 +01:00 |
|
tsauerwein
|
56e3ba4578
|
Use bulk insertion for addFeatures
|
2014-10-24 17:10:02 +02:00 |
|
tsauerwein
|
97acd989a2
|
Add support for bulk insertion to rbush wrapper
|
2014-10-24 17:10:02 +02:00 |
|
tsauerwein
|
47d17342ca
|
Set type for ol.ext.*
|
2014-10-24 08:39:03 -06:00 |
|
tsauerwein
|
af4184e743
|
Add wrapper for the RBush
|
2014-10-23 15:57:27 -06:00 |
|
Tobias Sauerwein
|
a231086a8b
|
Merge pull request #2407 from ahocevar/format-projection
Options for feature readers and writers to support transforms
|
2014-08-21 17:58:10 +02:00 |
|
tsauerwein
|
939e167c0b
|
Rename "adaptOptionsWithDefaultDataProjection"
|
2014-08-21 11:39:01 +02:00 |
|
tsauerwein
|
b30ed6b934
|
Put options on objectStack for xml formats
|
2014-08-19 09:42:44 +02:00 |
|
tsauerwein
|
e7864be2be
|
Fix ol.format.transformWithOptions
|
2014-08-18 15:48:29 +02:00 |
|
tsauerwein
|
539e4a23b9
|
Introduce defaultDataProjection for formats
|
2014-08-18 15:31:06 +02:00 |
|