Sort properties alphabetically
This commit is contained in:
@@ -56,8 +56,8 @@ rotateRight.addEventListener('click', function() {
|
|||||||
var panToLondon = document.getElementById('pan-to-london');
|
var panToLondon = document.getElementById('pan-to-london');
|
||||||
panToLondon.addEventListener('click', function() {
|
panToLondon.addEventListener('click', function() {
|
||||||
var pan = ol.animation.pan({
|
var pan = ol.animation.pan({
|
||||||
source: map.getView().getView2D().getCenter(),
|
duration: 2000,
|
||||||
duration: 2000
|
source: map.getView().getView2D().getCenter()
|
||||||
});
|
});
|
||||||
map.addPreRenderFunction(pan);
|
map.addPreRenderFunction(pan);
|
||||||
map.getView().getView2D().setCenter(london);
|
map.getView().getView2D().setCenter(london);
|
||||||
@@ -66,9 +66,9 @@ panToLondon.addEventListener('click', function() {
|
|||||||
var elasticToMoscow = document.getElementById('elastic-to-moscow');
|
var elasticToMoscow = document.getElementById('elastic-to-moscow');
|
||||||
elasticToMoscow.addEventListener('click', function() {
|
elasticToMoscow.addEventListener('click', function() {
|
||||||
var pan = ol.animation.pan({
|
var pan = ol.animation.pan({
|
||||||
source: map.getView().getView2D().getCenter(),
|
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
easing: ol.easing.elastic
|
easing: ol.easing.elastic,
|
||||||
|
source: map.getView().getView2D().getCenter()
|
||||||
});
|
});
|
||||||
map.addPreRenderFunction(pan);
|
map.addPreRenderFunction(pan);
|
||||||
map.getView().getView2D().setCenter(moscow);
|
map.getView().getView2D().setCenter(moscow);
|
||||||
@@ -77,9 +77,9 @@ elasticToMoscow.addEventListener('click', function() {
|
|||||||
var bounceToInstanbul = document.getElementById('bounce-to-instanbul');
|
var bounceToInstanbul = document.getElementById('bounce-to-instanbul');
|
||||||
bounceToInstanbul.addEventListener('click', function() {
|
bounceToInstanbul.addEventListener('click', function() {
|
||||||
var pan = ol.animation.pan({
|
var pan = ol.animation.pan({
|
||||||
source: map.getView().getView2D().getCenter(),
|
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
easing: ol.easing.bounce
|
easing: ol.easing.bounce,
|
||||||
|
source: map.getView().getView2D().getCenter()
|
||||||
});
|
});
|
||||||
map.addPreRenderFunction(pan);
|
map.addPreRenderFunction(pan);
|
||||||
map.getView().getView2D().setCenter(instanbul);
|
map.getView().getView2D().setCenter(instanbul);
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
@exportSymbol ol.easing
|
@exportSymbol ol.easing
|
||||||
@exportProperty ol.easing.linear
|
|
||||||
@exportProperty ol.easing.upAndDown
|
|
||||||
@exportProperty ol.easing.elastic
|
|
||||||
@exportProperty ol.easing.bounce
|
@exportProperty ol.easing.bounce
|
||||||
@exportProperty ol.easing.easeIn
|
@exportProperty ol.easing.easeIn
|
||||||
@exportProperty ol.easing.easeOut
|
@exportProperty ol.easing.easeOut
|
||||||
|
@exportProperty ol.easing.elastic
|
||||||
@exportProperty ol.easing.inAndOut
|
@exportProperty ol.easing.inAndOut
|
||||||
|
@exportProperty ol.easing.linear
|
||||||
|
@exportProperty ol.easing.upAndDown
|
||||||
|
|||||||
Reference in New Issue
Block a user