Commit Graph
10 Commits
Author SHA1 Message Date
Olivier Guyot 051cc68f24 Merge pull request #9596 from jahow/fix-source-missing-event
Vector source / prevent adding features with duplicate id in the collection
2019-05-26 10:53:58 +02:00
jahow 48ad1ffcbf View / implement a smooth rebound effect when a max extent is given
This is done by applying the center constraint differently when we're in the
middle of an interaction/animation or not.

When the view is moving, the center constraint will restrain the given value
in an "elastic" way, using a logarithmic function.

This can be disabled using the `smoothCenterConstrain` view parameter.
2019-02-22 15:01:30 +01:00
jahow cd186ada7f Add new tests for View & Interaction w/ fixes 2019-02-22 15:01:30 +01:00
jahow e52fab636c View / apply constraints automatically based on hints
All constraints can now function differently if they are applied during
interaction or animation.
2019-02-22 15:01:30 +01:00
jahow d991dfa54a View / remove constrainCenter method 2019-02-22 15:01:30 +01:00
jahow c2c1aa01d3 View / removed the constrainRotation method 2019-02-22 15:01:30 +01:00
jahow fad7c7edb1 Added a new example for webgl icons rendering 2018-12-28 15:53:08 +01:00
jahow 8bb7d77f68 Update PointsLayer documentation 2018-12-01 00:11:27 +01:00
jahow 55c36b5aab Shader compilation errors are now logged even when the compilation succeeded 2018-12-01 00:03:05 +01:00
jahow 78028893e2 Added missing attributes in PointsLayer
Attributes were used in the shader but not bound to a buffer, which made the
rendering failed in some implementations.
2018-12-01 00:01:55 +01:00