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 |
|
tsauerwein
|
1205d0fe1e
|
Fix ol.format.GML.readProjectionFromNode
|
2014-08-13 10:32:26 +02:00 |
|
tsauerwein
|
294afe16fe
|
Fix compiler type errors
|
2014-08-11 14:04:31 +02:00 |
|
tsauerwein
|
3ff180b224
|
Implement read transforms for ol.format.WFS
|
2014-08-11 12:22:29 +02:00 |
|
tsauerwein
|
48ed2e861e
|
Implement read/write transforms for ol.format.Polyline
|
2014-08-11 11:59:27 +02:00 |
|
tsauerwein
|
f8560df793
|
Implement read transforms for ol.format.IGC
|
2014-08-11 10:51:34 +02:00 |
|
tsauerwein
|
9bc70f3459
|
Implement read/write transforms for ol.format.WKT
|
2014-08-11 10:17:31 +02:00 |
|
tsauerwein
|
bfb6c2e3b8
|
Implement read transforms for ol.format.OSMXML
|
2014-08-08 17:25:05 +02:00 |
|
tsauerwein
|
b05f880f7c
|
Implement read/write transforms for ol.format.KML
|
2014-08-08 17:10:11 +02:00 |
|
tsauerwein
|
31dbbc6a8c
|
Implement read/write transforms for ol.format.GPX
|
2014-08-08 15:50:55 +02:00 |
|
tsauerwein
|
e446738491
|
Implement read transforms for ol.format.TopoJSON
|
2014-08-08 11:43:53 +02:00 |
|
tsauerwein
|
3090a0af37
|
Fix GeoJSON.readFeaturesFromObject
Only feature collections worked properly.
|
2014-08-08 11:14:03 +02:00 |
|
tsauerwein
|
281fd3c6a9
|
Implement GML.readProjectionFromNode()
|
2014-08-08 10:54:40 +02:00 |
|
Tobias Sauerwein
|
05e9a47fd1
|
Merge pull request #2442 from tsauerwein/build-version
Write library version in build files
|
2014-07-25 16:37:12 +02:00 |
|
tsauerwein
|
9102647751
|
Write version in builds
|
2014-07-25 16:10:08 +02:00 |
|
Tobias Sauerwein
|
a9d68a1899
|
Merge pull request #2405 from tsauerwein/kinetic-fast
Improve kinetic effect when panning fast
|
2014-07-22 08:37:57 +02:00 |
|
tsauerwein
|
73951394f9
|
Ensure that the first point for kinetic is valid
|
2014-07-21 09:05:32 +02:00 |
|
tsauerwein
|
02a2c5aceb
|
Start earlier to log points for kinetic
|
2014-07-18 15:54:38 +02:00 |
|
tsauerwein
|
3b8e182856
|
Add maxZoom to ol.View.fitGeometry() options
|
2014-07-11 16:31:01 +02:00 |
|
tsauerwein
|
7c22d8ffd4
|
Also accept empty array for ol.geom.MultiPolygon
|
2014-07-10 17:18:24 +02:00 |
|
tsauerwein
|
b8ab6fd771
|
Add stable tags to interactions
|
2014-07-03 14:19:16 +02:00 |
|
tsauerwein
|
97e59f0976
|
Export ol.format.GeoJSON.writeGeometry()
|
2014-07-02 13:48:51 +02:00 |
|
tsauerwein
|
5adb3a6a8e
|
Export ol.source.Vector.clear()
|
2014-07-02 11:53:58 +02:00 |
|
tsauerwein
|
d0e818e8ce
|
Add condition to draw interaction
|
2014-06-06 15:54:38 +02:00 |
|
tsauerwein
|
0a939c6554
|
Export condition singleClick and mouseOnly
|
2014-06-06 15:17:06 +02:00 |
|
tsauerwein
|
88197360c1
|
Add example combining draw and modify interaction
|
2014-06-06 15:17:06 +02:00 |
|
tsauerwein
|
155b9b3f86
|
Add comment about pointercancel listener
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
b2a37b8244
|
Remove not needed require
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
41df4e0a23
|
Remove assertion again
When doing a double tap, the timeout id might get overridden.
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
599de6a44a
|
Listen also to pointerdown on overlay container
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
89da5debfa
|
Fix order of olx.interaction.* types
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
7789d5eb08
|
Fix Google Maps example
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
51a557efbb
|
Replace goog.structs.Map with plain object
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
8a26ac6e24
|
Set preventDefault in PointerEvent constructor
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
68fa5fb9ce
|
Make use of goog.array.remove
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
debdc26fd2
|
Remove assignment inside expression
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
71b424f74c
|
Add missing require
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
1a477b8f32
|
Assert that timeout reset ids are not overridden
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
d170281354
|
Re-use handler
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
e08fa37565
|
Use enums for pointer event types
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
72d7a6e1ff
|
Remove unused property pointerMap on NativeSource
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
b693ddf56e
|
Remove assignments inside expression
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
73c33e58e9
|
Remove unused constant NEW_MOUSE_EVENT
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
77aa29e6ee
|
Remove blank lines
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
873d47d087
|
Remove not needed type cast
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
6933023441
|
Remove leading whitespace
|
2014-03-14 10:16:27 +01:00 |
|
tsauerwein
|
5a358918e1
|
Rename interactions
The idea behind the naming scheme is that for example
for `DragRotate`, `Rotate` is the action and `Drag` the
gesture that issues the action.
|
2014-03-14 10:16:27 +01:00 |
|