From 47013cd454cfc701e1c93deb5a93ed77729692d9 Mon Sep 17 00:00:00 2001 From: daniel_sim Date: Sat, 3 Jun 2017 10:37:54 +0800 Subject: [PATCH] example for maptypeid change (fixes #117) --- examples/index.html | 6 +++- examples/maptypeid.html | 43 ++++++++++++++++++++++++++++ examples/src/main.js | 1 - examples/test-map-center-twoway.html | 6 +++- 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 examples/maptypeid.html diff --git a/examples/index.html b/examples/index.html index 97086639d..54344521e 100644 --- a/examples/index.html +++ b/examples/index.html @@ -27,9 +27,13 @@

Vue2 Google Maps - Examples

  • - Basic tests on map centering and zoom. + Basic tests on map centering two-way binding.
  • +
  • + Test Map Type Id Changes (#117). +
  • +
  • Basic markers on a map.
  • diff --git a/examples/maptypeid.html b/examples/maptypeid.html new file mode 100644 index 000000000..f85a038d0 --- /dev/null +++ b/examples/maptypeid.html @@ -0,0 +1,43 @@ + +
    + Map type id + + {{mapTypeId}} + + + +
    + + + + + + + + diff --git a/examples/src/main.js b/examples/src/main.js index f70de46f8..955afd3dc 100644 --- a/examples/src/main.js +++ b/examples/src/main.js @@ -6,7 +6,6 @@ Vue.use(VueGoogleMaps, { installComponents: true, load: { key: 'AIzaSyBzlLYISGjL_ovJwAehh6ydhB56fCCpPQw', - v: '3.26', libraries: 'places' } }); diff --git a/examples/test-map-center-twoway.html b/examples/test-map-center-twoway.html index 7ef557a9f..29fca521f 100644 --- a/examples/test-map-center-twoway.html +++ b/examples/test-map-center-twoway.html @@ -32,7 +32,7 @@

    Test 1

    @@ -56,6 +56,10 @@

    Test 1

    lat: 1.38, lng: 103.8, }, + pov: { + pitch: 0, + heading: 0, + } }, methods: { updateCenter(newCenter) {