vue-google-maps
vue-google-maps copied to clipboard
Is tilt supported?
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.
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 .
Changing this to "0" does not change anything, it still tilts ( I am on satellite view )
Cant get tilt to work sadly
: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()" >