Maps V2 how to rotate Marker - where is rotation option?

前端 未结 1 1828
被撕碎了的回忆
被撕碎了的回忆 2021-01-15 04:37

According to all the docs I have, such as... this link

\"rotation\" is a valid marker option. But it\'s not there!

For instance if you put this code cited i

1条回答
  •  清酒与你
    2021-01-15 05:10

    So, are the docs bad?

    No, the docs are perfectly fine, at least with respect to this.

    Am I doing something wrong?

    You do not have the latest Play Services SDK attached to your project, most likely. You need to download R12 from the SDK Manager, then attach that library project to your project (replacing whatever version you have today).

    Here is a sample project demonstrating the use of rotation() (and flat markers as well).

    0 讨论(0)
提交回复
热议问题