This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
Map option heading not working #1354
Open
Description
Hi,
I'm not sure if this is a unsupported feature of if I'm doing something wrong, but I'm trying to rotate my map, depending on geolocation heading data.
I tried adding it as options="track.options"
and a var track = { options: { heading: 90 }, zoom: 6, center: [...]}
I also tried adding it as heading="track.heading"
and a var track = { heading: 90, zoom: 6, ...}
None of those rotates my map. Am I missing something?
I noticed it's also not possible to rotate the map using 2 finger touch on my smartphone so I'm asking myself if it's even possible at all? Because it's mentioned here: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
Thanks