Good day!
I have been making my Panos and I'm using Google maps. For the maps I'm making I need to use the Satellite view, but when I choose this view type, the output defaults to the skewed "Perspective" (Bird's eye"?) view.
From that point I need to reset the icon on the map (the icon with 4 squares) to get my pins to be in the correct spot, otherwise they are out of alignment with their correct location. Is there any way to correct this prior to generating my output (or even after in the JS or HTML file(s)?
The last post in this thread has the same issue, but it has not received a response: viewtopic.php?f=6&t=9202&hilit=google+i ... iew#p42948
Thanks!!
Peat
Google Maps Default View (without Perspective view)??
- Hopki
- Gnome
- Posts: 13025
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Peat,
For now we can not change this but the debs are looking into this and it is now on the agenda for our next meeting.
Regards,
Hopki
For now we can not change this but the debs are looking into this and it is now on the agenda for our next meeting.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Thanks Hopki, I appreciate your help and work on this. I was attempting to update the output docs with the following information.
Peat
https://developers.google.com/maps/docu ... reeImagery
Enabling and Disabling 45° Imagery
You can disable 45° imagery by calling setTilt(0) on the Map object. To enable 45° imagery for supported map types, call setTilt(45).
The Map's getTilt() method will always reflect the current tilt being shown on the map; if you set a tilt on a map and then later remove that tilt (by zooming the map out, for example), the map's getTilt() method will return 0.
The following example displays a 45° view of downtown Portland, OR:
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 36.964, lng: -122.015},
zoom: 18,
mapTypeId: google.maps.MapTypeId.SATELLITE
});
map.setTilt(45);
}
<div id="map"></div>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 100%;
}
<!-- Replace the value of the key parameter with your own API key. -->
<script async defer
src="https://maps.googleapis.com/maps/api/js ... ck=initMap">
</script>
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 36.964, lng: -122.015},
zoom: 18,
mapTypeId: google.maps.MapTypeId.SATELLITE
});
map.setTilt(45);
}
Peat
https://developers.google.com/maps/docu ... reeImagery
Enabling and Disabling 45° Imagery
You can disable 45° imagery by calling setTilt(0) on the Map object. To enable 45° imagery for supported map types, call setTilt(45).
The Map's getTilt() method will always reflect the current tilt being shown on the map; if you set a tilt on a map and then later remove that tilt (by zooming the map out, for example), the map's getTilt() method will return 0.
The following example displays a 45° view of downtown Portland, OR:
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 36.964, lng: -122.015},
zoom: 18,
mapTypeId: google.maps.MapTypeId.SATELLITE
});
map.setTilt(45);
}
<div id="map"></div>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 100%;
}
<!-- Replace the value of the key parameter with your own API key. -->
<script async defer
src="https://maps.googleapis.com/maps/api/js ... ck=initMap">
</script>
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 36.964, lng: -122.015},
zoom: 18,
mapTypeId: google.maps.MapTypeId.SATELLITE
});
map.setTilt(45);
}
ArkiTonio
- Hopki
- Gnome
- Posts: 13025
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
please see: viewtopic.php?f=6&t=9202#p51876
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/