Update the animation example

This commit is contained in:
Tim Schaub
2016-11-05 13:23:45 -06:00
parent 83b7a1e2fc
commit 3d26d3bdc6
2 changed files with 51 additions and 116 deletions
+2 -3
View File
@@ -3,8 +3,8 @@ layout: example.html
title: View Animation
shortdesc: Demonstrates animated pan, zoom, and rotation.
docs: >
This example shows how to use the beforeRender function on the Map to run one
or more animations.
This example shows how to use the <code>view.animate()</code> method to run
one or more animations.
tags: "animation"
---
<div id="map" class="map"></div>
@@ -16,4 +16,3 @@ tags: "animation"
<button id="bounce-to-istanbul">Bounce to Istanbul</button>
<button id="spin-to-rome">Spin to Rome</button>
<button id="fly-to-bern">Fly to Bern</button>
<button id="spiral-to-madrid">Spiral to Madrid</button>