Tips and Frequently Asked Questions
Add a custom pin image annotation to the TTMSFMXNativeMKMapView
The following code can be used to show a custom pin image when adding an annotation to the mapview component.
The annotation is added to the center of the Map based on an image that has been added to the root folder in the deployment window.
var loc: TTMSFMXNativeMKMapLocation; ann: TTMSFMXNativeMKAnnotation; begin TMSFMXNativeMKMapView1.BeginUpdate; loc := TMSFMXNativeMKMapView1.XYToCoordinate(TMSFMXNativeMKMapView1.Width / 2, TMSFMXNativeMKMapView1.Height / 2); ann := TMSFMXNativeMKMapView1.AddAnnotation(loc, 'Hello', 'World'); ann.Bitmap.LoadFromFile(ExtractFilePath(ParamStr(0))+'pin.png'); TMSFMXNativeMKMapView1.EndUpdate;
Pricing
Single Developer License
Small Team License
Site License
TMS iCL
€ 125
€
75
yearly renewal
license for 1 developer
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.