vue-google-maps icon indicating copy to clipboard operation
vue-google-maps copied to clipboard

Is tilt supported?

Open BrianMoreno1994 opened this issue 7 years ago • 4 comments

Hi, I was wondering if the tilt option is available. I'm trying to do the following but it doesn't seem to work:

<gmap-map
      :center="center"
      :zoom="16"
      :options="{disableDefaultUI: false, gestureHandling: 'greedy', tilt: 45}"
      id="location-map"
>
</gmap-map>

I read about the option here: https://developers.google.com/maps/documentation/javascript/3.exp/reference. Under the MapOptions object specification section.

BrianMoreno1994 avatar Oct 09 '17 23:10 BrianMoreno1994

Hi,

It should be supported, even as a direct option, e.g. :tilt="45"

I don't have a test for it though.

https://github.com/xkjyeah/vue-google-maps/blob/vue2/src/components/mapImpl.js

On 10 Oct 2017 07:16, "Brian Moreno" [email protected] wrote:

Hi, I was wondering if the tilt option is available. I'm trying to do the following but it doesn't seem to work:

<gmap-map :center="center" :zoom="16" :options="{disableDefaultUI: false, gestureHandling: 'greedy', tilt: 45}" @dragend="showContinueBtn = 1" @dragstart="showContinueBtn = 0" id="location-map"

I read about the option here: https://developers.google.com/ maps/documentation/javascript/3.exp/reference. Under the MapOptions object specification section.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xkjyeah/vue-google-maps/issues/226, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiTR4Ia5unfH2nMO0uwF0AohCNCj_B_ks5sqqk7gaJpZM4PzLEW .

xkjyeah avatar Oct 10 '17 09:10 xkjyeah

Changing this to "0" does not change anything, it still tilts ( I am on satellite view )

dataexcess avatar Jan 26 '21 14:01 dataexcess

Cant get tilt to work sadly

ciarans avatar Apr 08 '21 10:04 ciarans

:tilt="0" works for me

full code:

<GmapMap :center="currentLocation" :zoom="13.8" :map-type-id="selectedMapType" :tilt="0" :options="{ disableDefaultUI: true, fullscreenControl: false, mapTypeControl: false }" @click="didClickMap()" >

dataexcess avatar Apr 08 '21 11:04 dataexcess