Hi !
A few questions regarding Mapview.
- Is or will "Route" be supported ?
- Is "3D" view supported ?
- Is it possible to draw a line from annotation A to annotation B ?
- Sometimes when i place several annotations on a map, it looks
like the shadow is somewhat off at placing the annotations, which
looks weird.
Is that a bug ?
Cheers !
Paul
Hi,
Pieter Scheldeman2013-07-03 08:34:36
Hi Pieter,
Thanks for the answers.
Routing would be real nice to have.
For the shadow :
It only occurs when "annotation drops" (Animated), once the annotation is dropped on the
map everything is fine.
Will try to make a small video regarding this.
Cheers.
Paul
Hi Pieter,
Forgot to tell you that i'm only using a real device (Ipad 3) when testing,
never the simulator.
Cheers.
That is actually a very good practice despite the slow deployment.
Hi Pieter,
A small movie regarding the shadow.
http://youtu.be/9zpCGjtHu1w
The shadow looks a few centimeters to the right of the annotation when dropped.
Cheers.
Paul
Can you post the code that adds the annotation?
Hi Pieter,
It also occurs when placing one annotation to the map, this is
the code i use :
imapx.RemoveAllAnnotations;
imapx.BeginUpdate;
with imapx.Annotations.Add do
begin
Title := ComboEdit3.Text;
SubTitle := detail;
lat := StrToFloat(alat);
lon := StrToFloat(alon);
lc.Latitude := lat;
lc.Longitude := lon;
Location := lc;
PinColor := TTMSFMXNativeMKPinAnnotationColor(Random(3));
AnimatesDrop := True;
b := TTMSFMXNativeUIButton.Create(Self);
b.Width := 32;
b.Height := 32;
b.Style := bsButtonTypeDetailDisclosure;
RightCalloutAccessoryView := b;
end;
rgn.Center.Latitude := lat;
rgn.Center.Longitude := lon;
rgn.Span.latitudeDelta := 0.005;
rgn.Span.longitudeDelta := 0.005;
iMapx.SetRegion(rgn, True);
imapx.EndUpdate;
Cheers,
Paul
Hi,