ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

Marker doesnot rotate properly #266

Closed developuser closed 4 years ago

developuser commented 4 years ago

In ionic cordova google map the native marker has been rotated sucessfully based on the input rotation angle, but if i use customized image instead of marker was not rotating properly.here i had used a png image format, kindly help to solve this issue

wf9a5m75 commented 4 years ago

Rotate property works only default marker.

developuser commented 4 years ago

if i use a customized marker image how can i rotate it

wf9a5m75 commented 4 years ago

You need to rotate the image by yourself, such as using canvas.

developuser commented 4 years ago

can i have a sample code for it

wf9a5m75 commented 4 years ago

Please google it.

developuser commented 4 years ago

i am new to ionic, but i had tried did you have any reference kindly share it will be helpful for me.

wf9a5m75 commented 4 years ago

It's not related with ionic. It's JavaScript problem.

This plugin does not provide the rotation feature for custom marker. That's all. Beyond that point, you need to implement by yourself.