I am using Carto-Mobile and I am trying to rotate the location marker using CLLocation
true hedding, but I can't make it work.
I set a bitmap image to the location marker which is a NTPoint
object, but NTPoint
doesn't have any method to rotate according to the angle, instead of NTMarker
, I try to use a NTMarker
for location marker but at low zoom levels (zoom 6) never show the real position so NTPoint
was a better fit.
So I hope anyone can tell me how I could rotate the location marker using CLLocation
true hedding using CARTO-SDK
Regards
Following code should work and keep image in precise location: