diff --git a/src/demos/ViewDemo.vue b/src/demos/ViewDemo.vue index d2b5d21e..17202321 100644 --- a/src/demos/ViewDemo.vue +++ b/src/demos/ViewDemo.vue @@ -6,21 +6,24 @@ :rotation="rotation" :zoom="zoom" :projection="projection" - @zoomChanged="zoomChanged" - @centerChanged="centerChanged" - @resolutionChanged="resolutionChanged" - @rotationChanged="rotationChanged" + @change:center="centerChanged" + @change:resolution="resolutionChanged" + @change:rotation="rotationChanged" /> + + -
- center : {{ currentCenter }} zoom : {{ currentZoom }} resolution : - {{ currentResolution }} rotation : {{ currentRotation }} -
+