Google JavaScript API 3 - Navigation View ?

M

mdmc

Neues Mitglied
0
Guten Abend,

ich entwickle zur zeit eine kleine WebApp (JQuery Mobile, Google Maps JavaScript API + Phonegap).

Aktuell berechne ich die Route von einem Punkt A zu einem Punkt B.

Jetzt möchte ich diese Route gern abfahren und dazu die Routenansicht gern in der "Vogelperspektive" haben Abbildung 1. (nicht in der der Draufsicht von oben, Abbildung 2.).

So wie es auch aussieht wenn man die Navigations Funktion der Google Maps - App nutzt.

Ist das irgendwie realisierbar ? Gibt es eine entsprechende API ? Ich konnte leider nichts finden.

Vielen Dank

Abbildung 1. (So hätte ich es gern)
d672u.png


Abbildung 2. (So sieht es aktuell aus)
2qanzih.jpg
 
Zuletzt bearbeitet:
setTilt() klingt nach dem, was du suchst.

https://developers.google.com/maps/documentation/javascript/reference#Map

Controls the automatic switching behavior for the angle of incidence of the map. The only allowed values are 0 and 45. setTilt(0) causes the map to always use a 0° overhead view regardless of the zoom level and viewport. setTilt(45) causes the tilt angle to automatically switch to 45 whenever 45° imagery is available for the current zoom level and viewport, and switch back to 0 whenever 45° imagery is not available (this is the default behavior). 45° imagery is only available for SATELLITE and HYBRID map types, within some locations, and at some zoom levels. Note: getTilt returns the current tilt angle, not the value set by setTilt. Because getTilt and setTilt refer to different things, do not bind() the tilt property; doing so may yield unpredictable effects.
 
Leider handelt es sich bei der Methode nur um ausgewählte Bereiche auf der Karte. Da kann man dann bestimmte Bereiche als "Bild" betrachten aus einem 45° Winkel.

Scheinbar gibt es noch keine Möglichkeit mein Vorhaben mit den Aktuellen APIs zu realisieren.

Danke trotzdem.
 

Ähnliche Themen

2
Antworten
6
Aufrufe
256
24559
2
A
  • AnimaAngelo85
Antworten
1
Aufrufe
332
swa00
swa00
Zurück
Oben Unten