Latest web development tutorials

Maps API getHeading () method

Map () constructor Map () constructor

Examples

Back aerial imagery compass heading:

map.getHeading();

try it"

Definition and Usage

getHeading () method returns the aerial image compass heading.

getHeading () method can only be used with or HYBRID SATELLITE map type, these two map types support a particular position 45 ° angle image viewport at high zoom levels.


grammar

mapvariable.getHeading();


return value

描述
number 罗盘航向度数。


Map () constructor Map () constructor