ImageEn, unit iexVirtualBitmaps

TIESlippyMap.PointPosition

TIESlippyMap.PointPosition


Declaration

property PointPosition: TPoint;


Description

Specifies where the map point at Latitude and Longitude is located within the TIEBitmap object.


Example

// show point 51.503614574056016, -0.12774750793460043 at the center of bitmap
with TIESlippyMap(ImageEnView1.IEBitmap.VirtualBitmapProvider) do
begin
  PointPosition := Point(ImageEnView1.IEBitmap.Width div 2, ImageEnView1.IEBitmap.Height div 2);
  Latitude  := 51.503614574056016;
  Longitude := -0.12774750793460043;
end;
ImageEnView1.Update();