Jump to content
Sign in to follow this  
Arsl01

Mapview mark rotation problem

Recommended Posts

Hello, I simply want to change the rotate feature of the mark I added on the map, while it does this on the android part, it does not react on the ios part.
How can I change the direction of a mark in ios.

 

 

var
MyMarker: TMapMarkerDescriptor;
degree:integer;
begin
 MyMarker := TMapMarkerDescriptor.Create(Position, 'Here');
 MyMarker.Icon := ImageList2.Bitmap(TSizeF.Create(64, 64), 10);
 Derece:= degreecal();
 MyMarker.Rotation := degree;
 
 MyMarker.Draggable := false;
 MyMarker.Visible := true;
 MyMarker.Title := title;
 MyMarker.Snippet := '(' + Position.Latitude.ToString + ' - ' +
   Position.Longitude.ToString + ')';
 loc := MapView1.AddMarker(MyMarker);
 FMarkersboat.add(loc);
end;

 

Edited by Arsl01

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×