// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'uecNativeMapControl.pas' rev: 37.00 (Windows)

#ifndef uecNativeMapControlHPP
#define uecNativeMapControlHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.SysUtils.hpp>
#include <Vcl.Forms.hpp>
#include <Winapi.Windows.hpp>
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Graphics.hpp>
#include <Winapi.Messages.hpp>
#include <Vcl.Imaging.pngimage.hpp>
#include <Vcl.ComCtrls.hpp>
#include <System.StrUtils.hpp>
#include <Vcl.ImgList.hpp>
#include <Vcl.Imaging.jpeg.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <UECGraphics.hpp>
#include <Vcl.Dialogs.hpp>
#include <uecOpenWeather.hpp>
#include <uecVectorStyles_standard.hpp>
#include <Vcl.Touch.Gestures.hpp>
#include <Vcl.Touch.GestureMgr.hpp>
#include <UECMapZIP.hpp>
#include <uecHttp.hpp>
#include <uecNativeMeasureMap.hpp>
#include <UECMapUtil.hpp>
#include <uecMapFile.hpp>
#include <uecNativeShape.hpp>
#include <uecGeoLocalise.hpp>
#include <System.Types.hpp>
#include <System.Generics.Collections.hpp>
#include <System.Generics.Defaults.hpp>
#include <uecThreadGraphics.hpp>
#include <uecNativeTileServer.hpp>
#include <uecGeoHash.hpp>
#include <uecHeatmap.hpp>
#include <uecOpenLocationCode.hpp>
#include <System.UITypes.hpp>

//-- user supplied -----------------------------------------------------------

namespace Uecnativemapcontrol
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS THackControl;
class DELPHICLASS TECComponent;
class DELPHICLASS TECComponents;
class DELPHICLASS TECMapComponents;
class DELPHICLASS TECCustomTool;
class DELPHICLASS TOLCNativeMap;
class DELPHICLASS TECScaleBar;
class DELPHICLASS TECNativeFreeHand;
class DELPHICLASS TECNativeGeoHash;
class DELPHICLASS TECOverlayTileLayer;
class DELPHICLASS TECVaneTiles;
class DELPHICLASS TECOpenWeatherTilesLayer;
class DELPHICLASS TCustomTileCache;
class DELPHICLASS TECHeatmapLayer;
class DELPHICLASS TECNativeLayer;
class DELPHICLASS TECTimeDimension;
struct TECRecordLayer;
class DELPHICLASS TECOverlayWMS;
class DELPHICLASS TECNativeWMS;
struct TECRecordFeature;
class DELPHICLASS TECNativeWFS;
class DELPHICLASS TECWMSLayers;
class DELPHICLASS TECWFSLayers;
class DELPHICLASS TECNativeUTFLayer;
class DELPHICLASS TNativeMapControl;
class DELPHICLASS TECNativeMap;
class DELPHICLASS TECXapiLayer;
class DELPHICLASS TECOffScreenScreenShot;
class DELPHICLASS TECIsoChrone;
class DELPHICLASS TECRouting;
class DELPHICLASS TECItinerarySegment;
class DELPHICLASS TECItinerary;
class DELPHICLASS TECTurnByTurn;
struct TAirQualityItem;
struct TAirQualityCity;
class DELPHICLASS TAirQualityData;
class DELPHICLASS TECAirQuality;
class DELPHICLASS TECBBoxData;
class DELPHICLASS TECBBoxDataCacheList;
class DELPHICLASS TECGoogle;
class DELPHICLASS TECTomTomIncidentData;
class DELPHICLASS TECTomTom;
class DELPHICLASS TECTomTomIncident;
class DELPHICLASS TECPTV;
class DELPHICLASS TECSelectArea;
class DELPHICLASS TECGrid;
class DELPHICLASS TECGrids;
struct TECChartField;
class DELPHICLASS TECChartItem;
class DELPHICLASS TECChartLayer;
class DELPHICLASS TECChartLayers;
class DELPHICLASS TECBubbleItem;
class DELPHICLASS TECBubbleLayer;
class DELPHICLASS TECBubbleLayers;
class DELPHICLASS TECGraticule;
class DELPHICLASS TECDrawPath;
class DELPHICLASS TECDownLoadTiles;
class DELPHICLASS TThreadECDownLoadTiles;
struct TECOverPassData;
class DELPHICLASS TEOverPass;
class DELPHICLASS TECOverPassApiLayer;
class DELPHICLASS TECOverPass;
class DELPHICLASS TECBoundary;
class DELPHICLASS TECSnapDrag;
//-- type declarations -------------------------------------------------------
enum DECLSPEC_DENUM TECComponentAlign : unsigned char { ecNone, ecTopLeft, ecTopRight, ecBottomLeft, ecBottomRight, ecLeftTop, ecRightTop, ecLeftBottom, ecRightBottom, ecTopCenter, ecBottomCenter, ecLeftCenter, ecRightCenter, ecAlTopLeft, ecAlTopRight, ecAlBottomLeft, ecAlBottomRight, ecAlLeftTop, ecAlRightTop, ecAlLeftBottom, ecAlRightBottom };

typedef Vcl::Controls::TControl TECDelphiComponent;

class PASCALIMPLEMENTATION THackControl : public Vcl::Controls::TControl
{
	typedef Vcl::Controls::TControl inherited;
	
public:
	/* TControl.Create */ inline __fastcall virtual THackControl(System::Classes::TComponent* AOwner) : Vcl::Controls::TControl(AOwner) { }
	/* TControl.Destroy */ inline __fastcall virtual ~THackControl() { }
	
};


typedef void __fastcall (__closure *TECComponentRemove)(TECComponent* const AComponent);

typedef void __fastcall (__closure *TECComponentMove)(TECComponent* const AComponent, const int NewIndex);

class PASCALIMPLEMENTATION TECComponent : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::UnicodeString FName;
	TECDelphiComponent* FComponent;
	TECComponentAlign FAlign;
	System::Classes::TNotifyEvent FOnChange;
	System::Classes::TNotifyEvent FOnUpdate;
	TECComponentRemove FdoRemove;
	TECComponentMove FdoMove;
	void __fastcall setAlign(const TECComponentAlign value);
	void __fastcall setComponent(TECDelphiComponent* const value);
	void __fastcall setLeft(const int value);
	void __fastcall setTop(const int value);
	int __fastcall getLeft();
	int __fastcall getTop();
	void __fastcall setWidth(const int value);
	void __fastcall setHeight(const int value);
	int __fastcall getWidth();
	int __fastcall getHeight();
	void __fastcall setVisible(const bool value);
	bool __fastcall getVisible();
	void __fastcall setColor(const System::Uitypes::TColor value);
	System::Uitypes::TColor __fastcall getColor();
	__property System::Classes::TNotifyEvent OnUpdate = {read=FOnUpdate, write=FOnUpdate};
	
public:
	void __fastcall Remove();
	void __fastcall Move(const int NewIndex);
	__property System::UnicodeString Name = {read=FName, write=FName};
	__property TECDelphiComponent* Component = {read=FComponent, write=setComponent};
	__property TECComponentAlign Align = {read=FAlign, write=setAlign, nodefault};
	__property int Width = {read=getWidth, write=setWidth, nodefault};
	__property int Height = {read=getHeight, write=setHeight, nodefault};
	__property int Top = {read=getTop, write=setTop, nodefault};
	__property int Left = {read=getLeft, write=setLeft, nodefault};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property System::Uitypes::TColor Color = {read=getColor, write=setColor, nodefault};
	__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
public:
	/* TObject.Create */ inline __fastcall TECComponent() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TECComponent() { }
	
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TECComponents : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECComponent* operator[](int index) { return this->Component[index]; }
	
private:
	TNativeMapControl* FMap;
	System::Classes::TList* FList;
	int FTop;
	int FLeft;
	int FBottom;
	int FRight;
	int FMargin;
	void __fastcall doCheckAlign(System::TObject* Sender);
	void __fastcall doMove(TECComponent* const AComponent, const int NewIndex);
	void __fastcall setLeft(const int value);
	void __fastcall setTop(const int value);
	void __fastcall setBottom(const int value);
	void __fastcall setRight(const int value);
	void __fastcall setMargin(const int value);
	TECComponent* __fastcall getComponent(int index);
	
public:
	__fastcall TECComponents(TNativeMapControl* const Map);
	__fastcall virtual ~TECComponents();
	TECComponent* __fastcall Add(const System::UnicodeString AName, TECDelphiComponent* const AComponent, const TECComponentAlign AAlign);
	TECComponent* __fastcall Find(const System::UnicodeString AName);
	int __fastcall IndexOf(const System::UnicodeString AName);
	void __fastcall Remove(const System::UnicodeString AName)/* overload */;
	void __fastcall Remove(const int AIndex)/* overload */;
	void __fastcall Remove(TECComponent* const AComponent)/* overload */;
	void __fastcall Move(const int CurIndex, const int NewIndex);
	void __fastcall Clear();
	int __fastcall Count();
	__property TECComponent* Component[int index] = {read=getComponent/*, default*/};
	__property int Top = {read=FTop, write=setTop, nodefault};
	__property int Left = {read=FLeft, write=setLeft, nodefault};
	__property int Bottom = {read=FBottom, write=setBottom, nodefault};
	__property int Right = {read=FRight, write=setRight, nodefault};
	__property int Margin = {read=FMargin, write=setMargin, nodefault};
	__property TNativeMapControl* Map = {read=FMap};
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECMapComponents : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECComponent* operator[](int index) { return this->Component[index]; }
	
private:
	TNativeMapControl* FMap;
	TECComponents* FECComponents;
	Uecmaputil::TNativeMapObserver* FObserver;
	void __fastcall doTImagePaint(System::TObject* Sender);
	void __fastcall doCreateObserver();
	void __fastcall doFreeObserver();
	void __fastcall doFreeObserverIfNeeded();
	TECComponent* __fastcall getComponent(int index);
	
public:
	__fastcall TECMapComponents(TNativeMapControl* const Map);
	__fastcall virtual ~TECMapComponents();
	TECComponent* __fastcall Add(const System::UnicodeString AName, TECDelphiComponent* const AComponent, const TECComponentAlign AAlign)/* overload */;
	TECComponent* __fastcall Add(const int AMargin, const TECComponentAlign AAlign)/* overload */;
	int __fastcall IndexOf(const System::UnicodeString AName);
	void __fastcall Remove(const System::UnicodeString AName)/* overload */;
	void __fastcall Remove(const int AIndex)/* overload */;
	void __fastcall Remove(TECComponent* const AComponent)/* overload */;
	void __fastcall Move(const int CurIndex, const int NewIndex);
	void __fastcall Clear();
	int __fastcall Count();
	__property TECComponent* Component[int index] = {read=getComponent/*, default*/};
};

#pragma pack(pop)

enum DECLSPEC_DENUM TECCustomToolLayout : unsigned char { ctlVertical, ctlHorizontal };

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECCustomTool : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	TECComponent* FComponent;
	System::UnicodeString FName;
	TECCustomToolLayout FLayout;
	TECDelphiComponent* __fastcall getParent();
	System::UnicodeString __fastcall getSubName();
	void __fastcall setAlign(const TECComponentAlign value);
	TECComponentAlign __fastcall getAlign();
	int __fastcall getWidth();
	void __fastcall setWidth(const int value);
	int __fastcall getHeight();
	void __fastcall setHeight(const int value);
	bool __fastcall getVisible();
	void __fastcall setVisible(const bool value);
	System::Uitypes::TColor __fastcall getColor();
	void __fastcall setColor(const System::Uitypes::TColor value);
	
protected:
	virtual void __fastcall setLayout(const TECCustomToolLayout value);
	virtual void __fastcall doChange();
	
public:
	__fastcall virtual TECCustomTool(TNativeMapControl* Map)/* overload */;
	__fastcall virtual TECCustomTool(TNativeMapControl* Map, const System::UnicodeString AName)/* overload */;
	__fastcall virtual ~TECCustomTool();
	void __fastcall Add(const System::UnicodeString Name, TECDelphiComponent* const AComponent, const TECComponentAlign AAlign);
	__property TECComponentAlign Align = {read=getAlign, write=setAlign, nodefault};
	__property TECComponent* Component = {read=FComponent};
	__property TNativeMapControl* Map = {read=FMap};
	__property System::UnicodeString Name = {read=getSubName};
	__property TECCustomToolLayout Layout = {read=FLayout, write=setLayout, nodefault};
	__property int Width = {read=getWidth, write=setWidth, nodefault};
	__property int Height = {read=getHeight, write=setHeight, nodefault};
	__property System::Uitypes::TColor Color = {read=getColor, write=setColor, nodefault};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property TECDelphiComponent* Parent = {read=getParent};
};

#pragma pack(pop)

typedef System::DynamicArray<System::TDateTime> ArrayOfTime;

enum DECLSPEC_DENUM TLegendPosition : unsigned char { lpTopLeft, lpTopRight, lpBottomLeft, lpBottomRight, lpTopCenter, lpBottomCenter, lpLeftCenter, lpRightCenter };

class PASCALIMPLEMENTATION TOLCNativeMap : public Uecopenlocationcode::TecOpenLocationCode
{
	typedef Uecopenlocationcode::TecOpenLocationCode inherited;
	
private:
	TNativeMapControl* FMap;
	
public:
	void __fastcall MoveTo(const System::UnicodeString OpenLocationCode);
public:
	/* TecOpenLocationCode.Create */ inline __fastcall TOLCNativeMap() : Uecopenlocationcode::TecOpenLocationCode() { }
	
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TOLCNativeMap() { }
	
};


typedef void __fastcall (__closure *TOnMapLatLng)(System::TObject* Sender, const double Lat, const double Lng);

typedef void __fastcall (__closure *TOnBeforeUrl)(System::TObject* Sender, System::UnicodeString &Url);

typedef void __fastcall (__closure *TOnMapMouseWheel)(System::TObject* Sender, const int wheelDelta);

typedef void __fastcall (__closure *TOnClusterClick)(System::TObject* Sender, Uecnativeshape::TECCluster* const Cluster);

typedef void __fastcall (__closure *TOnErrorLoadTiles)(System::TObject* Sender, const int X, const int Y, const int Z, bool &ReloadTile);

typedef void __fastcall (__closure *TOnLoadGroup)(System::TObject* Sender, const System::UnicodeString GroupName, const bool FinishLoading);

typedef void __fastcall (__closure *TOnPanoramioClick)(System::TObject* Sender, Uecnativeshape::TECShape* const Item, const System::UnicodeString ownerId, const System::UnicodeString ownerName, const System::UnicodeString PhotoId, const System::UnicodeString PhotoDate, const System::UnicodeString PhotoTitle, const System::UnicodeString PhotoUrl, const System::UnicodeString copyright);

typedef void __fastcall (__closure *TOnShape)(Uecnativeshape::TECShape* Sender);

typedef void __fastcall (__closure *TOnMapPaint)(System::TObject* Sender, Uecgraphics::TECCanvas* const canvas);

typedef void __fastcall (__closure *TOnReticlePaint)(System::TObject* Sender, Uecgraphics::TECCanvas* const canvas, const int X, const int Y);

typedef void __fastcall (__closure *TOnMapSelectRect)(System::TObject* Sender, const double SWLat, const double SWLng, const double NELat, const double NELng);

typedef void __fastcall (__closure *TOnMapGeofence)(System::TObject* Sender, Uecnativeshape::TECBaseGeofence* const Geofence, Uecnativeshape::TECShape* const Item);

typedef void __fastcall (__closure *TOnFutureSnap)(System::TObject* Sender, Uecnativeshape::TECShape* const Guide, const double Lat, const double Lng);

typedef void __fastcall (__closure *TGetPolygoneFromID)(const __int64 Id, System::UnicodeString &JSON);

enum DECLSPEC_DENUM TLastAction : unsigned char { laNone, laZoomPlus, laZoomMoins, laPan, laTile, laAnimation, laZoomAnim };

enum DECLSPEC_DENUM TMapAnimation : unsigned char { maNone, maZoom, maPinchZoom, maPan };

enum DECLSPEC_DENUM TDragRect : unsigned char { drNone, drZoom, drSelect, drManualSelect };

enum DECLSPEC_DENUM TFrameKey : unsigned char { fkBasemap, fkShapestoDraw, fkShapesDraw, fkMapDraw };

enum DECLSPEC_DENUM TShapeDragMode : unsigned char { sdmShape, sdmMultiShapes };

enum DECLSPEC_DENUM TPositionOnMap : unsigned char { pmOutside, pmTopLeft, pmTop, pmTopRight, pmLeft, pmCenter, pmRight, pmBottomLeft, pmBottom, pmBottomRight };

typedef System::Word TECDirection;

enum DECLSPEC_DENUM TECScaleBarDivision : unsigned char { sbdNone, sbdOne, sbdFour };

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECScaleBar : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::TObject* FScaleMap;
	TNativeMapControl* FMap;
	void __fastcall setRadiusScale(const bool value);
	bool __fastcall getRadiusScale();
	void __fastcall setCompass(const bool value);
	bool __fastcall getCompass();
	void __fastcall setMaxWidth(const int value);
	int __fastcall getMaxWidth();
	void __fastcall setXMargin(const int value);
	void __fastcall setYMargin(const int value);
	void __fastcall setBarSize(const int value);
	void __fastcall setStyle(const Uecmaputil::TScaleBarStyle value);
	void __fastcall setPosition(const Uecmaputil::TAnchorPosition value);
	void __fastcall setShadow(const bool value);
	void __fastcall setColor(const System::Uitypes::TColor value);
	void __fastcall setSecondaryColor(const System::Uitypes::TColor value);
	void __fastcall setOpacity(const System::Byte value);
	void __fastcall setVisible(const bool value);
	Uecmaputil::TScaleBarStyle __fastcall getStyle();
	int __fastcall getXMargin();
	int __fastcall getYMargin();
	int __fastcall getBarSize();
	Uecmaputil::TAnchorPosition __fastcall getPosition();
	bool __fastcall getShadow();
	System::Uitypes::TColor __fastcall getColor();
	System::Uitypes::TColor __fastcall getSecondaryColor();
	System::Byte __fastcall getOpacity();
	bool __fastcall getVisible();
	Uecmaputil::TMesureSystem __fastcall getMesureSystem();
	System::UnicodeString __fastcall GetLegends(Uecmaputil::TMesureSystem i);
	int __fastcall GetWidths(Uecmaputil::TMesureSystem i);
	System::UnicodeString __fastcall GetScaleLegend();
	int __fastcall GetScaleWidth();
	int __fastcall GetScaleMeter();
	void __fastcall setMesureSystem(const Uecmaputil::TMesureSystem value);
	void __fastcall setDivision(const TECScaleBarDivision value);
	TECScaleBarDivision __fastcall getDivision();
	void __fastcall setFontSize(const int value);
	int __fastcall getFontSize();
	int __fastcall getHeight();
	Uecmaputil::TCompassTracker* __fastcall getCompassTracker(int index);
	
public:
	__fastcall TECScaleBar(TNativeMapControl* const AMap);
	__fastcall virtual ~TECScaleBar();
	int __fastcall AddTracker(const System::Uitypes::TColor AColor, const double AAngle)/* overload */;
	int __fastcall AddTracker(const System::Uitypes::TColor AColor, System::TObject* const AItem)/* overload */;
	void __fastcall RemoveTracker(const int index);
	int __fastcall FindTracker(System::TObject* const Item);
	int __fastcall TrackerCount();
	void __fastcall ClearTrackers();
	__property Uecmaputil::TAnchorPosition AnchorPosition = {read=getPosition, write=setPosition, nodefault};
	__property System::Uitypes::TColor Color = {read=getColor, write=setColor, nodefault};
	__property System::Uitypes::TColor SecondaryColor = {read=getSecondaryColor, write=setSecondaryColor, nodefault};
	__property TECScaleBarDivision Division = {read=getDivision, write=setDivision, nodefault};
	__property int FontSize = {read=getFontSize, write=setFontSize, nodefault};
	__property int MaxWidth = {read=getMaxWidth, write=setMaxWidth, nodefault};
	__property Uecmaputil::TScaleBarStyle Style = {read=getStyle, write=setStyle, nodefault};
	__property int ScaleWidth = {read=GetScaleWidth, nodefault};
	__property int ScaleMeter = {read=GetScaleMeter, nodefault};
	__property System::UnicodeString ScaleLegend = {read=GetScaleLegend};
	__property bool RadiusScale = {read=getRadiusScale, write=setRadiusScale, nodefault};
	__property bool Compass = {read=getCompass, write=setCompass, nodefault};
	__property int Widths[Uecmaputil::TMesureSystem i] = {read=GetWidths};
	__property System::UnicodeString Legends[Uecmaputil::TMesureSystem i] = {read=GetLegends};
	__property Uecmaputil::TCompassTracker* Trackers[int inddex] = {read=getCompassTracker};
	__property Uecmaputil::TMesureSystem MeasureSystem = {read=getMesureSystem, write=setMesureSystem, nodefault};
	__property bool Shadow = {read=getShadow, write=setShadow, nodefault};
	__property int Thickness = {read=getBarSize, write=setBarSize, nodefault};
	__property int Height = {read=getHeight, nodefault};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property int XMargin = {read=getXMargin, write=setXMargin, nodefault};
	__property int YMargin = {read=getYMargin, write=setYMargin, nodefault};
	__property System::Byte Opacity = {read=getOpacity, write=setOpacity, nodefault};
};

#pragma pack(pop)

typedef void __fastcall (__closure *TOnFreeHandPermission)(System::TObject* Sender, bool &valid);

class PASCALIMPLEMENTATION TECNativeFreeHand : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uecnativeshape::TECShapesList* FSelectionList;
	Uecnativeshape::TOnShapeFilter FSelectionFilter;
	System::Uitypes::TMouseButton FMouseButton;
	TOnFreeHandPermission FOnPermission;
	System::Classes::TNotifyEvent FOnSelection;
	System::Classes::TNotifyEvent FOnValidSelection;
	System::Classes::TNotifyEvent FOnDraw;
	Uecnativeshape::TECShapePolygone* FPoly;
	Uecnativeshape::TECShapeLine* FLine;
	Uecnativeshape::TECShape* FPrevFocus;
	Uecnativeshape::TECShape* FCursor;
	Uecnativeshape::TECShapes* FGroup;
	bool FAutomaticMapMovement;
	bool FAttached;
	Uecmaputil::TNativeMapObserver* FObserver;
	TNativeMapControl* FMap;
	bool FisSelection;
	void __fastcall setCursor(Uecnativeshape::TECShape* const value);
	void __fastcall WM_ShapeMouseDown(System::TObject* Sender);
	void __fastcall WM_ShapeMouseUp(System::TObject* Sender);
	void __fastcall setDraw(const bool value);
	bool __fastcall getDraw();
	void __fastcall setSelection(const bool value);
	bool __fastcall getSelection();
	void __fastcall CreateCursor();
	
public:
	__fastcall TECNativeFreeHand(TNativeMapControl* Map);
	__fastcall virtual ~TECNativeFreeHand();
	__property bool AutomaticMapMovement = {read=FAutomaticMapMovement, write=FAutomaticMapMovement, nodefault};
	__property bool Draw = {read=getDraw, write=setDraw, nodefault};
	__property bool Selection = {read=getSelection, write=setSelection, nodefault};
	__property System::Uitypes::TMouseButton MouseButton = {read=FMouseButton, write=FMouseButton, nodefault};
	__property Uecnativeshape::TECShape* Cursor = {read=FCursor, write=setCursor};
	__property Uecnativeshape::TECShapeLine* Line = {read=FLine};
	__property Uecnativeshape::TECShapePolygone* PolygoneSelection = {read=FPoly};
	__property Uecnativeshape::TECShapesList* SelectionList = {read=FSelectionList};
	__property Uecnativeshape::TOnShapeFilter SelectionFilter = {read=FSelectionFilter, write=FSelectionFilter};
	Uecnativeshape::TECShapeLine* __fastcall AddLine(const System::UnicodeString GroupName = System::UnicodeString());
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const System::UnicodeString GroupName = System::UnicodeString());
	__property System::Classes::TNotifyEvent OnValidSelection = {read=FOnValidSelection, write=FOnValidSelection};
	__property System::Classes::TNotifyEvent OnSelection = {read=FOnSelection, write=FOnSelection};
	__property System::Classes::TNotifyEvent OnDraw = {read=FOnDraw, write=FOnDraw};
	__property TOnFreeHandPermission OnPermission = {read=FOnPermission, write=FOnPermission};
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TECNativeGeoHash : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	
public:
	__fastcall TECNativeGeoHash(TNativeMapControl* Map);
	void __fastcall Decode(const System::UnicodeString geohash, double &latitude, double &longitude);
	System::UnicodeString __fastcall Encode(const double latitude, const double longitude, const int precision = 0xc);
	Uecgeohash::TCardinalGeoHash __fastcall CardinalPoints(const System::UnicodeString geohash);
	void __fastcall MoveTo(const System::UnicodeString geohash);
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TECNativeGeoHash() { }
	
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECOverlayTileLayer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	Uecnativetileserver::TNativeMapServer* FNativeMapServer;
	System::Byte FMinZoom;
	System::Byte FMaxZoom;
	int FDrawTile;
	int FConnexionTimeOut;
	int FResponseTimeOut;
	int FZIndex;
	System::UnicodeString FUserAgent;
	bool FVisible;
	bool FWaitForComplete;
	bool FScreenComplete;
	System::UnicodeString __fastcall getTimeWMS();
	void __fastcall setTimeWMS(const System::UnicodeString value);
	System::UnicodeString __fastcall getVersionWMS();
	void __fastcall setVersionWMS(const System::UnicodeString value);
	System::UnicodeString __fastcall getName();
	void __fastcall setName(const System::UnicodeString value);
	System::UnicodeString __fastcall getMapStyle();
	void __fastcall setMapStyle(const System::UnicodeString value);
	System::UnicodeString __fastcall getLocalCache();
	void __fastcall setLocalCache(const System::UnicodeString value);
	double __fastcall getOpacity();
	void __fastcall setOpacity(const double value);
	void __fastcall setTileFilename(const Uecmaputil::TOnMapServerTilePath value);
	void __fastcall setTileStream(const Uecmaputil::TOnMapServerTileStream value);
	Uecmaputil::TOnMapServerTilePath __fastcall getTileFilename();
	Uecmaputil::TOnMapServerTileStream __fastcall getTileStream();
	void __fastcall SetTileServer(const Uecmaputil::TTileServer value);
	Uecmaputil::TTileServer __fastcall getTileServer();
	void __fastcall setConnexionTimout(const int value);
	void __fastcall setResponseTimout(const int value);
	void __fastcall setUserAgent(const System::UnicodeString value);
	double __fastcall getMaxDayInCache();
	void __fastcall setMaxDayInCache(const double value);
	void __fastcall setZindex(const int value);
	void __fastcall setVisible(const bool value);
	
public:
	__fastcall TECOverlayTileLayer(TNativeMapControl* Map);
	__fastcall virtual ~TECOverlayTileLayer();
	void __fastcall WMS_Legend(const bool show, const TLegendPosition position = (TLegendPosition)(0x1), const System::Byte fopacity = (System::Byte)(0x64), const int XMargin = 0x7, const int YMargin = 0x7);
	void __fastcall AddWMSLayer(const System::UnicodeString Url, const System::UnicodeString layers, const int ESPG = 0x10e6);
	void __fastcall DeleteWMSLayer();
	int __fastcall IndexOf();
	void __fastcall ExChange(const int value);
	void __fastcall MoveTo(const int value);
	__property System::UnicodeString LocalCache = {read=getLocalCache, write=setLocalCache};
	__property System::UnicodeString Name = {read=getName, write=setName};
	__property System::UnicodeString WMS_Time = {read=getTimeWMS, write=setTimeWMS};
	__property System::UnicodeString WMS_Version = {read=getVersionWMS, write=setVersionWMS};
	__property System::UnicodeString MapStyle = {read=getMapStyle, write=setMapStyle};
	__property Uecnativetileserver::TNativeMapServer* MapServer = {read=FNativeMapServer};
	__property System::Byte MaxZoom = {read=FMaxZoom, write=FMaxZoom, nodefault};
	__property System::Byte MinZoom = {read=FMinZoom, write=FMinZoom, nodefault};
	__property double MaxDayInCache = {read=getMaxDayInCache, write=setMaxDayInCache};
	__property double Opacity = {read=getOpacity, write=setOpacity};
	__property Uecmaputil::TTileServer TileServer = {read=getTileServer, write=SetTileServer, nodefault};
	__property Uecmaputil::TOnMapServerTilePath TileFilename = {read=getTileFilename, write=setTileFilename};
	__property Uecmaputil::TOnMapServerTileStream TileStream = {read=getTileStream, write=setTileStream};
	__property int ConnexionTimeOut = {read=FConnexionTimeOut, write=setConnexionTimout, nodefault};
	__property int ResponseTimeOut = {read=FResponseTimeOut, write=setResponseTimout, nodefault};
	__property System::UnicodeString USerAgent = {read=FUserAgent, write=setUserAgent};
	__property bool Visible = {read=FVisible, write=setVisible, nodefault};
	__property int DrawTile = {read=FDrawTile, write=FDrawTile, nodefault};
	__property bool WaitForComplete = {read=FWaitForComplete, write=FWaitForComplete, nodefault};
	__property bool ScreenComplete = {read=FScreenComplete, write=FScreenComplete, nodefault};
	__property int ZIndex = {read=FZIndex, write=setZindex, nodefault};
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECVaneTiles : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::UnicodeString FUrlEndPoint;
	System::UnicodeString FApiKey;
	System::UnicodeString FSelect;
	System::UnicodeString FFrom;
	System::UnicodeString FWhere;
	System::UnicodeString FOrder;
	System::UnicodeString FOp;
	System::UnicodeString FColor;
	
public:
	__fastcall TECVaneTiles(const System::UnicodeString key);
	System::UnicodeString __fastcall getTiles(const int X, const int Y, const int Z);
	__property System::UnicodeString APiKey = {read=FApiKey, write=FApiKey};
	__property System::UnicodeString Select = {read=FSelect, write=FSelect};
	__property System::UnicodeString From = {read=FFrom, write=FFrom};
	__property System::UnicodeString Where = {read=FWhere, write=FWhere};
	__property System::UnicodeString Op = {read=FOp, write=FOp};
	__property System::UnicodeString Order = {read=FOrder, write=FOrder};
	__property System::UnicodeString Color = {read=FColor, write=FColor};
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TECVaneTiles() { }
	
};

#pragma pack(pop)

enum DECLSPEC_DENUM TOWTileServer : unsigned char { owPrecipitation, owSnow, owClouds, owPressure, owTemp, owWind };

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECOpenWeatherTilesLayer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::UnicodeString FKey;
	System::UnicodeString FUrl;
	TNativeMapControl* FMap;
	Uecmaputil::TNativeMapObserver* FObserver;
	void __fastcall doOnMapFree(System::TObject* Sender);
	void __fastcall getPrecipitation(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall getSnow(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall getClouds(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall getPressure(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall getTemp(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall getWind(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall setMap(TNativeMapControl* const MapValue);
	System::UnicodeString __fastcall _name(const TOWTileServer value);
	
public:
	__fastcall TECOpenWeatherTilesLayer(TNativeMapControl* const MapValue);
	__fastcall virtual ~TECOpenWeatherTilesLayer();
	TECOverlayTileLayer* __fastcall Add(const TOWTileServer Layer);
	TECOverlayTileLayer* __fastcall Get(const TOWTileServer Layer);
	void __fastcall Remove(const TOWTileServer Layer);
	void __fastcall RemoveAll();
	__property TNativeMapControl* Map = {read=FMap, write=setMap};
	__property System::UnicodeString key = {read=FKey, write=FKey};
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TCustomTileCache : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TECNativeMap* FMap;
	Uecnativetileserver::TNativeMapServer* FServer;
	Uecmaputil::TNativeMapObserver* FObserver;
	void __fastcall setServer(Uecnativetileserver::TNativeMapServer* const AValue);
	
protected:
	virtual void __fastcall doChangeTileServer(System::TObject* Sender);
	virtual void __fastcall doSaveLocalStream(System::TObject* const Sender, const int X, const int Y, const int Z, System::Classes::TMemoryStream* const stream, bool &AHandled);
	virtual void __fastcall doLoadLocalStream(System::TObject* const Sender, const int X, const int Y, const int Z, System::Classes::TMemoryStream* const stream, bool &AHandled);
	
public:
	__fastcall virtual TCustomTileCache(TECNativeMap* const AMap, Uecnativetileserver::TNativeMapServer* const AServer);
	__fastcall virtual ~TCustomTileCache();
	__property TECNativeMap* Map = {read=FMap};
	__property Uecnativetileserver::TNativeMapServer* Server = {read=FServer, write=setServer};
};

#pragma pack(pop)

class PASCALIMPLEMENTATION TECHeatmapLayer : public System::TObject
{
	typedef System::TObject inherited;
	
	
private:
	typedef System::DynamicArray<double> _TECHeatmapLayer__1;
	
	
private:
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecnativeshape::TECShapes* FShapes;
	Uecnativeshape::TECShapeMarker* FHeatMarker;
	TECNativeMap* FMap;
	System::Classes::TNotifyEvent FOnChangeZoom;
	System::Classes::TNotifyEvent FOnUpdate;
	double FNELatitude;
	double FNELongitude;
	double FSWLatitude;
	double FSWLongitude;
	_TECHeatmapLayer__1 FHeatData;
	Uecheatmap::TecHeatMap* FHeatmap;
	System::Byte FMinZoom;
	System::Byte FMaxZoom;
	double FMaxValue;
	int FReelLength;
	int FCount;
	bool FChange;
	bool FAutomaticUpdate;
	bool FUpdateWhenReady;
	bool FShow;
	bool FVisible;
	unsigned FLastUpdate;
	void __fastcall doOnMapChangeBounds(System::TObject* Sender);
	void __fastcall doOnMapChangeZoom(System::TObject* Sender);
	void __fastcall doOnMapEndMove(System::TObject* Sender);
	void __fastcall doOnMapAnimation(System::TObject* Sender);
	void __fastcall doOnMapFree(System::TObject* Sender);
	void __fastcall doOnHeatUpdate(System::TObject* Sender);
	void __fastcall setShow(const bool value);
	void __fastcall setVisible(const bool value);
	bool __fastcall getVisible();
	System::Byte __fastcall getOpacity();
	void __fastcall setOpacity(const System::Byte value);
	int __fastcall getGroupZindex();
	void __fastcall setGroupZindex(const int value);
	int __fastcall getZindex();
	void __fastcall setZindex(const int value);
	Uecheatmap::THeatPalette* __fastcall getPalette();
	bool __fastcall getPointIsDisc();
	void __fastcall setPointIsDisc(const bool value);
	int __fastcall getRadius();
	void __fastcall setRadius(const int value);
	void __fastcall setMinZoom(const System::Byte value);
	void __fastcall setMaxZoom(const System::Byte value);
	bool __fastcall getReady();
	void __fastcall doPaletteChange(System::TObject* Sender);
	void __fastcall getBounds();
	
public:
	__fastcall TECHeatmapLayer(TECNativeMap* _FMap);
	__fastcall virtual ~TECHeatmapLayer();
	void __fastcall Clear();
	void __fastcall fitBounds();
	void __fastcall Add(const double latitude, const double longitude, const double value = 1.000000E+00);
	void __fastcall Delete(const double latitude, const double longitude, const double value = 1.000000E+00)/* overload */;
	void __fastcall Delete(const int index)/* overload */;
	void __fastcall setSize(const int AValue);
	int __fastcall getValue(const double Lat, const double Lng);
	void __fastcall Update();
	__property Uecheatmap::THeatPalette* Palette = {read=getPalette};
	__property bool AutomaticUpdate = {read=FAutomaticUpdate, write=FAutomaticUpdate, nodefault};
	__property bool Ready = {read=getReady, nodefault};
	__property TECNativeMap* Map = {read=FMap};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property bool show = {read=FShow, write=setShow, nodefault};
	__property bool PointIsDisc = {read=getPointIsDisc, write=setPointIsDisc, nodefault};
	__property int Radius = {read=getRadius, write=setRadius, nodefault};
	__property System::Byte MinZoom = {read=FMinZoom, write=setMinZoom, nodefault};
	__property System::Byte MaxZoom = {read=FMaxZoom, write=setMaxZoom, nodefault};
	__property System::Byte Opacity = {read=getOpacity, write=setOpacity, nodefault};
	__property int GroupZIndex = {read=getGroupZindex, write=setGroupZindex, nodefault};
	__property int ZIndex = {read=getZindex, write=setZindex, nodefault};
	__property System::Classes::TNotifyEvent OnUpdate = {read=FOnUpdate, write=FOnUpdate};
	__property System::Classes::TNotifyEvent OnChangeZoom = {read=FOnChangeZoom, write=FOnChangeZoom};
};


class PASCALIMPLEMENTATION TECNativeLayer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecnativeshape::TECShapes* FShapes;
	TNativeMapControl* FMap;
	TECBBoxDataCacheList* FCacheBox;
	Uecnativeshape::TECShapeInfoWindow* FInfoWindows;
	int FMaxShapes;
	unsigned FLastMove;
	unsigned FMinTiming;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeRightClick;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeClick;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeMove;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeDrag;
	System::Classes::TNotifyEvent FOnPathChange;
	System::Classes::TNotifyEvent FOnDescription;
	System::Classes::TNotifyEvent FOnhint;
	System::Classes::TNotifyEvent FOnMouseClick;
	System::Classes::TNotifyEvent FOnMouseMove;
	System::Classes::TNotifyEvent FOnMapLoad;
	System::Classes::TNotifyEvent FOnMapHiResChange;
	TOnMapPaint FOnShapesPaint;
	TOnMapPaint FOnMapPaint;
	System::Byte __fastcall getMinZoom();
	System::Byte __fastcall getMaxZoom();
	void __fastcall setMinZoom(System::Byte value);
	void __fastcall setMaxZoom(System::Byte value);
	virtual int __fastcall getZindex();
	virtual void __fastcall setZindex(int value);
	virtual System::Byte __fastcall getOpacity();
	virtual void __fastcall setOpacity(System::Byte value);
	bool __fastcall getClickable();
	void __fastcall setClickable(bool value);
	bool __fastcall getVisible();
	void __fastcall setMaxShapes(const int value);
	void __fastcall _doOnMapEndMove(System::TObject* Sender);
	void __fastcall _doOnMapChangeBounds(System::TObject* Sender);
	void __fastcall _doOnMapChangeZoom(System::TObject* Sender);
	void __fastcall _doOnMapCompleteTiles(System::TObject* Sender);
	bool __fastcall getIsMoving();
	Uecnativeshape::TECShapeInfoWindow* __fastcall getInfoWindow();
	
protected:
	virtual void __fastcall setVisible(const bool value);
	virtual void __fastcall doOnMapEndMove(System::TObject* Sender);
	virtual void __fastcall doOnMapCompleteTiles(System::TObject* Sender);
	virtual void __fastcall doOnMapChangeBounds(System::TObject* Sender);
	virtual void __fastcall doOnMapChangeZoom(System::TObject* Sender);
	virtual void __fastcall doOnMapFree(System::TObject* Sender);
	virtual void __fastcall doOnShapeClick(System::TObject* Sender);
	virtual void __fastcall doOnShapeDescription(System::TObject* Sender);
	virtual void __fastcall doOnShapeHint(System::TObject* Sender);
	virtual void __fastcall doOnShapeMove(System::TObject* Sender);
	virtual void __fastcall doOnShapeDrag(System::TObject* Sender);
	virtual void __fastcall doOnShapeRightClick(System::TObject* Sender);
	virtual void __fastcall doOnMapMouseMove(System::TObject* Sender);
	virtual void __fastcall doOnMapMouseClick(System::TObject* Sender);
	virtual void __fastcall doOnMapLoad(System::TObject* Sender);
	virtual void __fastcall doOnMapPaint(System::TObject* Sender);
	virtual void __fastcall doOnShapesPaint(System::TObject* Sender);
	virtual void __fastcall doOnMapHiResChange(System::TObject* Sender);
	virtual void __fastcall doOnPathChange(System::TObject* Sender);
	
public:
	__fastcall virtual TECNativeLayer(TNativeMapControl* _FMap, const System::UnicodeString Name);
	__fastcall virtual ~TECNativeLayer();
	virtual void __fastcall Clear();
	void __fastcall OpenWindow(double Lat, double Lng, const System::UnicodeString Content, int Width = 0x140);
	void __fastcall CloseWindow();
	__property TECBBoxDataCacheList* CacheBox = {read=FCacheBox};
	__property Uecnativeshape::TECShapeInfoWindow* InfoWindow = {read=getInfoWindow};
	__property bool isMoving = {read=getIsMoving, nodefault};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeClick = {read=FOnShapeClick, write=FOnShapeClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeMove = {read=FOnShapeMove, write=FOnShapeMove};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeDrag = {read=FOnShapeDrag, write=FOnShapeDrag};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeRightClick = {read=FOnShapeRightClick, write=FOnShapeRightClick};
	__property System::Classes::TNotifyEvent OnMouseMove = {read=FOnMouseMove, write=FOnMouseMove};
	__property System::Classes::TNotifyEvent OnMouseClick = {read=FOnMouseClick, write=FOnMouseClick};
	__property System::Classes::TNotifyEvent OnMapHiResChange = {read=FOnMapHiResChange, write=FOnMapHiResChange};
	__property System::Classes::TNotifyEvent OnPathChange = {read=FOnPathChange, write=FOnPathChange};
	__property System::Classes::TNotifyEvent OnMapLoad = {read=FOnMapLoad, write=FOnMapLoad};
	__property TOnMapPaint OnMapPaint = {read=FOnMapPaint, write=FOnMapPaint};
	__property TOnMapPaint OnShapesPaint = {read=FOnShapesPaint, write=FOnShapesPaint};
	__property System::Classes::TNotifyEvent OnMapShapeDescription = {read=FOnDescription, write=FOnDescription};
	__property System::Classes::TNotifyEvent OnMapShapehint = {read=FOnhint, write=FOnhint};
	__property TNativeMapControl* Map = {read=FMap};
	__property Uecnativeshape::TECShapes* Shapes = {read=FShapes};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property int MaxShapes = {read=FMaxShapes, write=setMaxShapes, nodefault};
	__property System::Byte MaxZoom = {read=getMaxZoom, write=setMaxZoom, nodefault};
	__property System::Byte MinZoom = {read=getMinZoom, write=setMinZoom, nodefault};
	__property int ZIndex = {read=getZindex, write=setZindex, nodefault};
	__property bool Clickable = {read=getClickable, write=setClickable, nodefault};
	__property System::Byte Opacity = {read=getOpacity, write=setOpacity, nodefault};
	__property unsigned MinTiming = {read=FMinTiming, write=FMinTiming, nodefault};
	__property Uecmaputil::TNativeMapObserver* Observer = {read=FObserver};
};


class PASCALIMPLEMENTATION TECTimeDimension : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	bool FLoop;
	bool FPause;
	bool FEnabled;
	int FCurrentStep;
	System::TDateTime FStartTime;
	System::TDateTime FEndTime;
	System::TDateTime FCurrentTime;
	System::TDateTime FEndTimeOver;
	System::UnicodeString FTime;
	__int64 FPeriodMillisecondes;
	__int64 FTransitionMillisecondes;
	__int64 FLastTransition;
	void __fastcall setStartTime(const System::TDateTime value);
	void __fastcall setEndTime(const System::TDateTime value);
	
public:
	ArrayOfTime Times;
	int __fastcall AddTime(const System::TDateTime *aTimes, const System::NativeInt aTimes_High);
	__property bool Enabled = {read=FEnabled, nodefault};
	__property bool Pause = {read=FPause, nodefault};
	__property bool Loop = {read=FLoop, write=FLoop, nodefault};
	__property System::TDateTime StartTime = {read=FStartTime, write=setStartTime};
	__property System::TDateTime EndTime = {read=FEndTime, write=setEndTime};
	__property System::TDateTime CurrentTime = {read=FCurrentTime};
	__property int CurrentStep = {read=FCurrentStep, nodefault};
	__property System::UnicodeString Time = {read=FTime};
	__property __int64 PeriodMillisecondes = {read=FPeriodMillisecondes, write=FPeriodMillisecondes};
	__property __int64 TransitionMillisecondes = {read=FTransitionMillisecondes, write=FTransitionMillisecondes};
public:
	/* TObject.Create */ inline __fastcall TECTimeDimension() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TECTimeDimension() { }
	
};


struct DECLSPEC_DRECORD TECRecordLayer
{
public:
	System::UnicodeString Name;
	System::UnicodeString Title;
	double NELat;
	double NELng;
	double SWLat;
	double SWLng;
};


typedef System::DynamicArray<TECRecordLayer> TAECRecordLayers;

class PASCALIMPLEMENTATION TECOverlayWMS : public TECNativeLayer
{
	typedef TECNativeLayer inherited;
	
private:
	double NELat;
	double NELng;
	double SWLat;
	double SWLng;
	Uecnativeshape::TECShapeMarker* FOverlay;
	Uecnativetileserver::TWMS* FWMS;
	System::UnicodeString FName;
	bool FLinkedToMap;
	System::Byte fopacity;
	System::Classes::TNotifyEvent FOnBeforeLoad;
	System::Classes::TNotifyEvent FOnLoad;
	void __fastcall doUpdate();
	void __fastcall setLinkedToMap(const bool value);
	void __fastcall CreateMarker();
	int __fastcall getEPSG();
	void __fastcall setEPSG(const int value);
	System::UnicodeString __fastcall getLayers();
	void __fastcall setLayers(const System::UnicodeString value);
	System::UnicodeString __fastcall getServer();
	void __fastcall setServer(const System::UnicodeString value);
	System::UnicodeString __fastcall getStyle();
	void __fastcall setStyle(const System::UnicodeString value);
	System::UnicodeString __fastcall getVersion();
	void __fastcall setVersion(const System::UnicodeString value);
	System::UnicodeString __fastcall getTime();
	void __fastcall setTime(const System::UnicodeString value);
	virtual System::Byte __fastcall getOpacity();
	virtual void __fastcall setOpacity(System::Byte value);
	void __fastcall doOnLoad(System::TObject* Sender);
	
protected:
	virtual void __fastcall setVisible(const bool value);
	virtual void __fastcall doOnMapEndMove(System::TObject* Sender);
	virtual void __fastcall doOnMapChangeZoom(System::TObject* Sender);
	
public:
	__fastcall TECOverlayWMS(TNativeMapControl* _FMap, const System::UnicodeString Url, const System::UnicodeString layers, const System::UnicodeString Name);
	__fastcall virtual ~TECOverlayWMS();
	void __fastcall Bounds(const double ANELat, const double ANELng, const double ASWLat, const double ASWLng);
	__property bool LinkToMapArea = {read=FLinkedToMap, write=setLinkedToMap, nodefault};
	__property int EPSG = {read=getEPSG, write=setEPSG, nodefault};
	__property System::UnicodeString layers = {read=getLayers, write=setLayers};
	__property System::UnicodeString Server = {read=getServer, write=setServer};
	__property System::UnicodeString Style = {read=getStyle, write=setStyle};
	__property System::UnicodeString Version = {read=getVersion, write=setVersion};
	__property System::UnicodeString Time = {read=getTime, write=setTime};
	__property System::UnicodeString Name = {read=FName};
	__property System::Classes::TNotifyEvent OnBeforeLoad = {read=FOnBeforeLoad, write=FOnBeforeLoad};
	__property System::Classes::TNotifyEvent OnLoad = {read=FOnLoad, write=FOnLoad};
};


class PASCALIMPLEMENTATION TECNativeWMS : public TECNativeLayer
{
	typedef TECNativeLayer inherited;
	
private:
	TECTimeDimension* FTimeDimension;
	TAECRecordLayers FLayersList;
	bool FEnabled;
	System::Byte FLoadingPercent;
	double fopacity;
	double FMax_NELat;
	double FMax_NELng;
	double FMin_SWLat;
	double FMin_SWLng;
	int FZIndex;
	int FESPG;
	System::UnicodeString FSESPG;
	System::UnicodeString FLayers;
	System::UnicodeString FUrl;
	System::UnicodeString FName;
	TECOverlayTileLayer* FOverlay;
	System::UnicodeString FTime;
	System::UnicodeString FParams;
	System::UnicodeString FCRS;
	System::UnicodeString FVersion;
	System::UnicodeString FStyles;
	bool FWaitComplete;
	bool FLegend;
	int FLegendXMargin;
	int FLegendYMargin;
	System::Byte FOpacityLegend;
	TLegendPosition FLegendPosition;
	System::UnicodeString FCapabilities;
	System::UnicodeString FFeatureInfo;
	void __fastcall CheckTimeDimension();
	void __fastcall doUpdate();
	void __fastcall setESPG(const int value);
	void __fastcall setLegendXMargin(const int value);
	void __fastcall setLegendYMargin(const int value);
	void __fastcall setLegend(const bool value);
	void __fastcall setStyles(const System::UnicodeString value);
	void __fastcall setTime(const System::UnicodeString value);
	void __fastcall setVersion(const System::UnicodeString value);
	void __fastcall setUrl(const System::UnicodeString value);
	void __fastcall setLayers(const System::UnicodeString value);
	void __fastcall setOpacityLegend(const System::Byte value);
	void __fastcall setLegendPosition(const TLegendPosition value);
	void __fastcall setEnabledTimeDimension(const bool value);
	bool __fastcall getEnabledTimeDimension();
	void __fastcall setPauseTimeDimension(const bool value);
	bool __fastcall getPauseTimeDimension();
	void __fastcall doOnCapabilities(System::TObject* Sender);
	void __fastcall doOnFeatureInfo(System::TObject* Sender);
	void __fastcall SetToCapabilities();
	bool __fastcall getEnabled();
	virtual int __fastcall getZindex();
	virtual void __fastcall setZindex(int value);
	HIDESBASE double __fastcall getOpacity();
	HIDESBASE void __fastcall setOpacity(double value);
	void __fastcall setStepTimeDimension(const int NewStep);
	int __fastcall getStepTimeDimension();
	void __fastcall getAllLayers();
	
protected:
	virtual void __fastcall setVisible(const bool value);
	virtual void __fastcall doOnMapEndMove(System::TObject* Sender);
	
public:
	__fastcall TECNativeWMS(TNativeMapControl* _FMap, const System::UnicodeString Url, const System::UnicodeString layers, const System::UnicodeString Name);
	__fastcall virtual ~TECNativeWMS();
	void __fastcall Refresh();
	void __fastcall StartTimeDimension();
	void __fastcall EndTimeDimension();
	void __fastcall NextTimeDimension();
	void __fastcall PrevTimeDimension();
	void __fastcall BoundingBox(const double NELat = 8.505113E+01, const double NELng = 1.800000E+02, const double SWLat = -8.505113E+01, const double SWLng = -1.800000E+02);
	void __fastcall GetCapabilities();
	void __fastcall GetFeatureInfo();
	__property int ESPG = {read=FESPG, write=setESPG, nodefault};
	__property System::UnicodeString layers = {read=FLayers, write=setLayers};
	__property System::UnicodeString Styles = {read=FStyles, write=setStyles};
	__property System::UnicodeString Time = {read=FTime, write=setTime};
	__property bool Legend = {read=FLegend, write=setLegend, nodefault};
	__property System::UnicodeString Url = {read=FUrl, write=setUrl};
	__property System::UnicodeString Version = {read=FVersion, write=setVersion};
	__property bool Enabled = {read=getEnabled, nodefault};
	__property TAECRecordLayers LayersList = {read=FLayersList};
	__property System::Byte LegendOpacity = {read=FOpacityLegend, write=setOpacityLegend, nodefault};
	__property TLegendPosition LegendPosition = {read=FLegendPosition, write=setLegendPosition, nodefault};
	__property int LegendXMargin = {read=FLegendXMargin, write=setLegendXMargin, nodefault};
	__property int LegendYMargin = {read=FLegendYMargin, write=setLegendYMargin, nodefault};
	__property System::UnicodeString Name = {read=FName};
	__property double Opacity = {read=getOpacity, write=setOpacity};
	__property TECTimeDimension* TimeDimension = {read=FTimeDimension};
	__property bool EnabledTimeDimension = {read=getEnabledTimeDimension, write=setEnabledTimeDimension, nodefault};
	__property bool PauseTimeDimension = {read=getPauseTimeDimension, write=setPauseTimeDimension, nodefault};
	__property int StepTimeDimension = {read=getStepTimeDimension, write=setStepTimeDimension, nodefault};
	__property System::Byte LoadingPercentTimeDimension = {read=FLoadingPercent, nodefault};
	__property bool WaitComplete = {read=FWaitComplete, write=FWaitComplete, nodefault};
	__property System::UnicodeString Capabilities = {read=FCapabilities};
	__property System::UnicodeString FeatureInfo = {read=FFeatureInfo};
	__property double NELat = {read=FMax_NELat};
	__property double NELng = {read=FMax_NELng};
	__property double SWLat = {read=FMin_SWLat};
	__property double SWLng = {read=FMin_SWLng};
};


struct DECLSPEC_DRECORD TECRecordFeature
{
public:
	System::UnicodeString FType;
	System::UnicodeString Name;
	System::UnicodeString Title;
	double NELat;
	double NELng;
	double SWLat;
	double SWLng;
};


typedef System::DynamicArray<TECRecordFeature> TAECRecordFeatures;

class PASCALIMPLEMENTATION TECNativeWFS : public TECNativeLayer
{
	typedef TECNativeLayer inherited;
	
private:
	double FMax_NELat;
	double FMax_NELng;
	double FMin_SWLat;
	double FMin_SWLng;
	TECBBoxDataCacheList* FCache;
	int FMaxFeature;
	int FESPG;
	bool FEnabled;
	TAECRecordFeatures FFeatures;
	System::UnicodeString FCapabilities;
	System::UnicodeString FDescribeFeatureType;
	System::UnicodeString FSESPG;
	System::UnicodeString FRequest;
	System::UnicodeString FTypeNames;
	System::UnicodeString FUrl;
	System::UnicodeString FName;
	bool FFlagDestroy;
	bool FOrderLatLng;
	System::UnicodeString FTime;
	System::UnicodeString FParams;
	System::UnicodeString FCRS;
	System::UnicodeString FTYPES;
	System::UnicodeString FCount;
	System::UnicodeString FVersion;
	System::UnicodeString FStyles;
	System::UnicodeString FPropertyName;
	bool FReQuery;
	bool FBeginQuery;
	bool FValidRequest;
	double FSWLat;
	double FSWLng;
	double FNELat;
	double FNELng;
	__int64 FLastRefresh;
	bool FAutoRefresh;
	bool FRoundBoxToTiles;
	void __fastcall doUpdate();
	void __fastcall doQuery();
	void __fastcall getAllFeatures();
	void __fastcall setPropertyName(const System::UnicodeString value);
	void __fastcall setMaxFeature(const int value);
	void __fastcall setESPG(const int value);
	void __fastcall setRoundBoxToTiles(const bool value);
	void __fastcall setStyles(const System::UnicodeString value);
	void __fastcall setTime(const System::UnicodeString value);
	void __fastcall setAutoRefresh(const bool value);
	void __fastcall setOrderLatLng(const bool value);
	void __fastcall setParams(const System::UnicodeString value);
	void __fastcall setVersion(const System::UnicodeString value);
	void __fastcall setUrl(const System::UnicodeString value);
	void __fastcall setTypeNames(const System::UnicodeString value);
	bool __fastcall doGetFeature(const double NELat, const double NELng, const double SWLat, const double SWLng, const int Width, const int Height);
	void __fastcall doOnLoad(System::TObject* Sender);
	void __fastcall SetToCapabilities();
	bool __fastcall getEnabled();
	void __fastcall doOnCapabilities(System::TObject* Sender);
	void __fastcall doOnDescribeFeatureType(System::TObject* Sender);
	
protected:
	virtual void __fastcall doOnMapEndMove(System::TObject* Sender);
	
public:
	__fastcall TECNativeWFS(TNativeMapControl* _FMap, const System::UnicodeString Url, const System::UnicodeString Typenames, const System::UnicodeString Name);
	__fastcall virtual ~TECNativeWFS();
	void __fastcall BoundingBox(const double NELat = 8.505113E+01, const double NELng = 1.800000E+02, const double SWLat = -8.505113E+01, const double SWLng = -1.800000E+02);
	void __fastcall GetCapabilities();
	void __fastcall getDescribeFeatureType();
	void __fastcall GetFeature(const double NELat, const double NELng, const double SWLat, const double SWLng)/* overload */;
	void __fastcall GetFeature(const System::UnicodeString ATypeNames = System::UnicodeString())/* overload */;
	__property bool AutoRefresh = {read=FAutoRefresh, write=setAutoRefresh, nodefault};
	__property bool Enabled = {read=getEnabled, nodefault};
	__property int MaxFeature = {read=FMaxFeature, write=setMaxFeature, nodefault};
	__property int ESPG = {read=FESPG, write=setESPG, nodefault};
	__property System::UnicodeString Typenames = {read=FTypeNames, write=setTypeNames};
	__property System::UnicodeString Styles = {read=FStyles, write=setStyles};
	__property System::UnicodeString Time = {read=FTime, write=setTime};
	__property System::UnicodeString PropertyName = {read=FPropertyName, write=setPropertyName};
	__property System::UnicodeString Params = {read=FParams, write=setParams};
	__property System::UnicodeString Url = {read=FUrl, write=setUrl};
	__property System::UnicodeString Version = {read=FVersion, write=setVersion};
	__property System::UnicodeString Name = {read=FName};
	__property __int64 LastRefresh = {read=FLastRefresh};
	__property bool RoundBoxToTiles = {read=FRoundBoxToTiles, write=setRoundBoxToTiles, nodefault};
	__property bool OrderLatLng = {read=FOrderLatLng, write=setOrderLatLng, nodefault};
	__property bool ValidRequest = {read=FValidRequest, nodefault};
	__property System::UnicodeString Request = {read=FRequest};
	__property TAECRecordFeatures FeatureTypeList = {read=FFeatures};
	__property System::UnicodeString Capabilities = {read=FCapabilities};
	__property System::UnicodeString DescribeFeatureType = {read=FDescribeFeatureType};
	__property double NELat = {read=FMax_NELat};
	__property double NELng = {read=FMax_NELng};
	__property double SWLat = {read=FMin_SWLat};
	__property double SWLng = {read=FMin_SWLng};
};


class PASCALIMPLEMENTATION TECWMSLayers : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECNativeWMS* operator[](const int index) { return this->Layer[index]; }
	
private:
	TNativeMapControl* FMap;
	System::Classes::TStringList* FList;
	System::Classes::TNotifyEvent FOnEnabledTimeDimension;
	System::Classes::TNotifyEvent FOnEnabled;
	System::Classes::TNotifyEvent FOnChangeTimeDimension;
	System::Classes::TNotifyEvent FOnLoadingTimeDimension;
	System::Classes::TNotifyEvent FOnCapabilities;
	System::Classes::TNotifyEvent FOnFeatureInfo;
	TECNativeWMS* __fastcall getLayer(const int index)/* overload */;
	TECNativeWMS* __fastcall getLayer(const System::UnicodeString index)/* overload */;
	void __fastcall CheckTimeDimension();
	void __fastcall DisableTimeDimension();
	
public:
	__fastcall TECWMSLayers(TNativeMapControl* _FMap);
	__fastcall virtual ~TECWMSLayers();
	int __fastcall Count();
	void __fastcall Refresh();
	void __fastcall Clear();
	TECNativeWMS* __fastcall Add(const System::UnicodeString Url, const System::UnicodeString layers = System::UnicodeString(), const System::UnicodeString Name = System::UnicodeString());
	void __fastcall Delete(const System::UnicodeString Name)/* overload */;
	void __fastcall Delete(const int index)/* overload */;
	void __fastcall Delete(TECNativeWMS* const index)/* overload */;
	int __fastcall IndexOf(const System::UnicodeString Name);
	__property TECNativeWMS* Layer[const int index] = {read=getLayer/*, default*/};
	__property TECNativeWMS* Layer[const System::UnicodeString index] = {read=getLayer};
	__property System::Classes::TNotifyEvent OnCapabilities = {read=FOnCapabilities, write=FOnCapabilities};
	__property System::Classes::TNotifyEvent OnFeatureInfo = {read=FOnFeatureInfo, write=FOnFeatureInfo};
	__property System::Classes::TNotifyEvent OnEnabled = {read=FOnEnabled, write=FOnEnabled};
	__property System::Classes::TNotifyEvent OnChangeTimeDimension = {read=FOnChangeTimeDimension, write=FOnChangeTimeDimension};
	__property System::Classes::TNotifyEvent OnLoadingTimeDimension = {read=FOnLoadingTimeDimension, write=FOnLoadingTimeDimension};
	__property System::Classes::TNotifyEvent OnEnabledTimeDimension = {read=FOnEnabledTimeDimension, write=FOnEnabledTimeDimension};
};


class PASCALIMPLEMENTATION TECWFSLayers : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECNativeWFS* operator[](const int index) { return this->Layer[index]; }
	
private:
	TNativeMapControl* FMap;
	System::Classes::TStringList* FList;
	System::Classes::TNotifyEvent FOnEnabled;
	System::Classes::TNotifyEvent FOnCapabilities;
	System::Classes::TNotifyEvent FOnDescribeFeatureType;
	System::Classes::TNotifyEvent FOnBeginQuery;
	System::Classes::TNotifyEvent FOnEndQuery;
	TECNativeWFS* __fastcall getLayer(const int index)/* overload */;
	TECNativeWFS* __fastcall getLayer(const System::UnicodeString index)/* overload */;
	
public:
	__fastcall TECWFSLayers(TNativeMapControl* _FMap);
	__fastcall virtual ~TECWFSLayers();
	int __fastcall Count();
	void __fastcall Clear();
	TECNativeWFS* __fastcall Add(const System::UnicodeString Url, const System::UnicodeString layers, const System::UnicodeString Name);
	void __fastcall Delete(const System::UnicodeString Name)/* overload */;
	void __fastcall Delete(const int index)/* overload */;
	void __fastcall Delete(TECNativeWFS* const index)/* overload */;
	int __fastcall IndexOf(const System::UnicodeString Name);
	__property TECNativeWFS* Layer[const int index] = {read=getLayer/*, default*/};
	__property TECNativeWFS* Layer[const System::UnicodeString index] = {read=getLayer};
	__property System::Classes::TNotifyEvent OnBeginQuery = {read=FOnBeginQuery, write=FOnBeginQuery};
	__property System::Classes::TNotifyEvent OnEndQuery = {read=FOnEndQuery, write=FOnEndQuery};
	__property System::Classes::TNotifyEvent OnCapabilities = {read=FOnCapabilities, write=FOnCapabilities};
	__property System::Classes::TNotifyEvent OnDescribeFeatureType = {read=FOnDescribeFeatureType, write=FOnDescribeFeatureType};
	__property System::Classes::TNotifyEvent OnEnabled = {read=FOnEnabled, write=FOnEnabled};
};


class PASCALIMPLEMENTATION TECNativeUTFLayer : public TECNativeLayer
{
	typedef TECNativeLayer inherited;
	
private:
	Uecnativetileserver::TNativeMapServer* FServer;
	Uecmaputil::TecUTFJson* FTecUTFJson;
	System::Classes::TNotifyEvent FOnMouseOut;
	System::Classes::TNotifyEvent FOnMouseOver;
	System::Classes::TStringList* FData;
	System::UnicodeString FDataMouseOn;
	System::Byte FResolution;
	void __fastcall ExtractData(const System::UnicodeString s);
	System::UnicodeString __fastcall getData(const System::UnicodeString index);
	void __fastcall doOnLoadTile(System::TObject* Sender, const int X, const int Y, const int Z, const int t);
	
protected:
	virtual void __fastcall doOnMapMouseMove(System::TObject* Sender);
	virtual void __fastcall doOnMapMouseClick(System::TObject* Sender);
	
public:
	__fastcall TECNativeUTFLayer(TNativeMapControl* _FMap, const System::UnicodeString Name, Uecmaputil::TOnMapServerTilePath FTilePath);
	__fastcall virtual ~TECNativeUTFLayer();
	__property System::Classes::TNotifyEvent OnMouseOut = {read=FOnMouseOut, write=FOnMouseOut};
	__property System::Classes::TNotifyEvent OnMouseOver = {read=FOnMouseOver, write=FOnMouseOver};
	__property System::UnicodeString Data[const System::UnicodeString index] = {read=getData};
	__property System::Byte Resolution = {read=FResolution, write=FResolution, nodefault};
};


typedef int TZoomScaleFactor;

enum DECLSPEC_DENUM TRoutingEngine : unsigned char { reMapQuest, reMapZen, reOSRM, reMapBox, reOpenStreetMap, reTomTom, reCustom, reValhalla, rePTV, reHere };

class PASCALIMPLEMENTATION TNativeMapControl : public Vcl::Controls::TCustomControl
{
	typedef Vcl::Controls::TCustomControl inherited;
	
public:
	Uecnativeshape::TECShapes* operator[](const System::UnicodeString value) { return this->Group[value]; }
	
private:
	Uecmaputil::TECQueryDataCacheList* FQueryCache;
	TECMapComponents* FMapComponents;
	bool FScreenCompleteBaseTile;
	TShapeDragMode FShapeDragMode;
	System::UnicodeString FUserAgent;
	TECNativeGeoHash* FGeoHash;
	TOLCNativeMap* FOpenLocationCode;
	TECGraticule* FGraticule;
	TECBubbleLayers* FECBubbleLayers;
	TECChartLayers* FECChartLayers;
	Uecnativemeasuremap::TECNativeMeasureMap* FMeasureTool;
	TECNativeFreeHand* FFreeHand;
	TECDrawPath* FDrawPath;
	TECTomTom* FTomTom;
	TECGoogle* FGoogle;
	TECAirQuality* FAirQuality;
	int FSpeedRotation;
	Uecmapzip::TECMapZip* FMapZip;
	Uecnativeshape::TECGeofences* FECGeofences;
	__int64 FDownTime;
	System::Types::TPoint FDownClicPos;
	System::Types::TPoint FDownPos;
	System::Types::TPoint FDownState;
	__int64 FMoveTime;
	TECXapiLayer* FXapiLayer;
	double FMaxDayInCache;
	int FRequestTiles;
	int FDrawTiles;
	int FDrawBaseTiles;
	double FDeltaLatDrag;
	double FDeltaLngDrag;
	System::Types::TPoint FVector;
	__int64 FSpeed;
	__int64 FLastRemoveGroup;
	__int64 FTicks;
	bool FDIRECT_PAINT_TO_FORM;
	bool FOffScreen;
	bool FFlagDestroy;
	Uecmaputil::TNativeMapObserver* FObserver;
	int _Width;
	int _Height;
	System::Uitypes::TCursor FOldCursor;
	TLastAction FLastAction;
	TDragRect FDragRect;
	__int64 FLastPrecharging;
	bool FScreenComplete;
	bool FPrechargingScreen;
	bool FDownRight;
	bool FZoomEffect;
	bool FZoomEffectBeforeDblClick;
	bool FZooming;
	bool FDrawOverlayTilesWhenMoving;
	int FZoomEffectDelay;
	bool FSuperZoom;
	Uecnativeshape::TECShapes* FDragZoomShapes;
	Uecnativeshape::TECShapeLine* FDragZoomLine;
	double FDownRightLat;
	double FDownRightLng;
	bool FUseInfoWindowDescription;
	int FMapActive;
	System::Classes::TNotifyEvent FOnChangeMapActive;
	TECOffScreenScreenShot* FECOffScreenScreenShot;
	double FScaleGestureZoom;
	int FActualZoomGesture;
	int FActualDistanceGestureZoom;
	int FLastDistanceGestureZoom;
	bool FInGestureZoomPlus;
	bool FInGestureZoom;
	bool FInRotation;
	bool FInZoom;
	bool FBeginGesture;
	int FscrollingDirection;
	TECRouting* FRouting;
	Uecmaputil::TDisplayMapTiles* FDisplayMapTiles;
	TECWMSLayers* FECWMSLayers;
	TECWFSLayers* FECWFSLayers;
	System::Generics::Collections::TList__1<Uecmaputil::TNativeMapObserver*>* FObservers;
	System::Generics::Collections::TList__1<TNativeMapControl*>* FViewList;
	System::Generics::Collections::TList__1<TECOverlayTileLayer*>* FOverlays;
	int FDoRepaint;
	bool inUpdateStyles;
	Uecnativetileserver::TNativeMapServer* FOverlayServer;
	Uecnativetileserver::TNativeMapServer* FMapServer;
	int FPrevZoom;
	int FPrevTileSize;
	int FLowBaseTile;
	Uecmaputil::TThreadedTimer* FThreadedPumpRotation;
	Uecmaputil::TThreadedTimer* FThreadedTimer;
	Uecnativeshape::TOnLoadShapes FOnLoadShapes;
	TOnLoadGroup FOnLoadGroup;
	bool FChangeTileServer;
	bool FBackgroundComplete;
	bool FInPaintView;
	bool FResizing;
	bool FDragStart;
	TOnMapMouseWheel FOnMapMouseWheel;
	TOnMapPaint FOnShapesPaint;
	TOnMapPaint FOnMapPaint;
	TOnReticlePaint FOnReticlePaint;
	Uecnativeshape::TOnAddShapeToView FOnAddShapeToView;
	TOnMapSelectRect FOnSelectRect;
	TOnMapSelectRect FOnSelectChange;
	TOnMapGeofence FOnEnterGeofence;
	TOnMapGeofence FOnLeaveGeofence;
	System::Classes::TNotifyEvent FOnChangeTileServer;
	System::Classes::TNotifyEvent FSaveOnCompleteTiles;
	System::Classes::TNotifyEvent FOnCompleteTiles;
	System::Classes::TNotifyEvent FOnOutOfBounds;
	System::Classes::TNotifyEvent FOnCloseInfoWindow;
	System::Classes::TNotifyEvent FOnShapeAutoHide;
	System::Classes::TNotifyEvent FOnShapeAutoShow;
	System::Classes::TNotifyEvent FOnShapePathChange;
	System::Classes::TNotifyEvent FOnTraffic;
	System::Classes::TNotifyEvent FOnPanoramio;
	System::Classes::TNotifyEvent FOnShapeDragEnd;
	System::Classes::TNotifyEvent FOnChangeMapBounds;
	System::Classes::TNotifyEvent FOnBeforeChangeMapZoom;
	System::Classes::TNotifyEvent FOnChangeMapZoom;
	System::Classes::TNotifyEvent FOnMapDrag;
	System::Classes::TNotifyEvent FOnMapDragStart;
	System::Classes::TNotifyEvent FOnTilesTimeout;
	System::Classes::TNotifyEvent FOnMapDragEnd;
	System::Classes::TNotifyEvent FOnMapFitBounds;
	System::Classes::TNotifyEvent FOnShapeFocus;
	System::Classes::TNotifyEvent FOnShapeOverIntent;
	System::Classes::TNotifyEvent FOnMouseEnter;
	System::Classes::TNotifyEvent FOnMouseLeave;
	TOnMapLatLng FOnEditMapClick;
	TOnMapLatLng FOnMapClick;
	TOnMapLatLng FOnMapLongClick;
	TOnMapLatLng FOnMapRightClick;
	TOnMapLatLng FOnMapMove;
	TOnMapLatLng FOnMapMouseMove;
	TOnMapLatLng FOnMapMouseStop;
	TOnMapLatLng FOnMapMouseUp;
	TOnMapLatLng FOnMapMouseDown;
	TOnMapLatLng FOnMapDblClick;
	Uecnativeshape::TOnShapeMove FOnShapeDrag;
	Uecnativeshape::TOnShapeMove FOnShapeMove;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeMouseDown;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeMouseUp;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeClick;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeLongClick;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeRightClick;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeDblClick;
	Uecnativeshape::TOnShapeMouseEvent FOnshapeMouseOut;
	Uecnativeshape::TOnShapeMouseEvent FOnShapeMouseOver;
	System::Classes::TNotifyEvent FOnLongPress;
	__int64 FTimeForMouseStop;
	__int64 FStart_Press;
	Uecnativeshape::TOnRoutePath FOnRoutePath;
	TOnClusterClick FOnClusterClick;
	TOnPanoramioClick FOnPanoramioClick;
	TOnBeforeUrl FOnBeforeUrl;
	bool FHideShapesWhenWaitingTile;
	bool FHideShapesWhenZoom;
	bool FMouseWheelZoom;
	bool FDblClickZoom;
	bool FAntiFreezeOnLoad;
	bool FTraffic;
	bool FMouseDown;
	System::Uitypes::TMouseButton FMouseDownButton;
	double _min_Latitude;
	double _max_Latitude;
	double _min_longitude;
	double _max_longitude;
	int FTilePPI;
	int FTileSize;
	int FTileZoom;
	int maxOfZoom;
	int FX;
	int FY;
	int FLowFX;
	int FLowFY;
	int FOffsetX;
	int FOffsetY;
	int FMaxTiles;
	int FMaxX;
	int FMaxY;
	int FLowZoom;
	int FLowTileSize;
	int FWheelZoomScaleFactorIncrement;
	int FMouseX;
	int FMouseY;
	TZoomScaleFactor FZoomScaleFactor;
	TZoomScaleFactor FDelayZoomScaleFactor;
	TMapAnimation FMapAnimation;
	Uecmaputil::TLatLng FGestureZoomLatLngStart;
	Uecmaputil::TLatLng FZoomLatLngStart;
	Uecmaputil::TLatLng FZoomLatLng;
	int FZoomAnimNext;
	int FZoomAnimFromSize;
	int FZoomAnimToSize;
	__int64 FZoomAnimTimeStart;
	__int64 FZoomAnimDelay;
	bool FCancelThisFrame;
	bool FZoomChanged;
	bool FInZoomAround;
	bool FAutorizeZoomAnim;
	System::LongInt FMaxInertiaSpeed;
	__int64 _LastMouseMove;
	__int64 FTimeMouseMove;
	__int64 FInertiaThreshold;
	bool FInMouseMove;
	bool FLimitBorder;
	bool FInertiaScroll;
	__int64 FPrechargingDelay;
	System::Byte FPrechargingTilesDepth;
	bool FPrechargingTiles;
	Uecmaputil::TLatLng FLastLatLngZoom;
	bool FInMouseWheel;
	bool FZoomPlus_Animation;
	int FCenterZoomX2;
	int FCenterZoomY2;
	int FCenterZoomX;
	int FCenterZoomY;
	System::Types::TRect FRectMap;
	System::Types::TRect FViewPort;
	Uecmaputil::TTileServer FTileServer;
	Uecgraphics::TECCanvas* FECCanvas;
	Uecmaputil::TECWorldInfo* FWorldInfo;
	Uecmaputil::TECWorldInfo* FPriveWorldInfo;
	int FAlfWidth;
	int FAlfHeight;
	int PrevStartX;
	int PrevStartY;
	int startX;
	int startY;
	int FWorldX;
	int FWorldY;
	double FLatitude;
	double Flongitude;
	bool FinSetCenter;
	bool FFirstPaint;
	bool FDblClick;
	bool FBlockResize;
	bool FDraggable;
	bool FFocusedShapeWhenClicking;
	bool FFocusedShapeWhenHovering;
	int FMaxTimeForDrawMoving;
	int FMAX_SHAPE_SHOW_ON_MOVE_MAP;
	int FMAX_SHAPE_FOR_DIRECT_CENTER;
	double FLatEndPan;
	double FLngEndPan;
	double FLatDeltaPan;
	double FLngDeltaPan;
	unsigned FStartPan;
	unsigned FLastdoPan;
	unsigned FLastdoZoom;
	unsigned FLastScreenShot;
	unsigned FLastdoPaint;
	unsigned FLastdoTick;
	unsigned FLastDoStyles;
	System::Byte FZoom;
	System::Byte FMinZoom;
	System::Byte FMaxZoom;
	Uecthreadgraphics::TThreadRest* FThreadRest;
	__int64 FTickZoom;
	bool FMouseEnter;
	bool FMouseLeave;
	TECScaleBar* FScaleBar;
	Vcl::Extctrls::TTimer* FTimerMouse;
	bool FGraticuleDraw;
	bool FUpdateParentFormWindowProc;
	Vcl::Forms::TCustomForm* FParentForm;
	System::Classes::TWndMethod FOldWindowProc;
	int FNextTopLeft;
	int FNextBottomLeft;
	int FNextTopRight;
	int FNextBottomRight;
	bool FuseExternControlIDLE;
	bool FInitSize;
	unsigned FTimeExternControlIDLE;
	System::Classes::TNotifyEvent FOnErrorConnexion;
	System::Uitypes::TMouseButton FMouseButtonDragZoom;
	int FXCopyrightTile;
	int FYCopyrightTile;
	int FCopyrightWidth;
	int FCopyrightHeight;
	Vcl::Graphics::TFont* FCopyrightFont;
	int FCopyrightSize;
	System::Uitypes::TColor FCopyrightColor;
	System::Uitypes::TColor FEmptyTileColor;
	Uecmaputil::TLatLng FNewCenter;
	Uecmaputil::TLatLng FMouseLatLng;
	System::UnicodeString FBaseDir;
	unsigned FTimeLongClick;
	Uecnativeshape::TECShapesGroup* FShapesGroup;
	Uecgeolocalise::TECGeoLocalise* FGeoLocalise;
	TECSnapDrag* FECSnapDrag;
	TECOverPass* FECOverPass;
	TECBoundary* FECBoundary;
	System::Types::TPoint FLowStartXY;
	bool Flag_LimitBox;
	bool FLoaded;
	bool inPaint;
	bool Valide_Map;
	bool FShowCopyrightTile;
	System::UnicodeString FAzureKey;
	System::UnicodeString FPTVKey;
	System::UnicodeString FOpenCycleMapKey;
	System::UnicodeString FDigitalGlobeToken;
	System::UnicodeString FMapBoxKey;
	System::UnicodeString FVectorMapZenKey;
	System::UnicodeString FMaptilerKey;
	System::UnicodeString FStadiaMapsKey;
	System::UnicodeString FTraceStrackKey;
	System::UnicodeString FHereParam;
	System::UnicodeString _Direction_Params;
	Uecgeolocalise::TECRoutePath* _Direction_RoutePath;
	Uecmaputil::TLocalCacheSetting LCS1;
	bool FForceRefreshDisplayedTiles;
	int PPI;
	int FMinLowZoom;
	bool FUseLowZoom;
	bool FinNotify;
	bool FOnlyLocal;
	bool FSSL;
	Uecmaputil::TToTxtType FToTxtType;
	__int64 FMaxXY;
	__int64 FDoDraw;
	double FSelectedArea;
	bool FNotMoveMapIfMouseReachesEdge;
	bool FCheckBackgroundComplete;
	bool FOKCheckCacheSize;
	__int64 FLastCheckCacheSize;
	__int64 FMaximumTilesTimeout;
	__int64 FTimeLastTile;
	__int64 FTimeLastDraw;
	System::UnicodeString FIgnKey;
	System::UnicodeString FServerQualifiedName;
	bool FEditableAddPointByClickOnMap;
	bool FCancelAnimationWhenRotation;
	bool FReticle;
	System::Uitypes::TColor FReticleColor;
	TECSelectArea* FECSelectArea;
	TECPTV* FECPTV;
	Uecmaputil::TNativeMapObserver* FLeftObserver;
	Uecmaputil::TNativeMapObserver* FRightObserver;
	TECNativeMap* FMapRight;
	Vcl::Extctrls::TSplitter* FSplitterMap;
	bool FDarkMode;
	bool FLightMode;
	TECGrids* FECGrids;
	Uecmaputil::TECWorldInfo* FWorld18;
	__int64 FStart_Delayed_Repaint;
	__int64 FRepaint_after_ms;
	__int64 FStart_Delayed_VMTLabel;
	__int64 FVMTLabel_after_ms;
	__int64 FStart_Delayed_ZoomScaleFactor;
	int FInitialMaxShapeShowOnMoveMap;
	int FMarginHint;
	TECOpenWeatherTilesLayer* FECOpenWeatherTilesLayer;
	TCustomTileCache* FLocalTileCache;
	double FLastAltitude;
	unsigned FAltitudeTime;
	bool FDoDrawVMTLabel;
	Vcl::Graphics::TBitmap* FBitmaCacheMap;
	System::UnicodeString FUrlVMT;
	void __fastcall setLocalTileCache(TCustomTileCache* const value);
	void __fastcall UpdateComponents();
	void __fastcall setOSMShortLink(const System::UnicodeString AShortLink);
	System::UnicodeString __fastcall getOSMShortLink();
	void __fastcall setDarkMode(const bool value);
	void __fastcall setLightMode(const bool value);
	bool __fastcall GetReverseScrollingDirection();
	void __fastcall SetReverseScrollingDirection(const bool value);
	System::UnicodeString __fastcall getDefaultHintProperty();
	void __fastcall setDefaultHintProperty(const System::UnicodeString value);
	void __fastcall setMarginHint(const int value);
	Uecnativeshape::TECShapeInfoWindow* __fastcall getInfoWindowDescription();
	Uecnativeshape::TECShapeLine* __fastcall getEditShadowLine();
	Uecnativeshape::TECShape* __fastcall getEditShape();
	void __fastcall setDragShape(Uecnativeshape::TECShape* const value);
	Uecnativeshape::TECShape* __fastcall getDragShape();
	TECOpenWeatherTilesLayer* __fastcall getOpenWeatherTilesLayer();
	void __fastcall setMaxDayInCache(const double value);
	TECXapiLayer* __fastcall getXapiLayer();
	Uecopenweather::TECOpenWeather* __fastcall getOpenWeather();
	Uecnativeshape::TECGeofences* __fastcall getGeofences();
	void __fastcall MoveMapIfMouseReachesEdge(const int Delta = 0x20);
	void __fastcall LockDraw();
	void __fastcall UnLockDraw();
	bool __fastcall OkDraw();
	Uecnativeshape::TECCartoStyles* __fastcall getCartoStyles();
	void __fastcall setDrawVectorTiles(const bool value);
	bool __fastcall getDrawVectorTiles();
	System::Types::TPoint __fastcall getLowLevelStartXY(const int lowZoom);
	bool __fastcall getSaveEncodedPolyline();
	void __fastcall setSaveEncodedPolyline(const bool value);
	System::UnicodeString __fastcall getLocale();
	void __fastcall setLocale(const System::UnicodeString value);
	void __fastcall setCopyrightColor(const System::Uitypes::TColor value);
	void __fastcall setCopyrightSize(const int value);
	System::UnicodeString __fastcall getCloudMadeKey();
	System::UnicodeString __fastcall getBingKey();
	System::UnicodeString __fastcall getMapQuestKey();
	System::UnicodeString __fastcall getVectorMapZenKey();
	System::UnicodeString __fastcall getMapBoxKey();
	System::UnicodeString __fastcall getDigitalGlobeToken();
	System::UnicodeString __fastcall getOpenCycleMapKey();
	System::UnicodeString __fastcall getTomTomKey();
	System::UnicodeString __fastcall getPTVKey();
	System::UnicodeString __fastcall getAqicnKey();
	System::UnicodeString __fastcall getStadiaMapsKey();
	System::UnicodeString __fastcall getTraceStrackKey();
	System::UnicodeString __fastcall getMaptilerKey();
	System::UnicodeString __fastcall getAzureKey();
	void __fastcall setAzureKey(const System::UnicodeString key);
	void __fastcall setMapTilerKey(const System::UnicodeString key);
	void __fastcall setOpenCycleMapKey(const System::UnicodeString key);
	void __fastcall setCloudMadeKey(const System::UnicodeString key);
	void __fastcall setBingKey(const System::UnicodeString key);
	void __fastcall setMapQuestKey(const System::UnicodeString key);
	void __fastcall setVectorMapZenKey(const System::UnicodeString value);
	void __fastcall setMapBoxKey(const System::UnicodeString value);
	void __fastcall setDigitalGlobeToken(const System::UnicodeString value);
	void __fastcall setTomTomKey(const System::UnicodeString value);
	void __fastcall setPTVKey(const System::UnicodeString value);
	void __fastcall setAqicnKey(const System::UnicodeString value);
	void __fastcall setStadiaMapsKey(const System::UnicodeString value);
	void __fastcall setTraceStrackKey(const System::UnicodeString value);
	void __fastcall setHereParam(const System::UnicodeString value);
	void __fastcall setHereID(const System::UnicodeString key);
	System::UnicodeString __fastcall getHereID();
	System::UnicodeString __fastcall getHereParam();
	System::UnicodeString __fastcall getOpenRouteServiceKey();
	void __fastcall setOpenRouteServiceKey(const System::UnicodeString key);
	System::UnicodeString __fastcall getIgnKey();
	void __fastcall setIgnKey(const System::UnicodeString key);
	void __fastcall setWorldLeftTop(const System::Types::TPoint &value);
	System::Types::TPoint __fastcall getWorldLeftTop();
	System::UnicodeString __fastcall getUrl();
	void __fastcall setUrl(const System::UnicodeString value);
	void __fastcall setAddress(const System::UnicodeString value);
	System::UnicodeString __fastcall getAddress();
	void __fastcall setGeoLocalise(Uecgeolocalise::TECGeoLocalise* value);
	TECSnapDrag* __fastcall getSnapDrag();
	TECBoundary* __fastcall getBoundary();
	TECOverPass* __fastcall getOverPass();
	void __fastcall doOnDirection(System::TObject* Sender, const System::UnicodeString Params, Uecgeolocalise::TECRoutePath* routePath);
	void __fastcall setOnTraffic(System::Classes::TNotifyEvent Event);
	void __fastcall settrafficLayer(const bool value);
	void __fastcall setOnAddShapeToView(Uecnativeshape::TOnAddShapeToView Event);
	void __fastcall setOnLoadShapes(Uecnativeshape::TOnLoadShapes Event);
	void __fastcall doOnLoadShapes(System::TObject* Sender, const System::UnicodeString ShapeType, const int index, const int max, bool &cancel);
	void __fastcall doOnHotSpot(System::TObject* Sender, const System::UnicodeString ValueUrl);
	void __fastcall setOnShapePathChange(System::Classes::TNotifyEvent Event);
	void __fastcall setOnCloseInfoWindow(System::Classes::TNotifyEvent Event);
	void __fastcall setOnShapeAutoHide(System::Classes::TNotifyEvent Event);
	void __fastcall setOnShapeAutoShow(System::Classes::TNotifyEvent Event);
	Uecnativeshape::TECShapes* __fastcall getShapes();
	Uecnativeshape::TECShapes* __fastcall getShapesGroup(const System::UnicodeString value)/* overload */;
	Uecnativeshape::TECShapes* __fastcall getShapesGroup(const int value)/* overload */;
	Uecnativeshape::TECGroupShapesList* __fastcall getShapesGroups();
	Uecnativeshape::TECSelectedShapesList* __fastcall getSelected();
	void __fastcall doThreadTimer(System::TObject* Sender);
	void __fastcall doOnServerClearCache(System::TObject* Sender);
	void __fastcall doAnimationZoom();
	void __fastcall doAnimationPan();
	void __fastcall doStopAnimation();
	void __fastcall setWaitingForDestruction(const bool value);
	bool __fastcall getWaitingForDestruction();
	Uecmaputil::TNbrThreadTile __fastcall getNbrThreadTile();
	void __fastcall setNbrThreadTile(const Uecmaputil::TNbrThreadTile value);
	void __fastcall setMapActive(const bool value);
	bool __fastcall getMapActive();
	void __fastcall setOnlyOneOpenInfoWindow(const bool value);
	bool __fastcall getOnlyOneOpenInfoWindow();
	Uecmaputil::TECFilterColor* __fastcall getBaseMapColorsFilter();
	bool __fastcall getUseGDICanvasWhenMove();
	void __fastcall setUseGDICanvasWhenMove(const bool value);
	bool __fastcall getUse2DCanvas();
	void __fastcall setUse2DCanvas(const bool value);
	void __fastcall doThreadPumpRotation(System::TObject* Sender);
	void __fastcall doOnMove(System::TObject* Sender, Uecnativeshape::TECShape* const Item, bool &cancel);
	void __fastcall doGeofences(Uecnativeshape::TECShape* const Item);
	bool __fastcall isBaseMapReady(const bool true_if_move)/* overload */;
	bool __fastcall isBaseMapReady(const double Lat, const double Lng, const int AZoom)/* overload */;
	void __fastcall CheckOverlaysReady();
	void __fastcall RepaintMap(bool Cached = false)/* overload */;
	void __fastcall Draw_WMS_Legend(Uecnativetileserver::TTileServerInfo* FTileServerInfo);
	void __fastcall doOnLoadTile(System::TObject* Sender, const int X, const int Y, const int Z, const int t);
	void __fastcall doOnLoadOverlayTile(System::TObject* Sender, const int X, const int Y, const int Z, const int t);
	void __fastcall doErrorConnexion(System::TObject* Sender);
	void __fastcall SetCacheSize(const System::Word AValue);
	System::Word __fastcall getCacheSize();
	Uecnativetileserver::TTileServerInfo* __fastcall getTileServerInfo();
	double __fastcall getTileServerOpacity();
	void __fastcall setTileServerOpacity(const double value);
	void __fastcall LoadScreenZoomAround(const Uecmaputil::TLatLng &LatLngZoom, const int NewZoom);
	void __fastcall LoadScreenZoom(const double Lat, const double Lng, const int level)/* overload */;
	void __fastcall LoadScreenZoom(const double Lat, const double Lng)/* overload */;
	void __fastcall LoadScreenZoom(TECOverlayTileLayer* const FOV)/* overload */;
	void __fastcall SetZoom(const System::Byte value);
	void __fastcall setMinZoom(const System::Byte value);
	void __fastcall setMaxZoom(const System::Byte value);
	void __fastcall setZoomScaleFactor(const TZoomScaleFactor zoomscale);
	void __fastcall _setZoomScaleFactor(const TZoomScaleFactor zoomscale);
	double __fastcall getNumericalZoom();
	void __fastcall setNumericalZoom(const double value);
	double __fastcall getNorthEastLatitude();
	double __fastcall getNorthEastLongitude();
	double __fastcall getSouthWestLatitude();
	double __fastcall getSouthWestLongitude();
	void __fastcall setSplitMap(const bool value);
	bool __fastcall getSplitMap();
	void __fastcall RightMapMove(System::TObject* Sender);
	void __fastcall LeftMapMove(System::TObject* Sender);
	void __fastcall LeftChangeMapZoom(System::TObject* Sender);
	void __fastcall RightChangeMapZoom(System::TObject* Sender);
	TECSelectArea* __fastcall getSelectArea();
	TECPTV* __fastcall getPTV();
	void __fastcall SetTileServer(const Uecmaputil::TTileServer value);
	Uecmaputil::TTileServer __fastcall getTileServer();
	void __fastcall setCopyrightTile(const System::UnicodeString value);
	System::UnicodeString __fastcall getCopyrightTile();
	System::UnicodeString __fastcall getFilenameStartEditLine();
	void __fastcall setFilenameStartEditLine(const System::UnicodeString value);
	System::UnicodeString __fastcall getFilenameEndEditLine();
	void __fastcall setFilenameEndEditLine(const System::UnicodeString value);
	System::UnicodeString __fastcall getFilenamePointEditLine();
	void __fastcall setFilenamePointEditLine(const System::UnicodeString value);
	System::UnicodeString __fastcall getLocalCache();
	void __fastcall setLocalCache(const System::UnicodeString value);
	System::UnicodeString __fastcall getLocalArchive();
	void __fastcall setLocalArchive(const System::UnicodeString value);
	void __fastcall _SetCenter(const Uecmaputil::TLatLng &AValue);
	Uecmaputil::TLatLng __fastcall GetCenter();
	Uecmaputil::TIntPoint __fastcall GetMouseMapPixel(int X, int Y);
	bool __fastcall getExitEditableClickLastPointLine();
	void __fastcall setExitEditableClickLastPointLine(const bool value);
	Uecnativeshape::TECShape* __fastcall getShapeBringToFront();
	void __fastcall setShapeBringToFront(Uecnativeshape::TECShape* const value);
	void __fastcall doRepaint(TFrameKey FrameKey = (TFrameKey)(0x0));
	void __fastcall EC_Repaint(System::TObject* Sender);
	void __fastcall TileServerChanged(System::TObject* Sender);
	void __fastcall FilterColorsChanged(System::TObject* Sender);
	void __fastcall doMapGesture(System::TObject* Sender, const Vcl::Controls::TGestureEventInfo &EventInfo, bool &Handled);
	void __fastcall handleGestureZoom(const Vcl::Controls::TGestureEventInfo &EventInfo);
	bool __fastcall setViewZoom(const int FromSize, const int NextSize, const int MaxSize, const int NextZoom, const Uecmaputil::TLatLng &CibleLatLng, Uecmaputil::TLatLng &CenterLatLng);
	MESSAGE void __fastcall EC_ONLOAD(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_ONFOCUS(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_Bounds(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_OnDirection(Winapi::Messages::TMessage &Msg);
	HIDESBASE MESSAGE void __fastcall WMEraseBkgnd(Winapi::Messages::TWMEraseBkgnd &Message);
	HIDESBASE MESSAGE void __fastcall WMSize(Winapi::Messages::TWMSize &Message);
	void __fastcall MyWindowProc(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall WMPosChanging(Winapi::Messages::TWMWindowPosChanging &Msg);
	MESSAGE void __fastcall EC_FitBounds(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_ShowHint(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_PanTo(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_ShowAll(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall EC_Center(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall HandleDlgCode(Winapi::Messages::TMessage &Msg);
	void __fastcall setLatitude(const double Lat);
	void __fastcall setLongitude(const double Lng);
	bool __fastcall _UpdateBounds(const bool bAll = true);
	HIDESBASE bool __fastcall UpdateBounds(const bool bAll = true);
	void __fastcall Scrollto(const double Lat, const double Lng);
	void __fastcall setLimitBoundingBox(Uecmaputil::TLatLng &value);
	void __fastcall setToKml(const System::UnicodeString value);
	System::UnicodeString __fastcall getToKml();
	void __fastcall setToGpx(const System::UnicodeString value);
	System::UnicodeString __fastcall getToGPX();
	void __fastcall setToWKT(const System::UnicodeString value);
	System::UnicodeString __fastcall getToWKT();
	void __fastcall setToTxt(const System::UnicodeString value);
	System::UnicodeString __fastcall getToTxt();
	void __fastcall setToGeoJSon(const System::UnicodeString value);
	System::UnicodeString __fastcall getToGeoJSon();
	Uecnativeshape::TCSlopeColors* __fastcall getSlopeColors();
	void __fastcall DrawEditShadowLine();
	void __fastcall Notify(unsigned MsgConst, System::TObject* WParam = (System::TObject*)(0x0));
	Vcl::Graphics::TBitmap* __fastcall getBitmap();
	void __fastcall setDraggable(const bool value);
	void __fastcall setTileSize(const int value);
	void __fastcall setTilePPI(const int value);
	void __fastcall WorldMoveTo(System::TObject* Sender, const double latitude, const double longitude);
	void __fastcall setMAX_SHAPE_SHOW_ON_MOVE_MAP(const int value);
	void __fastcall setMaxTimeForDrawMoving(const int value);
	TNativeMapControl* __fastcall getView(int index);
	int __fastcall getViewCount();
	int __fastcall getGroupCount();
	void __fastcall setDirectLoadLocalTile(const bool value);
	bool __fastcall getDirectLoadLocalTile();
	void __fastcall setIdle(bool value);
	bool __fastcall getIdle();
	float __fastcall getScaleFactor();
	void __fastcall setScaleFactor(const float value);
	TECOffScreenScreenShot* __fastcall getOffScreenScreenShot();
	Uecnativeshape::TOnCreateJSONPoint __fastcall getOnCreateJSONPoint();
	void __fastcall setOnCreateJSONPoint(const Uecnativeshape::TOnCreateJSONPoint value);
	void __fastcall setUserAgent(const System::UnicodeString value);
	void __fastcall setSSL(const bool value);
	void __fastcall setOnlyLocal(const bool value);
	Uecnativeshape::TOnGetScale __fastcall getOnGetScale();
	void __fastcall setOnGetScale(Uecnativeshape::TOnGetScale value);
	bool __fastcall getDontScaleMarkerToZoomIfSelected();
	void __fastcall setDontScaleMarkerToZoomIfSelected(bool value);
	bool __fastcall getScaleMarkerToZoom();
	void __fastcall setScaleMarkerToZoom(bool value);
	void __fastcall setToTxtType(const Uecmaputil::TToTxtType value);
	Uecnativeshape::TECShape* __fastcall getMouseOverShape();
	void __fastcall setMouseOverShape(Uecnativeshape::TECShape* const Item);
	void __fastcall StopDrag();
	void __fastcall StopMove();
	void __fastcall Draw_Reticle();
	void __fastcall Draw_Copyright();
	void __fastcall DrawOffScreen(const System::Classes::TNotifyEvent EventDraw);
	void __fastcall doOnOSMLoaded(System::TObject* Sender);
	void __fastcall setFocusedShapeWhenHovering(const bool value);
	void __fastcall doASyncPathChange(System::TObject* Sender);
	void __fastcall setConversionESPG(Uecmaputil::TOnConversionESPG value);
	Uecmaputil::TOnConversionESPG __fastcall getConversionESPG();
	void __fastcall setESPGToLatLng(Uecmaputil::TOnConversionESPG value);
	Uecmaputil::TOnConversionESPG __fastcall getESPGToLatLng();
	System::Classes::TNotifyEvent __fastcall getOnChangeEditable();
	void __fastcall setOnChangeEditable(System::Classes::TNotifyEvent Sender);
	void __fastcall GetVMTTile(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	
protected:
	virtual void __fastcall Loaded();
	void __fastcall doTimerMouse(System::TObject* Sender);
	Vcl::Forms::TCustomForm* __fastcall _getParentForm(Vcl::Controls::TControl* value);
	virtual void __fastcall SetParent(Vcl::Controls::TWinControl* AParent);
	DYNAMIC void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseMove(System::Classes::TShiftState Shift, int X, int Y);
	MESSAGE void __fastcall doMouseEnter(Winapi::Messages::TMessage &Msg);
	MESSAGE void __fastcall doMouseLeave(Winapi::Messages::TMessage &Msg);
	DYNAMIC void __fastcall DblClick();
	virtual void __fastcall Paint();
	void __fastcall setIcons(Vcl::Imglist::TCustomImageList* value);
	Vcl::Imglist::TCustomImageList* __fastcall getIcons();
	Uecnativeshape::TECShapeInfoWindow* __fastcall getHintInfoWindow();
	void __fastcall RepaintView();
	void __fastcall WM_Subject_Destroy(System::TObject* Sender);
	void __fastcall WM_Shape_Move(System::TObject* Sender);
	unsigned __fastcall getTimerSpeed();
	void __fastcall setTimerSpeed(const unsigned value);
	void __fastcall CheckCacheSize();
	void __fastcall PauseTiles(const bool value);
	__int64 __fastcall ASyncLoad(const System::UnicodeString Url, const System::Classes::TNotifyEvent Notify, System::TObject* const TagObject = (System::TObject*)(0x0))/* overload */;
	__int64 __fastcall ASyncLoad(const System::UnicodeString Url, const System::Classes::TNotifyEvent Notify, const System::Classes::TNotifyEvent Execute, System::TObject* const TagObject = (System::TObject*)(0x0))/* overload */;
	void __fastcall setTimeTileServerWMS(const System::UnicodeString value);
	System::UnicodeString __fastcall getTimeTileServerWMS();
	HIDESBASE void __fastcall setCursor(const System::Uitypes::TCursor value);
	System::Uitypes::TCursor __fastcall getCursor();
	Uecgraphics::TVectorStyles* __fastcall getVectorStyles();
	
public:
	__fastcall virtual TNativeMapControl(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TNativeMapControl();
	virtual void __fastcall Assign(System::Classes::TPersistent* Source);
	void __fastcall Delayed_Repaint(const __int64 repaint_after_ms);
	bool __fastcall isMoving();
	void __fastcall ProcessMessages();
	void __fastcall setTileHeader(const System::UnicodeString Name, const System::UnicodeString value);
	void __fastcall setUseWinINET(const bool use);
	void __fastcall setProxyParams(const System::UnicodeString Server, const int port, const System::UnicodeString username = System::UnicodeString(), System::UnicodeString password = System::UnicodeString());
	void __fastcall AddView(TNativeMapControl* const view);
	void __fastcall ReleaseView(TNativeMapControl* const view);
	void __fastcall ReleaseAllView();
	void __fastcall ForceRefreshDisplayedTiles();
	int __fastcall ShapesCount();
	void __fastcall Lock();
	void __fastcall UnLock();
	void __fastcall AddStreamTile(System::Classes::TMemoryStream* const TileStream, const int X, const int Y, const int Z, TECOverlayTileLayer* const OverlayTile = (TECOverlayTileLayer*)(0x0));
	System::UnicodeString __fastcall XYZToGeoBaseTile(const int X, const int Y, const int Z, const System::UnicodeString geoStreamServerURL, const int geoTilesPerSuperTile = 0x4, const bool geoSatellite = false);
	void __fastcall ParentChanged();
	void __fastcall ForceParent(Vcl::Controls::TWinControl* value);
	void __fastcall ControlParent(Vcl::Controls::TWinControl* value);
	void __fastcall Detach(Uecmaputil::TNativeMapObserver* Observer);
	void __fastcall Attach(Uecmaputil::TNativeMapObserver* Observer);
	void __fastcall PreLoadGraphic(const System::UnicodeString Filename);
	Vcl::Graphics::TGraphic* __fastcall getGraphic(const System::UnicodeString Filename);
	bool __fastcall IsValidGraphic(const System::UnicodeString Filename);
	void __fastcall RemoveGraphic(const System::UnicodeString value, const bool shared = true);
	void __fastcall ClearGraphics();
	Uecnativeshape::TECShape* __fastcall Add(const Uecnativeshape::TNativeShape shape, const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString());
	Uecnativeshape::TECShapeLine* __fastcall AddRoute(Uecgeolocalise::TECRoutePath* const routePath, const System::UnicodeString GroupName = System::UnicodeString());
	Uecnativeshape::TECShapePOI* __fastcall AddPOI(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePOI* __fastcall AddPOI(const double SWLat, const double SWLng, const double NELat, const double NELng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePOI* __fastcall AddCircle(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePOI* __fastcall AddCircle(const double SWLat, const double SWLng, const double NELat, const double NELng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePOI* __fastcall AddPoint(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeMarker* __fastcall AddMarker(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePOI* __fastcall AddPoint(const Uecmaputil::TLatLng &LatLng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeMarker* __fastcall AddMarker(const Uecmaputil::TLatLng &LatLng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLine(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLine(const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLineFromAddress(const System::UnicodeString address, const System::UnicodeString GroupName = System::UnicodeString());
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygoneFromAddress(const System::UnicodeString address, const System::UnicodeString GroupName = System::UnicodeString());
	Uecnativeshape::TECShapeLine* __fastcall AddEncodedLine(const System::UnicodeString EncodedLine, const System::Byte precision = (System::Byte)(0x5), const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLine(const double *dLatLngs, const System::NativeInt dLatLngs_High, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLine(TECNativeFreeHand* const vFreeHand, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddLine(Uecnativeshape::TECShapeLine* const dLine, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeLine* __fastcall AddGeodesicLine(const double SLat, const double SLng, const double ELat, const double ELng, const System::UnicodeString GroupName = System::UnicodeString(), const int maxSegmentLength = 0x1388);
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const Uecopenlocationcode::TecOLC_CODEAREA &olcArea, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(TECNativeFreeHand* const vFreeHand, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(Uecnativeshape::TECShapeLine* const dLine, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddEncodedPolygone(const System::UnicodeString EncodedLine, const System::Byte precision = (System::Byte)(0x5), const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const double *dLatLngs, const System::NativeInt dLatLngs_High, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapePolygone* __fastcall AddPolygone(const Uecmaputil::TLatLng &SouthWest, const Uecmaputil::TLatLng &NorthEast, const System::UnicodeString GroupName = System::UnicodeString())/* overload */;
	Uecnativeshape::TECShapeInfoWindow* __fastcall AddInfoWindow(const double Lat, const double Lng, const System::UnicodeString GroupName = System::UnicodeString());
	HIDESBASE void __fastcall Remove(Uecnativeshape::TECShape* const shape);
	TECOverlayTileLayer* __fastcall getOverlayTilesByName(const System::UnicodeString value);
	TECOverlayTileLayer* __fastcall AddOverlayTiles(Uecmaputil::TOnMapServerTilePath getOverlayTiles, const System::UnicodeString Name = L"Overlay_Tiles", const System::Byte MaxZoom = (System::Byte)(0x12), const System::Byte MinZoom = (System::Byte)(0x2), const Uecmaputil::TTileServer aTileServer = (Uecmaputil::TTileServer)(0x4));
	TECOverlayTileLayer* __fastcall AddOverlayTileServer(Uecmaputil::TTileServer value);
	TECOverlayTileLayer* __fastcall AddOverlayTileServerWMS(const System::UnicodeString Url, const System::UnicodeString layers, const int ESPG = 0x10e6);
	void __fastcall TileServerWMS(const System::UnicodeString Url, const System::UnicodeString layers, const int ESPG = 0x10e6);
	void __fastcall WMS_Legend(const bool show, const TLegendPosition position = (TLegendPosition)(0x1), const System::Byte Opacity = (System::Byte)(0x64), const int XMargin = 0x7, const int YMargin = 0x7);
	TECOverlayTileLayer* __fastcall AddOverlayStreamTiles(Uecmaputil::TOnMapServerTileStream getOverlayStreamTiles, const System::UnicodeString Name = L"Overlay_StreamTiles", const System::Byte MaxZoom = (System::Byte)(0x12), const System::Byte MinZoom = (System::Byte)(0x2));
	void __fastcall RemoveOverlayTiles(const int index)/* overload */;
	void __fastcall RemoveOverlayTiles(const Uecmaputil::TTileServer value)/* overload */;
	void __fastcall RemoveOverlayTiles(const System::UnicodeString value)/* overload */;
	void __fastcall RemoveOverlayTiles(TECOverlayTileLayer* const overlay)/* overload */;
	void __fastcall RemoveAllOverlayTiles();
	void __fastcall Clear();
	void __fastcall ClearTilesThread();
	void __fastcall ClearMemoryCache();
	void __fastcall ClearMemoryCacheAndDisconnect();
	void __fastcall ShowHintAtPos(const double Lat, const double Lng, const System::UnicodeString Hint, const unsigned DelayHint = (unsigned)(0x7d0));
	bool __fastcall ReadyToClose();
	void __fastcall BeginUpdate();
	void __fastcall EndUpdate();
	void __fastcall SaveToFile(const System::UnicodeString Filename);
	void __fastcall LoadFromFile(const System::UnicodeString Filename);
	void __fastcall setCenter(const double Lat, const double Lng);
	void __fastcall DelayCenter(const double Lat, const double Lng);
	void __fastcall Bounds(const double NELat, const double NELng, const double SWLat, const double SWLng)/* overload */;
	void __fastcall Bounds(const TECRecordLayer &recLayer)/* overload */;
	void __fastcall Bounds(const TECRecordFeature &recFeature)/* overload */;
	void __fastcall UnBoundingBox();
	void __fastcall BoundingBox(const double NELat = 8.505113E+01, const double NELng = 1.800000E+02, const double SWLat = -8.505113E+01, const double SWLng = -1.800000E+02);
	void __fastcall fitBounds()/* overload */;
	void __fastcall fitBounds(Uecnativeshape::TECShapes* const *Shapes, const System::NativeInt Shapes_High)/* overload */;
	void __fastcall fitBounds(const double NELat, const double NELng, const double SWLat, const double SWLng)/* overload */;
	void __fastcall fitBounds(const Uecopenlocationcode::TecOLC_CODEAREA &olcArea)/* overload */;
	void __fastcall fitBoundsRadius(const double dLat, const double dLng, const double dRadiusKm);
	bool __fastcall isGroupExists(const System::UnicodeString Name);
	bool __fastcall isVisible(const double ALat, const double ALng);
	int __fastcall FindByKeyValue(Uecnativeshape::TECShapes* const G, const System::UnicodeString key, const System::UnicodeString value, System::Generics::Collections::TList__1<Uecnativeshape::TECShape*>* const ShapeList)/* overload */;
	int __fastcall FindByKeyValue(const System::UnicodeString key, const System::UnicodeString value, System::Generics::Collections::TList__1<Uecnativeshape::TECShape*>* const ShapeList)/* overload */;
	int __fastcall FindShapeByArea(const double SWALat, const double SWALng, const double NEALat, const double NEALng, System::Generics::Collections::TList__1<Uecnativeshape::TECShape*>* const ShapeList, const Uecnativeshape::TNativeShapes FilterShapes = Uecnativeshape::TNativeShapes() , Uecnativeshape::TOnShapeFilter Filter = 0x0);
	int __fastcall FindShapeByKMDistance(const double FLat, const double FLng, const double FKMDistance, System::Generics::Collections::TList__1<Uecnativeshape::TECShape*>* const ShapeList, const Uecnativeshape::TNativeShapes FilterShapes = Uecnativeshape::TNativeShapes() , Uecnativeshape::TOnShapeFilter Filter = 0x0);
	int __fastcall FindShapeByFilter(System::Generics::Collections::TList__1<Uecnativeshape::TECShape*>* const ShapeList, const Uecnativeshape::TNativeShapes FilterShapes, Uecnativeshape::TOnShapeFilter Filter);
	virtual void __fastcall Invalidate();
	void __fastcall ReLoad(const bool reloadGraphicThreadPool = true);
	void __fastcall PanTo(const double Lat, const double Lng, const int max_time_pan = 0xfa);
	void __fastcall FromLatLngToBoundingBoxTile(const double Lat, const double Lng, double &NELat, double &NELng, double &SWLat, double &SWLng, const int aTileSize = 0x0);
	void __fastcall BoundingBoxTiles(const double _NELat, const double _NELng, const double _SWLat, const double _SWLng, double &NELat, double &NELng, double &SWLat, double &SWLng);
	void __fastcall BoundingBoxTilesScreen(double &NELat, double &NELng, double &SWLat, double &SWLng);
	Uecmaputil::TLatLng __fastcall FromXYToLatLng(int X, int Y);
	void __fastcall FromLatLngToXY(const double Lat, const double Lng, int &X, int &Y)/* overload */;
	void __fastcall FromLatLngToXY(const Uecmaputil::TLatLng &LatLng, int &X, int &Y)/* overload */;
	TPositionOnMap __fastcall GetPositionOnMap(const double Lat, const double Lng);
	void __fastcall Move(const TECDirection Direction, const double DistanceKM);
	void __fastcall ScrollXY(const int X, const int Y);
	Uecmaputil::TLatLng __fastcall ScrollLatLngXY(const double Lat, const double Lng, const int X, const int Y);
	void __fastcall setProjection(Uecmaputil::TOnProjectionLatLngToXY ProjLatLngToXY, Uecmaputil::TOnProjectionXYToLatLng ProjXYYoLatLng);
	System::LongInt __fastcall TopGroupZIndex();
	void __fastcall ShowInfoWindow(const double Lat, const double Lng, const System::UnicodeString Content);
	void __fastcall ShowInfoWindowDescription(const double Lat, const double Lng, Uecnativeshape::TECShape* const shape, const bool UpdateItem = true)/* overload */;
	void __fastcall ShowInfoWindowDescription(Uecnativeshape::TECShape* const shape, const bool UpdateItem = true)/* overload */;
	Uecgeolocalise::TECRoutePath* __fastcall GetRoutePathByAdress(const System::UnicodeString StartAdress, const System::UnicodeString EndAdress, const Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x0), const System::UnicodeString Params = System::UnicodeString());
	Uecgeolocalise::TECRoutePath* __fastcall GetRoutePathFrom(const double *dLatLngs, const System::NativeInt dLatLngs_High, const Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x0), const System::UnicodeString Params = System::UnicodeString());
	void __fastcall GetASyncRoutePathByAdress(const System::UnicodeString StartAdress, const System::UnicodeString EndAdress, const Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x0), const System::UnicodeString Params = System::UnicodeString());
	void __fastcall GetASyncRoutePathFrom(const double *dLatLngs, const System::NativeInt dLatLngs_High, const Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x0), const System::UnicodeString Params = System::UnicodeString());
	void __fastcall ZoomAround(const Uecmaputil::TLatLng &LatLngZoom, const int NewZoom);
	void __fastcall ZoomScaleFactorAround(const Uecmaputil::TLatLng &LatLngZoom, const int NewZoomScaleFactor);
	void __fastcall ZoomScaleFactorAroundFix(const Uecmaputil::TLatLng &LatLngZoom, const int NewZoomScaleFactor);
	bool __fastcall isMouseDownButton(System::Uitypes::TMouseButton value);
	bool __fastcall setVMTTileServer(const System::UnicodeString VMTStyleUrl, const System::UnicodeString StyleName = System::UnicodeString(), const Uecmaputil::TOnMapServerTilePath TileFilename = 0x0);
	System::Uitypes::TColor __fastcall GetMouseColor();
	System::Uitypes::TColor __fastcall GetXYColor(const int X, const int Y);
	__property TECSelectArea* SelectArea = {read=getSelectArea};
	__property TECPTV* PTV = {read=getPTV};
	__property TECGrids* Grids = {read=FECGrids};
	__property double MaxDayInCache = {read=FMaxDayInCache, write=setMaxDayInCache};
	__property System::UnicodeString address = {read=getAddress, write=setAddress};
	__property bool useExternControlIDLE = {read=getIdle, write=setIdle, nodefault};
	__property double SelectedArea = {read=FSelectedArea};
	__property bool CancelAnimationWhenRotation = {read=FCancelAnimationWhenRotation, write=FCancelAnimationWhenRotation, nodefault};
	__property Uecmaputil::TLatLng Center = {read=GetCenter, write=_SetCenter};
	__property Uecmaputil::TLatLng MouseLatLng = {read=FMouseLatLng};
	__property int MouseX = {read=FMouseX, nodefault};
	__property int MouseY = {read=FMouseY, nodefault};
	__property bool ShowCopyrightTile = {read=FShowCopyrightTile, write=FShowCopyrightTile, nodefault};
	__property System::Uitypes::TColor CopyrightColor = {read=FCopyrightColor, write=setCopyrightColor, nodefault};
	__property int CopyrightSize = {read=FCopyrightSize, write=setCopyrightSize, nodefault};
	__property System::UnicodeString CopyrightTile = {read=getCopyrightTile, write=setCopyrightTile};
	__property bool DirectLoadLocalTile = {read=getDirectLoadLocalTile, write=setDirectLoadLocalTile, nodefault};
	__property TECRouting* Routing = {read=FRouting};
	__property bool DrawVectorTiles = {read=getDrawVectorTiles, write=setDrawVectorTiles, nodefault};
	__property System::Uitypes::TColor EmptyTileColor = {read=FEmptyTileColor, write=FEmptyTileColor, nodefault};
	__property System::UnicodeString FilenameStartEditLine = {read=getFilenameStartEditLine, write=setFilenameStartEditLine};
	__property System::UnicodeString FilenameEndEditLine = {read=getFilenameEndEditLine, write=setFilenameEndEditLine};
	__property System::UnicodeString FilenamePointEditLine = {read=getFilenamePointEditLine, write=setFilenamePointEditLine};
	__property bool ReverseScrollingDirection = {read=GetReverseScrollingDirection, write=SetReverseScrollingDirection, nodefault};
	__property Uecmapzip::TECMapZip* MapArchive = {read=FMapZip};
	__property System::UnicodeString LocalCache = {read=getLocalCache, write=setLocalCache};
	__property System::UnicodeString LocalArchive = {read=getLocalArchive, write=setLocalArchive};
	__property TCustomTileCache* LocalTileCache = {read=FLocalTileCache, write=setLocalTileCache};
	__property System::UnicodeString Locale = {read=getLocale, write=setLocale};
	__property Uecgraphics::TVectorStyles* VectorStyles = {read=getVectorStyles};
	__property Uecnativeshape::TECGeofences* Geofences = {read=getGeofences};
	__property Vcl::Graphics::TBitmap* ScreenShot = {read=getBitmap};
	__property TECOffScreenScreenShot* ScreenShots = {read=getOffScreenScreenShot};
	__property bool ScreenCompleteBaseTile = {read=FScreenCompleteBaseTile, nodefault};
	__property int SpeedRotation = {read=FSpeedRotation, write=FSpeedRotation, nodefault};
	__property TECNativeMap* RightMap = {read=FMapRight};
	__property Vcl::Extctrls::TSplitter* SplitterMap = {read=FSplitterMap};
	__property System::Byte MinZoom = {read=FMinZoom, write=setMinZoom, nodefault};
	__property System::Byte MaxZoom = {read=FMaxZoom, write=setMaxZoom, nodefault};
	__property bool DrawOverlayTilesWhenMoving = {read=FDrawOverlayTilesWhenMoving, write=FDrawOverlayTilesWhenMoving, nodefault};
	__property int MaxShapeShowOnMoveMap = {read=FMAX_SHAPE_SHOW_ON_MOVE_MAP, write=setMAX_SHAPE_SHOW_ON_MOVE_MAP, nodefault};
	__property int MaxTimeForDrawMoving = {read=FMaxTimeForDrawMoving, write=setMaxTimeForDrawMoving, nodefault};
	__property int MaxShapesForDirectCenter = {read=FMAX_SHAPE_FOR_DIRECT_CENTER, write=FMAX_SHAPE_FOR_DIRECT_CENTER, nodefault};
	__property bool InertiaScroll = {read=FInertiaScroll, write=FInertiaScroll, nodefault};
	__property __int64 InertiaThreshold = {read=FInertiaThreshold, write=FInertiaThreshold};
	__property System::LongInt MaxInertiaSpeed = {read=FMaxInertiaSpeed, write=FMaxInertiaSpeed, nodefault};
	__property bool PrechargingTiles = {read=FPrechargingTiles, write=FPrechargingTiles, nodefault};
	__property __int64 PrechargingTilesDelay = {read=FPrechargingDelay, write=FPrechargingDelay};
	__property System::Byte PrechargingTilesDepth = {read=FPrechargingTilesDepth, write=FPrechargingTilesDepth, nodefault};
	__property TShapeDragMode ShapeDragMode = {read=FShapeDragMode, write=FShapeDragMode, nodefault};
	__property Uecnativeshape::TCSlopeColors* SlopeColors = {read=getSlopeColors};
	__property System::UnicodeString OSMShortLink = {read=getOSMShortLink, write=setOSMShortLink};
	__property bool Dark = {read=FDarkMode, write=setDarkMode, nodefault};
	__property bool Light = {read=FLightMode, write=setLightMode, nodefault};
	__property System::Word TileCacheSize = {read=getCacheSize, write=SetCacheSize, default=512};
	__property Uecnativetileserver::TTileServerInfo* TileServerInfo = {read=getTileServerInfo};
	__property int TileSize = {read=FTileSize, write=setTileSize, nodefault};
	__property int TilePPI = {read=FTilePPI, write=setTilePPI, nodefault};
	__property double TileServerOpacity = {read=getTileServerOpacity, write=setTileServerOpacity};
	__property __int64 MaximumTilesTimeout = {read=FMaximumTilesTimeout, write=FMaximumTilesTimeout};
	__property System::Uitypes::TMouseButton MouseButtonDragZoom = {read=FMouseButtonDragZoom, write=FMouseButtonDragZoom, nodefault};
	__property int MarginHint = {read=FMarginHint, write=setMarginHint, nodefault};
	__property System::UnicodeString DefaultHintProperty = {read=getDefaultHintProperty, write=setDefaultHintProperty};
	__property bool SuperZoom = {read=FSuperZoom, write=FSuperZoom, nodefault};
	__property bool UseInfoWindowDescription = {read=FUseInfoWindowDescription, write=FUseInfoWindowDescription, nodefault};
	__property Uecnativeshape::TECShapeInfoWindow* InfowindowDescription = {read=getInfoWindowDescription};
	__property Uecnativeshape::TECShapeLine* EditShadowLine = {read=getEditShadowLine};
	__property Uecnativeshape::TECShape* EditShape = {read=getEditShape};
	__property Uecnativeshape::TECShape* DragShape = {read=getDragShape, write=setDragShape};
	__property Uecnativeshape::TECShape* ShapeBringToFront = {read=getShapeBringToFront, write=setShapeBringToFront};
	__property bool EditableAddPointByClickOnMap = {read=FEditableAddPointByClickOnMap, write=FEditableAddPointByClickOnMap, nodefault};
	__property bool ExitEditableClickLastPointLine = {read=getExitEditableClickLastPointLine, write=setExitEditableClickLastPointLine, nodefault};
	__property Uecnativeshape::TECShape* MouseOverShape = {read=getMouseOverShape, write=setMouseOverShape};
	__property Uecopenweather::TECOpenWeather* OpenWeather = {read=getOpenWeather};
	__property TECOpenWeatherTilesLayer* OpenWeatherTilesLayer = {read=getOpenWeatherTilesLayer};
	__property TECScaleBar* ScaleBar = {read=FScaleBar};
	__property double NorthEastLatitude = {read=getNorthEastLatitude};
	__property double NorthEastLongitude = {read=getNorthEastLongitude};
	__property double SouthWestLatitude = {read=getSouthWestLatitude};
	__property double SouthWestLongitude = {read=getSouthWestLongitude};
	__property Uecnativeshape::TECShapes* Shapes = {read=getShapes};
	__property Uecnativeshape::TECShapes* Group[const System::UnicodeString value] = {read=getShapesGroup/*, default*/};
	__property Uecnativeshape::TECShapes* Group[const int value] = {read=getShapesGroup};
	__property Uecnativeshape::TECGroupShapesList* Groups = {read=getShapesGroups};
	__property int Count = {read=getGroupCount, nodefault};
	__property TNativeMapControl* Views[int index] = {read=getView};
	__property int ViewCount = {read=getViewCount, nodefault};
	__property Uecnativeshape::TECSelectedShapesList* Selected = {read=getSelected};
	__property Uecnativeshape::TECShapeInfoWindow* HintInfoWindow = {read=getHintInfoWindow};
	__property Uecmaputil::TECFilterColor* ColorFilter = {read=getBaseMapColorsFilter};
	__property float ScaleFactor = {read=getScaleFactor, write=setScaleFactor};
	__property TECWMSLayers* WMSLayers = {read=FECWMSLayers};
	__property TECWFSLayers* WFSLayers = {read=FECWFSLayers};
	__property Vcl::Imglist::TCustomImageList* Icons = {read=getIcons, write=setIcons};
	__property bool UpdateParentFormWindowProc = {read=FUpdateParentFormWindowProc, write=FUpdateParentFormWindowProc, nodefault};
	__property bool Use2DCanvas = {read=getUse2DCanvas, write=setUse2DCanvas, nodefault};
	__property bool UseGDICanvasWhenMove = {read=getUseGDICanvasWhenMove, write=setUseGDICanvasWhenMove, nodefault};
	__property bool TrafficLayer = {read=FTraffic, write=settrafficLayer, nodefault};
	__property unsigned TimerSpeed = {read=getTimerSpeed, write=setTimerSpeed, nodefault};
	__property System::UnicodeString toKml = {read=getToKml, write=setToKml};
	__property System::UnicodeString toGpx = {read=getToGPX, write=setToGpx};
	__property System::UnicodeString toWkt = {read=getToWKT, write=setToWKT};
	__property Uecmaputil::TToTxtType ToTxtType = {read=FToTxtType, write=setToTxtType, nodefault};
	__property System::UnicodeString toTxt = {read=getToTxt, write=setToTxt};
	__property System::UnicodeString toGeoJSon = {read=getToGeoJSon, write=setToGeoJSon};
	__property System::UnicodeString Url = {read=getUrl, write=setUrl};
	__property TECBubbleLayers* BubbleLayers = {read=FECBubbleLayers};
	__property TECChartLayers* ChartLayers = {read=FECChartLayers};
	__property TECNativeGeoHash* geohash = {read=FGeoHash};
	__property TECNativeFreeHand* FreeHand = {read=FFreeHand};
	__property TECDrawPath* DrawPath = {read=FDrawPath};
	__property TECTomTom* TomTom = {read=FTomTom};
	__property Uecnativemeasuremap::TECNativeMeasureMap* MeasureTool = {read=FMeasureTool, write=FMeasureTool};
	__property TECGoogle* Google = {read=FGoogle};
	__property TECAirQuality* AirQuality = {read=FAirQuality};
	__property TECGraticule* Graticule = {read=FGraticule};
	__property TOLCNativeMap* OpenLocationCode = {read=FOpenLocationCode};
	__property bool SaveEncodedPolyline = {read=getSaveEncodedPolyline, write=setSaveEncodedPolyline, nodefault};
	__property bool SSL = {read=FSSL, write=setSSL, nodefault};
	__property System::UnicodeString USerAgent = {read=FUserAgent, write=setUserAgent};
	__property bool OnlyLocal = {read=FOnlyLocal, write=setOnlyLocal, nodefault};
	__property int MinLowZoom = {read=FMinLowZoom, write=FMinLowZoom, nodefault};
	__property bool UseLowZoom = {read=FUseLowZoom, write=FUseLowZoom, nodefault};
	__property bool NotMoveMapIfMouseReachesEdge = {read=FNotMoveMapIfMouseReachesEdge, write=FNotMoveMapIfMouseReachesEdge, nodefault};
	__property bool ScaleMarkerToZoom = {read=getScaleMarkerToZoom, write=setScaleMarkerToZoom, nodefault};
	__property bool DontScaleMarkerToZoomIfSelected = {read=getDontScaleMarkerToZoomIfSelected, write=setDontScaleMarkerToZoomIfSelected, nodefault};
	__property bool AntiFreezeOnLoad = {read=FAntiFreezeOnLoad, write=FAntiFreezeOnLoad, nodefault};
	__property TECMapComponents* Components = {read=FMapComponents};
	__property System::UnicodeString CloudMadKey = {read=getCloudMadeKey, write=setCloudMadeKey};
	__property System::UnicodeString BingKey = {read=getBingKey, write=setBingKey};
	__property System::UnicodeString MapQuestKey = {read=getMapQuestKey, write=setMapQuestKey};
	__property System::UnicodeString VectorMapZenKey = {read=getVectorMapZenKey, write=setVectorMapZenKey};
	__property System::UnicodeString AzureKey = {read=getAzureKey, write=setAzureKey};
	__property System::UnicodeString MapBoxToken = {read=getMapBoxKey, write=setMapBoxKey};
	__property System::UnicodeString ThunderforestKey = {read=getOpenCycleMapKey, write=setOpenCycleMapKey};
	__property System::UnicodeString MapTilerKey = {read=getMaptilerKey, write=setMapTilerKey};
	__property System::UnicodeString StadiaMapsKey = {read=getStadiaMapsKey, write=setStadiaMapsKey};
	__property System::UnicodeString GeoApifyKey = {read=getTraceStrackKey, write=setTraceStrackKey};
	__property System::UnicodeString DigitalGlobeToken = {read=getDigitalGlobeToken, write=setDigitalGlobeToken};
	__property System::UnicodeString IgnKey = {read=getIgnKey, write=setIgnKey};
	__property System::UnicodeString OpenRouteServiceKey = {read=getOpenRouteServiceKey, write=setOpenRouteServiceKey};
	__property System::UnicodeString HereApiKey = {read=getHereID, write=setHereID};
	__property System::UnicodeString HereParam = {read=getHereParam, write=setHereParam};
	__property System::UnicodeString TomTomKey = {read=getTomTomKey, write=setTomTomKey};
	__property System::UnicodeString PTVKey = {read=getPTVKey, write=setPTVKey};
	__property System::UnicodeString AqicnKey = {read=getAqicnKey, write=setAqicnKey};
	__property Uecgeolocalise::TECGeoLocalise* GeoLocalise = {read=FGeoLocalise};
	__property int WheelZoomScaleFactorIncrement = {read=FWheelZoomScaleFactorIncrement, write=FWheelZoomScaleFactorIncrement, nodefault};
	__property int RequestTiles = {read=FRequestTiles, nodefault};
	__property int DrawTiles = {read=FDrawTiles, nodefault};
	__property Uecnativeshape::TECCartoStyles* Styles = {read=getCartoStyles};
	__property TECSnapDrag* SnapDrag = {read=getSnapDrag};
	__property bool SplitMap = {read=getSplitMap, write=setSplitMap, nodefault};
	__property TECBoundary* Boundary = {read=getBoundary};
	__property TECOverPass* OverPassApi = {read=getOverPass};
	__property Uecnativeshape::TOnCreateJSONPoint OnCreateJSONPoint = {read=getOnCreateJSONPoint, write=setOnCreateJSONPoint};
	__property Uecnativeshape::TOnGetScale OnGetScale = {read=getOnGetScale, write=setOnGetScale};
	__property TECXapiLayer* XapiLayer = {read=getXapiLayer};
	__property Uecmaputil::TECWorldInfo* WorldInfo = {read=FWorldInfo};
	__property int WorldX = {read=FWorldX, nodefault};
	__property int WorldY = {read=FWorldY, nodefault};
	__property System::Types::TPoint WorldLeftTop = {read=getWorldLeftTop, write=setWorldLeftTop};
	__property int TileX = {read=startX, nodefault};
	__property int TileY = {read=startY, nodefault};
	__property int MaxTileX = {read=FMaxX, nodefault};
	__property int MaxTileY = {read=FMaxY, nodefault};
	__property System::UnicodeString WMS_Time = {read=getTimeTileServerWMS, write=setTimeTileServerWMS};
	__property unsigned TimeLongClick = {read=FTimeLongClick, write=FTimeLongClick, nodefault};
	__property __int64 TimeMouseStop = {read=FTimeForMouseStop, write=FTimeForMouseStop};
	__property bool BackgroundComplete = {read=FBackgroundComplete, nodefault};
	__property bool DirectPaintToForm = {read=FDIRECT_PAINT_TO_FORM, write=FDIRECT_PAINT_TO_FORM, nodefault};
	__property Uecmaputil::TOnConversionESPG LatLngToEPSG = {read=getConversionESPG, write=setConversionESPG};
	__property Uecmaputil::TOnConversionESPG EPSGToLatLng = {read=getESPGToLatLng, write=setESPGToLatLng};
	__property System::Classes::TNotifyEvent OnChangeEditable = {read=getOnChangeEditable, write=setOnChangeEditable};
	
__published:
	__property bool FocusedShapeWhenClicking = {read=FFocusedShapeWhenClicking, write=FFocusedShapeWhenClicking, default=1};
	__property bool FocusedShapeWhenHovering = {read=FFocusedShapeWhenHovering, write=setFocusedShapeWhenHovering, default=0};
	__property bool HideShapesWhenZoom = {read=FHideShapesWhenZoom, write=FHideShapesWhenZoom, nodefault};
	__property bool HideShapesWhenWaitingTile = {read=FHideShapesWhenWaitingTile, write=FHideShapesWhenWaitingTile, nodefault};
	__property bool DblClickZoom = {read=FDblClickZoom, write=FDblClickZoom, nodefault};
	__property bool MouseWheelZoom = {read=FMouseWheelZoom, write=FMouseWheelZoom, nodefault};
	__property double latitude = {read=FLatitude, write=setLatitude};
	__property double longitude = {read=Flongitude, write=setLongitude};
	__property bool Reticle = {read=FReticle, write=FReticle, nodefault};
	__property System::Uitypes::TColor ReticleColor = {read=FReticleColor, write=FReticleColor, nodefault};
	__property TOnReticlePaint OnReticlePaint = {read=FOnReticlePaint, write=FOnReticlePaint};
	__property System::Byte Zoom = {read=FZoom, write=SetZoom, default=14};
	__property TZoomScaleFactor ZoomScaleFactor = {read=FZoomScaleFactor, write=setZoomScaleFactor, nodefault};
	__property double NumericalZoom = {read=getNumericalZoom, write=setNumericalZoom};
	__property bool ZoomEffect = {read=FZoomEffect, write=FZoomEffect, default=1};
	__property int ZoomEffectDelay = {read=FZoomEffectDelay, write=FZoomEffectDelay, default=500};
	__property TDragRect DragRect = {read=FDragRect, write=FDragRect, nodefault};
	__property bool Draggable = {read=FDraggable, write=setDraggable, nodefault};
	__property Uecmaputil::TTileServer TileServer = {read=getTileServer, write=SetTileServer, default=4};
	__property bool OnlyOneOpenInfoWindow = {read=getOnlyOneOpenInfoWindow, write=setOnlyOneOpenInfoWindow, nodefault};
	__property bool WaitingForDestruction = {read=getWaitingForDestruction, write=setWaitingForDestruction, nodefault};
	__property bool Active = {read=getMapActive, write=setMapActive, nodefault};
	__property Uecmaputil::TNbrThreadTile NbrThreadTile = {read=getNbrThreadTile, write=setNbrThreadTile, nodefault};
	__property System::Classes::TNotifyEvent OnChangeMapActive = {read=FOnChangeMapActive, write=FOnChangeMapActive};
	__property System::Classes::TNotifyEvent OnTilesTimeout = {read=FOnTilesTimeout, write=FOnTilesTimeout};
	__property System::Classes::TNotifyEvent OnChangeMapBounds = {read=FOnChangeMapBounds, write=FOnChangeMapBounds};
	__property System::Classes::TNotifyEvent OnBeforeChangeMapZoom = {read=FOnBeforeChangeMapZoom, write=FOnBeforeChangeMapZoom};
	__property System::Classes::TNotifyEvent OnChangeMapZoom = {read=FOnChangeMapZoom, write=FOnChangeMapZoom};
	__property System::Classes::TNotifyEvent OnCompleteTiles = {read=FOnCompleteTiles, write=FOnCompleteTiles};
	__property System::Classes::TNotifyEvent OnChangeTileServer = {read=FOnChangeTileServer, write=FOnChangeTileServer};
	__property System::Classes::TNotifyEvent OnMapFitBounds = {read=FOnMapFitBounds, write=FOnMapFitBounds};
	__property TOnMapSelectRect OnMapSelectChange = {read=FOnSelectChange, write=FOnSelectChange};
	__property TOnMapSelectRect OnMapSelectRect = {read=FOnSelectRect, write=FOnSelectRect};
	__property System::Classes::TNotifyEvent OnMapEnter = {read=FOnMouseEnter, write=FOnMouseEnter};
	__property System::Classes::TNotifyEvent OnMapLeave = {read=FOnMouseLeave, write=FOnMouseLeave};
	__property TOnMapLatLng OnEditMapClick = {read=FOnEditMapClick, write=FOnEditMapClick};
	__property TOnMapLatLng OnMapClick = {read=FOnMapClick, write=FOnMapClick};
	__property TOnMapLatLng OnMapLongClick = {read=FOnMapLongClick, write=FOnMapLongClick};
	__property TOnMapLatLng OnMapRightClick = {read=FOnMapRightClick, write=FOnMapRightClick};
	__property TOnMapLatLng OnMapMove = {read=FOnMapMove, write=FOnMapMove};
	__property TOnMapLatLng OnMapMouseMove = {read=FOnMapMouseMove, write=FOnMapMouseMove};
	__property TOnMapLatLng OnMapMouseStop = {read=FOnMapMouseStop, write=FOnMapMouseStop};
	__property TOnMapLatLng OnMapMouseUp = {read=FOnMapMouseUp, write=FOnMapMouseUp};
	__property TOnMapLatLng OnMapMouseDown = {read=FOnMapMouseDown, write=FOnMapMouseDown};
	__property TOnMapMouseWheel OnMapMouseWheel = {read=FOnMapMouseWheel, write=FOnMapMouseWheel};
	__property TOnMapLatLng OnMapDblClick = {read=FOnMapDblClick, write=FOnMapDblClick};
	__property System::Classes::TNotifyEvent OnMapDragStart = {read=FOnMapDragStart, write=FOnMapDragStart};
	__property System::Classes::TNotifyEvent OnMapDragEnd = {read=FOnMapDragEnd, write=FOnMapDragEnd};
	__property System::Classes::TNotifyEvent OnMapDrag = {read=FOnMapDrag, write=FOnMapDrag};
	__property TOnMapPaint OnMapPaint = {read=FOnMapPaint, write=FOnMapPaint};
	__property TOnMapPaint OnShapesPaint = {read=FOnShapesPaint, write=FOnShapesPaint};
	__property System::Classes::TNotifyEvent OnOutOfBounds = {read=FOnOutOfBounds, write=FOnOutOfBounds};
	__property Uecnativeshape::TOnShapeMove OnShapeMove = {read=FOnShapeMove, write=FOnShapeMove};
	__property Uecnativeshape::TOnShapeMove OnShapeDrag = {read=FOnShapeDrag, write=FOnShapeDrag};
	__property System::Classes::TNotifyEvent OnShapeDragEnd = {read=FOnShapeDragEnd, write=FOnShapeDragEnd};
	__property System::Classes::TNotifyEvent OnShapeFocus = {read=FOnShapeFocus, write=FOnShapeFocus};
	__property System::Classes::TNotifyEvent OnShapeOverIntent = {read=FOnShapeOverIntent, write=FOnShapeOverIntent};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeMouseOver = {read=FOnShapeMouseOver, write=FOnShapeMouseOver};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeMouseOut = {read=FOnshapeMouseOut, write=FOnshapeMouseOut};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeMouseDown = {read=FOnShapeMouseDown, write=FOnShapeMouseDown};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeMouseup = {read=FOnShapeMouseUp, write=FOnShapeMouseUp};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeClick = {read=FOnShapeClick, write=FOnShapeClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeLongClick = {read=FOnShapeLongClick, write=FOnShapeLongClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeRightClick = {read=FOnShapeRightClick, write=FOnShapeRightClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnShapeDblClick = {read=FOnShapeDblClick, write=FOnShapeDblClick};
	__property System::Classes::TNotifyEvent OnShapePathChange = {read=FOnShapePathChange, write=setOnShapePathChange};
	__property System::Classes::TNotifyEvent OnCloseInfoWindow = {read=FOnCloseInfoWindow, write=setOnCloseInfoWindow};
	__property System::Classes::TNotifyEvent OnShapeAutoHide = {read=FOnShapeAutoHide, write=setOnShapeAutoHide};
	__property System::Classes::TNotifyEvent OnShapeAutoShow = {read=FOnShapeAutoShow, write=setOnShapeAutoShow};
	__property Uecnativeshape::TOnRoutePath OnRoutePath = {read=FOnRoutePath, write=FOnRoutePath};
	__property TOnLoadGroup OnLoad = {read=FOnLoadGroup, write=FOnLoadGroup};
	__property Uecnativeshape::TOnLoadShapes OnLoadShapes = {read=FOnLoadShapes, write=setOnLoadShapes};
	__property System::Classes::TNotifyEvent OnLongPress = {read=FOnLongPress, write=FOnLongPress};
	__property Uecnativeshape::TOnAddShapeToView OnAddShapeToView = {read=FOnAddShapeToView, write=setOnAddShapeToView};
	__property TOnMapGeofence OnEnterGeofence = {read=FOnEnterGeofence, write=FOnEnterGeofence};
	__property TOnMapGeofence OnLeaveGeofence = {read=FOnLeaveGeofence, write=FOnLeaveGeofence};
	__property System::Classes::TNotifyEvent OnPanoramio = {read=FOnPanoramio};
	__property TOnPanoramioClick OnPanoramioClick = {read=FOnPanoramioClick, write=FOnPanoramioClick};
	__property TOnClusterClick OnClusterClick = {read=FOnClusterClick, write=FOnClusterClick};
	__property System::Classes::TNotifyEvent OnTraffic = {read=FOnTraffic, write=setOnTraffic};
	__property TOnBeforeUrl OnBeforeUrl = {read=FOnBeforeUrl, write=FOnBeforeUrl};
	__property System::Classes::TNotifyEvent OnErrorConnexion = {read=FOnErrorConnexion, write=FOnErrorConnexion};
	__property Align = {default=0};
	__property System::Uitypes::TCursor Cursor = {read=getCursor, write=setCursor, nodefault};
	__property Enabled = {default=1};
	__property Height;
	__property Visible = {default=1};
	__property Width;
	__property Tag = {default=0};
	__property Anchors = {default=3};
	__property TabOrder = {default=-1};
	__property TabStop = {default=0};
	__property OnKeyPress;
	__property OnDragDrop;
	__property OnDragOver;
	__property OnEndDrag;
	__property OnKeyUp;
	__property OnKeyDown;
	__property Left;
	__property Top;
	__property OnResize;
public:
	/* TWinControl.CreateParented */ inline __fastcall TNativeMapControl(HWND ParentWindow) : Vcl::Controls::TCustomControl(ParentWindow) { }
	
};


class PASCALIMPLEMENTATION TECNativeMap : public TNativeMapControl
{
	typedef TNativeMapControl inherited;
	
public:
	bool __fastcall ContainsLatLng(const double dLatitude, const double dLongitude);
	double __fastcall Altitude(const double dLatitude, const double dLongitude);
	System::UnicodeString __fastcall GetAddressFromLatLng(const double dLatitude, const double dLongitude);
	void __fastcall LatLngToUTM(const double latitude, const double longitude, double &UTMNorthing, double &UTMEasting, System::UnicodeString &UTMZone);
	void __fastcall UTMToLatLng(const double UTMNorthing, const double UTMEasting, const System::UnicodeString UTMZone, double &Lat, double &Lng);
	System::UnicodeString __fastcall LatLngToQTHLocator(const double Lat, const double Lng);
	void __fastcall QTHLocatorToLatlng(System::UnicodeString Locator, double &Lat, double &Lng);
	bool __fastcall GetLatLngFromAddress(const System::UnicodeString sAddress, double &dLatitude, double &dLongitude)/* overload */;
	bool __fastcall GetLatLngFromAddress(const System::UnicodeString sAddress, double &dLatitude, double &dLongitude, System::UnicodeString &display_name)/* overload */;
	bool __fastcall GetLatLngStructuredAddress(double &dLatitude, double &dLongitude, const System::UnicodeString sAddress)/* overload */;
	bool __fastcall GetLatLngStructuredAddress(double &dLatitude, double &dLongitude, const System::UnicodeString street, const System::UnicodeString city, const System::UnicodeString amenity = System::UnicodeString(), const System::UnicodeString county = System::UnicodeString(), const System::UnicodeString state = System::UnicodeString(), const System::UnicodeString country = System::UnicodeString(), const System::UnicodeString postalcode = System::UnicodeString())/* overload */;
	bool __fastcall StructuredAddress(const System::UnicodeString sAddress)/* overload */;
	bool __fastcall StructuredAddress(const System::UnicodeString street, const System::UnicodeString city, const System::UnicodeString amenity = System::UnicodeString(), const System::UnicodeString county = System::UnicodeString(), const System::UnicodeString state = System::UnicodeString(), const System::UnicodeString country = System::UnicodeString(), const System::UnicodeString postalcode = System::UnicodeString())/* overload */;
	void __fastcall LatLonFromDistanceBearing(double lat1, double lon1, double meters, double brng, double &lat2, double &lon2);
	void __fastcall boundingCoordinates(const double Lat, const double Lng, const double Radius, double &latSW, double &lngSW, double &latNE, double &lngNE);
	int __fastcall bearing(double lat1, double lng1, double lat2, double lng2);
	double __fastcall RoadDistance(const System::UnicodeString *AddressPoints, const System::NativeInt AddressPoints_High)/* overload */;
	double __fastcall RoadDistance(const double *LatLngPoints, const System::NativeInt LatLngPoints_High)/* overload */;
	double __fastcall RoadDistance(Uecnativeshape::TECShape* const *Shapes, const System::NativeInt Shapes_High)/* overload */;
	double __fastcall DistanceFrom(const double dLatitudeStart, const double dLongitudeStart, const double dLatitudeEnd, const double dLongitudeEnd);
	double __fastcall VincentyInverseDistance(double lat1, double lon1, double lat2, double lon2);
	void __fastcall VincentyDirectDistance(double lat1, double lon1, double bearing, double Dist, double &lat2, double &lon2);
	int __fastcall PixelDistance(const double dLatitudeStart, const double dLongitudeStart, const double dLatitudeEnd, const double dLongitudeEnd)/* overload */;
	int __fastcall PixelDistance(Uecnativeshape::TECShape* const shapeA, Uecnativeshape::TECShape* const shapeB)/* overload */;
	int __fastcall MeterToPixel(const int meter, double Lat = -7.700000E+01)/* overload */;
	int __fastcall MeterToPixel(const double meter, double Lat = -7.700000E+01)/* overload */;
	int __fastcall MeterZoomToPixel(const int meter, int AZoom, double Lat = -7.700000E+01)/* overload */;
	int __fastcall MeterZoomToPixel(const double meter, int AZoom, double Lat = -7.700000E+01)/* overload */;
	double __fastcall PixelToMeter(const int Pixels, double Lat = -7.700000E+01)/* overload */;
	double __fastcall PixelToMeter(const double Pixels, double Lat = -7.700000E+01)/* overload */;
	double __fastcall PixelZoomToMeter(const double Pixels, const int AZoom, double Lat = -7.700000E+01)/* overload */;
	double __fastcall PixelZoomToMeter(const int Pixels, const int AZoom, double Lat = -7.700000E+01)/* overload */;
public:
	/* TNativeMapControl.Create */ inline __fastcall virtual TECNativeMap(System::Classes::TComponent* AOwner) : TNativeMapControl(AOwner) { }
	/* TNativeMapControl.Destroy */ inline __fastcall virtual ~TECNativeMap() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TECNativeMap(HWND ParentWindow) : TNativeMapControl(ParentWindow) { }
	
};


class PASCALIMPLEMENTATION TECXapiLayer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::TObject* FXapiLayer;
	System::Classes::TNotifyEvent FOnStartSearch;
	Uecnativeshape::TECShapes* FShapes;
	bool FJunction;
	void __fastcall setJunction(bool value);
	TOnShape __fastcall getOnClick();
	void __fastcall setOnClick(TOnShape value);
	System::Classes::TNotifyEvent __fastcall getOnChange();
	void __fastcall setOnChange(System::Classes::TNotifyEvent value);
	System::UnicodeString __fastcall getSearch();
	void __fastcall setSearch(const System::UnicodeString value);
	bool __fastcall getVisible();
	void __fastcall setVisible(const bool value);
	int __fastcall getMaxItem();
	void __fastcall setMaxItem(const int value);
	int __fastcall getDecimalPrecision();
	void __fastcall setDecimalPrecision(int value);
	void __fastcall doOnStartSearch(System::TObject* Sender);
	
public:
	__fastcall TECXapiLayer(TNativeMapControl* Map);
	__fastcall virtual ~TECXapiLayer();
	bool __fastcall Bound(double NELat, double NELng, double SWLat, double SWLng);
	bool __fastcall LoadFromFile(const System::UnicodeString Filename);
	void __fastcall OpenWindow(double Lat, double Lng, const System::UnicodeString Content, int Width = 0x140);
	void __fastcall CloseWindow();
	__property Uecnativeshape::TECShapes* Shapes = {read=FShapes};
	__property System::UnicodeString Search = {read=getSearch, write=setSearch};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property int MaxItem = {read=getMaxItem, write=setMaxItem, nodefault};
	__property int DecimalPrecision = {read=getDecimalPrecision, write=setDecimalPrecision, nodefault};
	__property bool Junction = {read=FJunction, write=setJunction, nodefault};
	__property TOnShape OnClick = {read=getOnClick, write=setOnClick};
	__property System::Classes::TNotifyEvent OnChange = {read=getOnChange, write=setOnChange};
	__property System::Classes::TNotifyEvent OnStartSearch = {read=FOnStartSearch, write=FOnStartSearch};
};


typedef void __fastcall (__closure *TOnScreenShot)(const System::UnicodeString Name, Vcl::Graphics::TBitmap* const ScreenShot);

typedef void __fastcall (__closure *TOnBeforeScreenShot)(TNativeMapControl* const Map);

class PASCALIMPLEMENTATION TECOffScreenScreenShot : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	unsigned FTime;
	bool OkForNextScreenShoot;
	Uecmaputil::TThreadStringList* FWaitList;
	System::Generics::Collections::TList__1<TNativeMapControl*>* FActiveOffScreenMaps;
	System::Generics::Collections::TList__1<TNativeMapControl*>* FOffScreenMaps;
	int FWidth;
	int FHeight;
	double FScaleFactor;
	bool FShowShapes;
	Uecmaputil::TTileServer FTileServer;
	TOnBeforeScreenShot FOnBeforeScreenShot;
	TOnScreenShot FOnScreenShot;
	void __fastcall doTilesTimeout(System::TObject* Sender);
	void __fastcall doScreenShot(System::TObject* Sender);
	void __fastcall ProcessMessages();
	TNativeMapControl* __fastcall getOffScreenMap();
	void __fastcall setWidth(const int value);
	void __fastcall setHeight(const int value);
	int __fastcall getCount();
	
public:
	__fastcall TECOffScreenScreenShot(TNativeMapControl* const Map);
	__fastcall virtual ~TECOffScreenScreenShot();
	void __fastcall ScreenShot(const double latitude, const double longitude, const System::Byte Zoom, const System::UnicodeString Name = System::UnicodeString())/* overload */;
	void __fastcall ScreenShot(const double NELat, const double NELng, const double SWLat, const double SWLng, const System::UnicodeString Name = System::UnicodeString())/* overload */;
	void __fastcall ScreenShot(const double dLat, const double dLng, const double dRadiusKm, const System::UnicodeString Name = System::UnicodeString())/* overload */;
	void __fastcall cancel(const int value)/* overload */;
	void __fastcall cancel(const System::UnicodeString Name)/* overload */;
	void __fastcall CancelAll();
	int __fastcall Progress(const int value)/* overload */;
	int __fastcall Progress(const System::UnicodeString Name)/* overload */;
	__property int Count = {read=getCount, nodefault};
	__property int Width = {read=FWidth, write=setWidth, nodefault};
	__property int Height = {read=FHeight, write=setHeight, nodefault};
	__property Uecmaputil::TTileServer TileServer = {read=FTileServer, write=FTileServer, nodefault};
	__property double ScaleFactor = {read=FScaleFactor, write=FScaleFactor};
	__property bool ShowShapes = {read=FShowShapes, write=FShowShapes, nodefault};
	__property TOnBeforeScreenShot OnBeforeScreenShot = {read=FOnBeforeScreenShot, write=FOnBeforeScreenShot};
	__property TOnScreenShot OnScreenShot = {read=FOnScreenShot, write=FOnScreenShot};
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TECIsoChrone : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::UnicodeString FKey;
	System::UnicodeString FMaskUrl;
	System::UnicodeString FServerUrl;
	Uechttp::TuecHttp* FHttp;
	TRoutingEngine FRoutingEngine;
	Uecnativeshape::TECShapes* FGroup;
	System::UnicodeString __fastcall MakeUrl(const double Lat, const double Lng, Uecnativeshape::TECShape* const *Shapes, const System::NativeInt Shapes_High, const System::UnicodeString contour, const double *DeltaContour, const System::NativeInt DeltaContour_High, Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x2));
	bool __fastcall LoadIsoChrone(const System::UnicodeString Url, Uecnativeshape::TECShape* const *Shapes, const System::NativeInt Shapes_High);
	
public:
	__fastcall TECIsoChrone(TNativeMapControl* Map);
	__fastcall virtual ~TECIsoChrone();
	bool __fastcall Time(const double Lat, const double Lng, Uecnativeshape::TECShape* const *Shapes, const System::NativeInt Shapes_High, const double *mnTime, const System::NativeInt mnTime_High, Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x2))/* overload */;
	bool __fastcall Distance(const double Lat, const double Lng, Uecnativeshape::TECShape* const *Shapes, const System::NativeInt Shapes_High, const double *kmDistance, const System::NativeInt kmDistance_High, Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x2))/* overload */;
	bool __fastcall Time(const double Lat, const double Lng, Uecnativeshape::TECShapeList* const ShapeList, const double *mnTime, const System::NativeInt mnTime_High, Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x2))/* overload */;
	bool __fastcall Distance(const double Lat, const double Lng, Uecnativeshape::TECShapeList* const ShapeList, const double *kmDistance, const System::NativeInt kmDistance_High, Uecmaputil::TMQRouteType routeType = (Uecmaputil::TMQRouteType)(0x2))/* overload */;
	__property System::UnicodeString ServerURL = {read=FServerUrl, write=FServerUrl};
};

#pragma pack(pop)

class PASCALIMPLEMENTATION TECRouting : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uechttp::TuecHttp* FHttp;
	TECIsoChrone* FIsoChrone;
	bool FAsynchronous;
	TRoutingEngine FRoutingEngine;
	TNativeMapControl* FMap;
	Uecmaputil::TNativeMapObserver* FObserver;
	TECTurnByTurn* FTurnByTurn;
	TECItinerary* FECItinerary;
	System::TObject* FecNativeLineToRoute;
	System::UnicodeString FOSMR_MATCH_URL;
	Uecnativeshape::TOnAddRoute FOnAddRoute;
	Uecnativeshape::TOnChangeRoute FOnChangeRoute;
	Uecnativeshape::TOnErrorRoute FOnErrorRoute;
	Uecnativeshape::TOnDrawRoute FOnDrawRoute;
	System::UnicodeString FStartMarkerFilename;
	System::UnicodeString FEndMarkerFilename;
	int FRouteDrawingTime;
	Uecmaputil::TMQRouteType FRouteType;
	System::UnicodeString FGroupName;
	System::Uitypes::TColor FColor;
	int FWeight;
	bool FEditOnClick;
	void __fastcall setMap(TNativeMapControl* value);
	void __fastcall setOptimizeRoute(const bool value);
	bool __fastcall getOptimizeRoute();
	void __fastcall doNotifyRoute(System::TObject* Sender);
	void __fastcall doNotifyChangeRoute(System::TObject* Sender);
	void __fastcall doNotifyErrorRoute(System::TObject* Sender);
	void __fastcall UpdateStartAndEnd(System::TObject* Sender);
	void __fastcall doOnDrawAllRoute(System::TObject* Sender);
	void __fastcall doCreateShapeLinePoint(System::TObject* Sender, Uecnativeshape::TECShapes* const Group, Uecnativeshape::TECShape* &ShapeLinePoint, const double Lat, const double Lng, const int index);
	Uecnativeshape::TECShapeLine* __fastcall getEditRoute();
	void __fastcall setEditRoute(Uecnativeshape::TECShapeLine* value);
	void __fastcall setRouteType(Uecmaputil::TMQRouteType value);
	void __fastcall setColor(System::Uitypes::TColor value);
	void __fastcall setWeight(int value);
	void __fastcall UpdateColors(Uecnativeshape::TECShapeLine* Line);
	void __fastcall doOnLineClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall setEngineUrl(Uecgeolocalise::TECThreadRoutingUrl RoutingEngineUrl);
	Uecgeolocalise::TECThreadRoutingUrl __fastcall getEngineUrl();
	void __fastcall setEngineValidUrl(Uecgeolocalise::TECThreadRoutingUrl RoutingEngineUrl);
	Uecgeolocalise::TECThreadRoutingUrl __fastcall getEngineValidUrl();
	void __fastcall setEngineExecute(Uecgeolocalise::TECThreadRoutingExecute RoutingEngineExecute);
	Uecgeolocalise::TECThreadRoutingExecute __fastcall getEngineExecute();
	void __fastcall setEngineDownload(Uecgeolocalise::TECThreadRoutingDownload RoutingEngineDownload);
	Uecgeolocalise::TECThreadRoutingDownload __fastcall getEngineDownload();
	void __fastcall setEngineName(const System::UnicodeString EngineName);
	System::UnicodeString __fastcall getEngineName();
	void __fastcall setEngineKey(const System::UnicodeString EngineKey);
	System::UnicodeString __fastcall getEngineKey();
	Uecnativeshape::TECShapeLine* __fastcall getFutureRoute();
	
public:
	__fastcall TECRouting();
	__fastcall virtual ~TECRouting();
	bool __fastcall Match(const double *dLatLngs, const System::NativeInt dLatLngs_High, Uecnativeshape::TECShapeLine* Line);
	__property bool Asynchronous = {read=FAsynchronous, write=FAsynchronous, nodefault};
	void __fastcall Engine(TRoutingEngine value, const System::UnicodeString APiKey = System::UnicodeString());
	int __fastcall CountRequests();
	void __fastcall ClearPendingRequests();
	void __fastcall Request(const System::UnicodeString StartAdress, const System::UnicodeString EndAdress, const System::UnicodeString Params = System::UnicodeString(), Uecnativeshape::TECShapeLine* Line = (Uecnativeshape::TECShapeLine*)(0x0))/* overload */;
	void __fastcall Request(const double *dLatLngs, const System::NativeInt dLatLngs_High, const System::UnicodeString Params = System::UnicodeString(), Uecnativeshape::TECShapeLine* Line = (Uecnativeshape::TECShapeLine*)(0x0))/* overload */;
	void __fastcall Request(const System::UnicodeString StartAdress, const System::UnicodeString EndAdress, Uecnativeshape::TECShapeLine* const Line)/* overload */;
	__property Uecgeolocalise::TECThreadRoutingUrl EngineUrl = {read=getEngineUrl, write=setEngineUrl};
	__property Uecgeolocalise::TECThreadRoutingUrl EngineValidUrl = {read=getEngineValidUrl, write=setEngineValidUrl};
	__property Uecgeolocalise::TECThreadRoutingExecute EngineExecute = {read=getEngineExecute, write=setEngineExecute};
	__property Uecgeolocalise::TECThreadRoutingDownload EngineDownload = {read=getEngineDownload, write=setEngineDownload};
	__property System::UnicodeString EngineName = {read=getEngineName, write=setEngineName};
	__property System::UnicodeString EngineKey = {read=getEngineKey, write=setEngineKey};
	__property Uecnativeshape::TECShapeLine* FutureRoute = {read=getFutureRoute};
	__property Uecnativeshape::TECShapeLine* EditRoute = {read=getEditRoute, write=setEditRoute};
	__property bool EditOnClick = {read=FEditOnClick, write=FEditOnClick, nodefault};
	__property System::UnicodeString GroupName = {read=FGroupName, write=FGroupName};
	__property bool OptimizeRoute = {read=getOptimizeRoute, write=setOptimizeRoute, nodefault};
	__property TRoutingEngine RoutingEngine = {read=FRoutingEngine, nodefault};
	__property Uecnativeshape::TOnAddRoute OnAddRoute = {read=FOnAddRoute, write=FOnAddRoute};
	__property Uecnativeshape::TOnChangeRoute OnChangeRoute = {read=FOnChangeRoute, write=FOnChangeRoute};
	__property Uecnativeshape::TOnErrorRoute OnErrorRoute = {read=FOnErrorRoute, write=FOnErrorRoute};
	__property Uecnativeshape::TOnDrawRoute OnDrawRoute = {read=FOnDrawRoute, write=FOnDrawRoute};
	__property System::UnicodeString StartMarkerFilename = {read=FStartMarkerFilename, write=FStartMarkerFilename};
	__property System::UnicodeString EndMarkerFilename = {read=FEndMarkerFilename, write=FEndMarkerFilename};
	__property int RouteDrawingTime = {read=FRouteDrawingTime, write=FRouteDrawingTime, nodefault};
	__property Uecmaputil::TMQRouteType routeType = {read=FRouteType, write=setRouteType, nodefault};
	__property System::Uitypes::TColor Color = {read=FColor, write=setColor, nodefault};
	__property int Weight = {read=FWeight, write=setWeight, nodefault};
	__property TECTurnByTurn* TurnByTurn = {read=FTurnByTurn};
	__property TECItinerary* Itinerary = {read=FECItinerary};
	__property TECIsoChrone* IsoChrone = {read=FIsoChrone, write=FIsoChrone};
	__property System::UnicodeString OSMR_Match_Url = {read=FOSMR_MATCH_URL, write=FOSMR_MATCH_URL};
};


class PASCALIMPLEMENTATION TECItinerarySegment : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	int a;
	int b;
	Uecmaputil::TLatLng FPointA;
	Uecmaputil::TLatLng FPointB;
	double FKm;
	System::UnicodeString FInstruction;
	System::UnicodeString FManoeuver;
	
public:
	__property System::UnicodeString Instruction = {read=FInstruction};
	__property System::UnicodeString Manoeuver = {read=FManoeuver};
	__property double DistanceKM = {read=FKm};
	__property Uecmaputil::TLatLng PointA = {read=FPointA};
	__property Uecmaputil::TLatLng PointB = {read=FPointB};
public:
	/* TObject.Create */ inline __fastcall TECItinerarySegment() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TECItinerarySegment() { }
	
};


typedef void __fastcall (__closure *TOnSelectedItinerarySegment)(TECItinerary* Sender);

class PASCALIMPLEMENTATION TECItinerary : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECItinerarySegment* operator[](const int index) { return this->Segment[index]; }
	
private:
	TECNativeMap* FMap;
	Uecmaputil::TNativeMapObserver* FObserver;
	System::Classes::TNotifyEvent FOldOnDestroy;
	int FOldMinPointForUseDouglasPeucker;
	int FSegmentIndex;
	Uecnativeshape::TECShapeLine* FSelected_route;
	Uecnativeshape::TECShapeLine* FSelected_segment;
	System::Classes::TList* FSegments;
	System::Classes::TNotifyEvent FOnChangeRoute;
	TOnSelectedItinerarySegment FOnSelectedItinerarySegment;
	void __fastcall setMap(TECNativeMap* value);
	TECItinerarySegment* __fastcall getSegment(const int index);
	int __fastcall getCount();
	void __fastcall setRoute(Uecnativeshape::TECShapeLine* const value);
	void __fastcall setSegmentIndex(const int value);
	System::UnicodeString __fastcall getArrival();
	System::UnicodeString __fastcall getStart();
	void __fastcall doOnShapeClick(System::TObject* Sender);
	void __fastcall doDestroy(System::TObject* Sender);
	
public:
	__fastcall TECItinerary();
	__fastcall virtual ~TECItinerary();
	void __fastcall ShowInstruction(const int index);
	void __fastcall ShowSegment(const int index);
	__property int Count = {read=getCount, nodefault};
	__property Uecnativeshape::TECShapeLine* Route = {read=FSelected_route, write=setRoute};
	__property Uecnativeshape::TECShapeLine* SegmentRoute = {read=FSelected_segment};
	__property TECItinerarySegment* Segment[const int index] = {read=getSegment/*, default*/};
	__property int SegmentIndex = {read=FSegmentIndex, write=setSegmentIndex, nodefault};
	__property System::UnicodeString Arrival = {read=getArrival};
	__property System::UnicodeString Start = {read=getStart};
	__property TOnSelectedItinerarySegment OnSelectedItinerarySegment = {read=FOnSelectedItinerarySegment, write=FOnSelectedItinerarySegment};
	__property System::Classes::TNotifyEvent OnChangeRoute = {read=FOnChangeRoute, write=FOnChangeRoute};
};


typedef void __fastcall (__closure *TOnTurnByTurnInstruction)(TECTurnByTurn* Sender, const System::UnicodeString Instruction, const double Distance);

typedef void __fastcall (__closure *TOnTurnByTurnAlert)(TECTurnByTurn* Sender, const System::UnicodeString Instruction, const double Distance);

typedef void __fastcall (__closure *TOnTurnByTurnError)(TECTurnByTurn* Sender, const double Lat, const double Lng, const int ErrorCounter);

class PASCALIMPLEMENTATION TECTurnByTurn : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uecnativeshape::TECShapeLine* FLine;
	Uecmaputil::TLatLng FLastInstructionPos;
	Uecmaputil::TLatLng FLastPos;
	System::UnicodeString FLastFlagInstruction;
	bool FFlagInstruction;
	int FFlagError;
	TOnTurnByTurnInstruction FOnInstruction;
	TOnTurnByTurnAlert FOnAlert;
	TOnTurnByTurnInstruction FOnAfterInstruction;
	System::Classes::TNotifyEvent FOnArrival;
	TOnTurnByTurnError FOnError;
	System::Classes::TNotifyEvent FOnConnectRoute;
	System::Classes::TNotifyEvent FOnDeconnectRoute;
	Uecmaputil::TLatLng FNextInstructionPosition;
	System::UnicodeString FNextManeuver;
	System::UnicodeString FNextInstruction;
	double FNextInstructionInKm;
	int FErrorDistance;
	int FArrivalDistance;
	int FAlertDistance;
	int FExecutionDistance;
	void __fastcall setLine(Uecnativeshape::TECShapeLine* const value);
	
public:
	__fastcall TECTurnByTurn();
	bool __fastcall position(const double Lat, const double Lng);
	__property Uecnativeshape::TECShapeLine* Line = {read=FLine, write=setLine};
	__property System::UnicodeString NextInstruction = {read=FNextInstruction};
	__property System::UnicodeString NextManeuver = {read=FNextManeuver};
	__property double NextInstructionInKm = {read=FNextInstructionInKm};
	__property Uecmaputil::TLatLng NextInstructionPosition = {read=FNextInstructionPosition};
	__property int ArrivalDistance = {read=FArrivalDistance, write=FArrivalDistance, nodefault};
	__property int AlertDistance = {read=FAlertDistance, write=FAlertDistance, nodefault};
	__property int ExecutionDistance = {read=FExecutionDistance, write=FExecutionDistance, nodefault};
	__property int ErrorDistance = {read=FErrorDistance, write=FErrorDistance, nodefault};
	__property TOnTurnByTurnAlert OnAlert = {read=FOnAlert, write=FOnAlert};
	__property System::Classes::TNotifyEvent OnArrival = {read=FOnArrival, write=FOnArrival};
	__property TOnTurnByTurnError OnError = {read=FOnError, write=FOnError};
	__property TOnTurnByTurnInstruction OnInstruction = {read=FOnInstruction, write=FOnInstruction};
	__property TOnTurnByTurnInstruction OnAfterInstruction = {read=FOnAfterInstruction, write=FOnAfterInstruction};
	__property System::Classes::TNotifyEvent OnConnectRoute = {read=FOnConnectRoute, write=FOnConnectRoute};
	__property System::Classes::TNotifyEvent OnDeconnectRoute = {read=FOnDeconnectRoute, write=FOnDeconnectRoute};
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TECTurnByTurn() { }
	
};


enum DECLSPEC_DENUM TAirQualityIndex : unsigned char { usepa_aqi, usepa_pm25, usepa_10, usepa_o3, usepa_no2, usepa_so2, usepa_co, asean_pm10 };

enum DECLSPEC_DENUM TAirQualityLevel : unsigned char { aqlGood, aqlModerate, aqlUnhealthySensitive, aqlUnhealthy, aqlVeryUnhealthy, aqlHazardous };

typedef System::StaticArray<System::Uitypes::TColor, 6> TAirQualityPalette;

struct DECLSPEC_DRECORD TAirQualityItem
{
public:
	System::UnicodeString Name;
	double value;
};


typedef System::DynamicArray<TAirQualityItem> TAirQualityPollutants;

typedef System::DynamicArray<TAirQualityItem> TAirQualityWeather;

struct DECLSPEC_DRECORD TAirQualityCity
{
public:
	bool Ok;
	System::UnicodeString Query;
	System::UnicodeString JSON;
	System::UnicodeString Name;
	double latitude;
	double longitude;
	TAirQualityItem DominantPollutant;
	TAirQualityPollutants Pollutants;
	TAirQualityWeather Weather;
	System::UnicodeString IsoTime;
	System::TDateTime Time;
	TAirQualityLevel level;
	System::Uitypes::TColor LevelColor;
};


typedef void __fastcall (__closure *TAirQualityOnJson)(System::TObject* Sender, const System::UnicodeString Query, const System::UnicodeString JSON);

typedef void __fastcall (__closure *TAirQualityEvent)(const TAirQualityCity &Sender);

#pragma pack(push,4)
class PASCALIMPLEMENTATION TAirQualityData : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	System::UnicodeString Query;
	System::UnicodeString response;
	bool Map;
	bool station;
	bool hover;
	bool city;
public:
	/* TObject.Create */ inline __fastcall TAirQualityData() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TAirQualityData() { }
	
};

#pragma pack(pop)

class PASCALIMPLEMENTATION TECAirQuality : public System::TObject
{
	typedef System::TObject inherited;
	
	
private:
	typedef System::StaticArray<System::UnicodeString, 6> _TECAirQuality__1;
	
	
private:
	_TECAirQuality__1 FLegends;
	TECOverlayTileLayer* FOverlay;
	TAirQualityIndex FAirQualityIndex;
	TNativeMapControl* FMap;
	System::UnicodeString _CACHE_;
	Uecnativeshape::TECShapes* FShapes;
	System::Classes::TList* FDataList;
	Uechttp::TuecHttp* FHttp;
	System::Classes::TStringList* FSList;
	bool FShowLayer;
	int FStationSize;
	System::UnicodeString FUrlFeedGeo;
	System::UnicodeString FUrlMapBounds;
	TAirQualityCity FCity;
	TAirQualityPalette FPalette;
	TAirQualityOnJson FOnJson;
	TAirQualityEvent FOnClick;
	TAirQualityEvent FOnHover;
	System::Classes::TNotifyEvent FOnRequest;
	double FNELat;
	double FNELng;
	double FSWLat;
	double FSWLng;
	bool FFirstActivate;
	Uecmaputil::TNativeMapObserver* FObserver;
	void __fastcall setKey(const System::UnicodeString value);
	System::UnicodeString __fastcall getKey();
	void __fastcall setShowLayer(const bool value);
	void __fastcall setLayerIndex(const TAirQualityIndex value);
	void __fastcall doJson(System::TObject* Sender);
	void __fastcall doMapEndMove(System::TObject* Sender);
	void __fastcall doHoverStation(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doClickStation(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall ActiveObserver(const bool Active);
	void __fastcall getJSONMap(const double Lat, const double Lng, const double lat2, const double lng2);
	void __fastcall getJSONStation(const double Lat, const double Lng, const bool hover);
	void __fastcall JsonToAQCity(const System::UnicodeString JSON, TAirQualityCity &rCity);
	System::UnicodeString __fastcall getLegend(const TAirQualityLevel index);
	void __fastcall setLegend(const TAirQualityLevel index, const System::UnicodeString value);
	
public:
	__fastcall TECAirQuality(TNativeMapControl* Map);
	__fastcall virtual ~TECAirQuality();
	void __fastcall getJSON(const double Lat, const double Lng)/* overload */;
	void __fastcall getJSON(const System::UnicodeString city)/* overload */;
	void __fastcall getJSON(const double Lat, const double Lng, const double lat2, const double lng2)/* overload */;
	TAirQualityCity __fastcall JsonToAirQualityCity(const System::UnicodeString JSON);
	__property System::UnicodeString Legend[const TAirQualityLevel index] = {read=getLegend, write=setLegend};
	__property System::UnicodeString key = {read=getKey, write=setKey};
	__property bool Visible = {read=FShowLayer, write=setShowLayer, nodefault};
	__property TAirQualityIndex AirQualityIndex = {read=FAirQualityIndex, write=setLayerIndex, nodefault};
	__property TAirQualityCity city = {read=FCity};
	__property int StationSize = {read=FStationSize, write=FStationSize, nodefault};
	__property TAirQualityOnJson OnJson = {read=FOnJson, write=FOnJson};
	__property TAirQualityEvent OnClick = {read=FOnClick, write=FOnClick};
	__property TAirQualityEvent OnHover = {read=FOnHover, write=FOnHover};
	__property System::Classes::TNotifyEvent OnRequest = {read=FOnRequest, write=FOnRequest};
};


class PASCALIMPLEMENTATION TECBBoxData : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	double NELat;
	double NELng;
	double SWLat;
	double SWLng;
	__int64 Age;
	System::UnicodeString Query;
	System::UnicodeString Data;
public:
	/* TObject.Create */ inline __fastcall TECBBoxData() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TECBBoxData() { }
	
};


class PASCALIMPLEMENTATION TECBBoxDataCacheList : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECBBoxData* operator[](int index) { return this->Data[index]; }
	
private:
	System::Classes::TList* FList;
	__int64 FCacheTime;
	TECBBoxData* __fastcall getData(int index);
	
public:
	__fastcall TECBBoxDataCacheList();
	__fastcall virtual ~TECBBoxDataCacheList();
	System::UnicodeString __fastcall Get(const double NELat, const double NELng, const double SWLat, const double SWLng, const System::UnicodeString Query = System::UnicodeString());
	void __fastcall Add(const double NELat, const double NELng, const double SWLat, const double SWLng, const System::UnicodeString Data, const System::UnicodeString Query = System::UnicodeString());
	int __fastcall Count();
	void __fastcall Clear();
	__property __int64 CacheTime = {read=FCacheTime, write=FCacheTime};
	__property TECBBoxData* Data[int index] = {read=getData/*, default*/};
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TECGoogle : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	System::UnicodeString FKey;
	System::UnicodeString FStyles;
	Uecmaputil::TecGoogleStreetViewBitmap* FGoogleStreetViewBitmap;
	void __fastcall setKey(const System::UnicodeString value);
	void __fastcall setLang(const System::UnicodeString value);
	void __fastcall setStyles(const System::UnicodeString value);
	void __fastcall setRegion(const System::UnicodeString value);
	System::UnicodeString __fastcall getLang();
	System::UnicodeString __fastcall getRegion();
	
public:
	__fastcall TECGoogle(TNativeMapControl* Map);
	__fastcall virtual ~TECGoogle();
	__property System::UnicodeString APiKey = {read=FKey, write=setKey};
	__property System::UnicodeString Styles = {read=FStyles, write=setStyles};
	__property System::UnicodeString Lang = {read=getLang, write=setLang};
	__property System::UnicodeString Region = {read=getRegion, write=setRegion};
	__property Uecmaputil::TecGoogleStreetViewBitmap* StreetView = {read=FGoogleStreetViewBitmap};
};

#pragma pack(pop)

class PASCALIMPLEMENTATION TECTomTomIncidentData : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	double NELat;
	double NELng;
	double SWLat;
	double SWLng;
	__int64 Age;
	System::UnicodeString Data;
public:
	/* TObject.Create */ inline __fastcall TECTomTomIncidentData() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TECTomTomIncidentData() { }
	
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TECTomTom : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TECTomTomIncident* FTomTomIncident;
	System::UnicodeString FKey;
	System::UnicodeString FLanguage;
	TNativeMapControl* FMap;
	System::UnicodeString _CACHE_;
	
public:
	__fastcall TECTomTom(TNativeMapControl* Map);
	__fastcall virtual ~TECTomTom();
	bool __fastcall Search(System::UnicodeString Data, double &Lat, double &Lng);
	__property TECTomTomIncident* Incident = {read=FTomTomIncident};
	__property System::UnicodeString key = {read=FKey, write=FKey};
	__property System::UnicodeString Language = {read=FLanguage, write=FLanguage};
};

#pragma pack(pop)

class PASCALIMPLEMENTATION TECTomTomIncident : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	Vcl::Extctrls::TTimer* FTimer;
	System::UnicodeString FGroupName;
	System::UnicodeString FStyle;
	bool FFirstActivate;
	double _FNELat;
	double _FNELng;
	double _FSWLat;
	double _FSWLng;
	double FNELat;
	double FNELng;
	double FSWLat;
	double FSWLng;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecnativeshape::TECShapes* FIncidentGroup;
	System::Classes::TList* FIncidentCacheList;
	__int64 FIncidentCacheTime;
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecnativeshape::TECShapeInfoWindow* FIncidentWindow;
	Uecnativeshape::TInfoWindowStyle FIncidentStyle;
	System::Uitypes::TColor FIncidentBorderColor;
	System::Uitypes::TColor FIncidentFontColor;
	System::Classes::TStringList* FCategoryLabel;
	System::UnicodeString FTextDelay;
	System::UnicodeString FTextLength;
	System::UnicodeString FTextFrom;
	System::UnicodeString FTextTo;
	int FBreak;
	int FTab;
	int FWidth;
	int FYanchor;
	bool FShowInfoWindow;
	bool FinLoad;
	TECTomTomIncidentData* __fastcall getIncidentFromCache(const double NELat, const double NELng, const double SWLat, const double SWLng);
	void __fastcall doOnLoad(System::TObject* Sender);
	void __fastcall doMapEndMove(System::TObject* Sender);
	void __fastcall doMouseOver(System::TObject* Sender);
	void __fastcall doMouseOut(System::TObject* Sender);
	void __fastcall doMouseUp(System::TObject* Sender);
	void __fastcall doOnClick(System::TObject* Sender);
	void __fastcall ActiveObserver(const bool Active);
	bool __fastcall getIncidentLayer();
	void __fastcall setIncidentLayer(const bool value);
	void __fastcall setIncidentStyle(const Uecnativeshape::TInfoWindowStyle value);
	void __fastcall setIncidentColor(const System::Uitypes::TColor value);
	void __fastcall setIncidentBorderColor(const System::Uitypes::TColor value);
	void __fastcall LoadIncident();
	void __fastcall LoadDataIncident(TECTomTomIncidentData* const Data);
	void __fastcall doOnCallTomTom(System::TObject* Sender);
	void __fastcall doOnLoadData(System::TObject* Sender);
	void __fastcall setIncidentCacheTime(const __int64 value);
	void __fastcall doOnTimer(System::TObject* Sender);
	void __fastcall setStyle(const System::UnicodeString value);
	
public:
	__fastcall TECTomTomIncident(TNativeMapControl* Map);
	__fastcall virtual ~TECTomTomIncident();
	__property System::Classes::TStringList* CategoryLabel = {read=FCategoryLabel};
	__property Uecnativeshape::TECShapes* Group = {read=FIncidentGroup};
	__property System::UnicodeString GroupName = {read=FGroupName};
	__property __int64 CacheTime = {read=FIncidentCacheTime, write=setIncidentCacheTime};
	__property bool Layer = {read=getIncidentLayer, write=setIncidentLayer, nodefault};
	__property Uecnativeshape::TInfoWindowStyle InfoStyle = {read=FIncidentStyle, write=setIncidentStyle, nodefault};
	__property System::Uitypes::TColor FontColor = {read=FIncidentFontColor, write=setIncidentColor, nodefault};
	__property System::Uitypes::TColor BorderColor = {read=FIncidentBorderColor, write=setIncidentBorderColor, nodefault};
	__property int Break = {read=FBreak, write=FBreak, nodefault};
	__property System::UnicodeString Style = {read=FStyle, write=setStyle};
	__property bool ShowInfoWindow = {read=FShowInfoWindow, write=FShowInfoWindow, nodefault};
	__property int Tab = {read=FTab, write=FTab, nodefault};
	__property System::UnicodeString TextDelay = {read=FTextDelay, write=FTextDelay};
	__property System::UnicodeString TextLength = {read=FTextLength, write=FTextLength};
	__property System::UnicodeString TextFrom = {read=FTextFrom, write=FTextFrom};
	__property System::UnicodeString TextTo = {read=FTextTo, write=FTextTo};
	__property int Width = {read=FWidth, write=FWidth, nodefault};
	__property int YAnchor = {read=FYanchor, write=FYanchor, nodefault};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
};


enum DECLSPEC_DENUM TPTVBaseMapLayer : unsigned char { none, amber, blackmarble, classic, gravelpit, sandbox, silica, silkysand, satellite };

enum DECLSPEC_DENUM TPTVvehicleType : unsigned char { car, Truck };

enum DECLSPEC_DENUM TPTVForegroundLayer : unsigned char { background, transport, labels, trafficIncidents, trafficPatterns, restrictions, toll };

typedef System::Set<TPTVForegroundLayer, TPTVForegroundLayer::background, TPTVForegroundLayer::toll> TPTVForegroundLayers;

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECPTV : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	TECOverlayTileLayer* FOverlayTileLayer;
	System::UnicodeString FLayers;
	System::UnicodeString FOverlays;
	System::UnicodeString FStyle;
	System::UnicodeString FVehicule;
	System::UnicodeString FPTV_COPYRIGHT;
	TPTVBaseMapLayer FBaseMapLayer;
	TPTVForegroundLayers FForegroundLayers;
	TPTVForegroundLayers FOverlayLayers;
	TPTVvehicleType FVehicleType;
	Uecmaputil::TTileServer FMapTileServer;
	void __fastcall get_PTV_TileMap(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall get_PTV_SatelliteTileMap(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall get_PTV_OverlayTileMap(System::UnicodeString &TileFilename, const int X, const int Y, const int Z);
	void __fastcall setVehicleType(TPTVvehicleType value);
	System::UnicodeString __fastcall getApiKey();
	void __fastcall setApiKey(const System::UnicodeString value);
	void __fastcall setBaseMapLayer(TPTVBaseMapLayer value);
	void __fastcall setForegroundLayers(TPTVForegroundLayers value);
	void __fastcall setOverlayLayers(TPTVForegroundLayers value);
	
public:
	__fastcall TECPTV(TNativeMapControl* const Map);
	__fastcall virtual ~TECPTV();
	__property System::UnicodeString APiKey = {read=getApiKey, write=setApiKey};
	__property TPTVBaseMapLayer BaseMapLayer = {read=FBaseMapLayer, write=setBaseMapLayer, nodefault};
	__property TPTVForegroundLayers ForegroundLayers = {read=FForegroundLayers, write=setForegroundLayers, nodefault};
	__property TPTVForegroundLayers OverlayLayers = {read=FOverlayLayers, write=setOverlayLayers, nodefault};
	__property System::UnicodeString PTV_COPYRIGHT = {read=FPTV_COPYRIGHT, write=FPTV_COPYRIGHT};
	__property TPTVvehicleType VehicleType = {read=FVehicleType, write=setVehicleType, nodefault};
};

#pragma pack(pop)

enum DECLSPEC_DENUM TECAreaType : unsigned char { atRectangle, atCircle };

typedef void __fastcall (__closure *TOnUpdateMetric)(TECSelectArea* const Sender, System::UnicodeString &value);

class PASCALIMPLEMENTATION TECSelectArea : public System::TObject
{
	typedef System::TObject inherited;
	
	
private:
	typedef System::DynamicArray<Uecnativeshape::TECShapePOI*> _TECSelectArea__1;
	
	
private:
	TNativeMapControl* FMap;
	Uecnativeshape::TECShapes* FShapes;
	Uecnativeshape::TECShape* FArea;
	System::Classes::TNotifyEvent FOnClick;
	System::Classes::TNotifyEvent FOnDblClick;
	System::Classes::TNotifyEvent FOnLongPress;
	System::Classes::TNotifyEvent FOnRightClick;
	System::Classes::TNotifyEvent FOnChange;
	TOnUpdateMetric FOnUpdateMetric;
	System::Uitypes::TColor FColor;
	bool FShowMetric;
	bool FAreaMove;
	TECAreaType FAreaType;
	_TECSelectArea__1 FArrayEditPOI;
	double FAreaKM;
	double FWidthKM;
	double FHeightKM;
	double FNELat;
	double FNELng;
	double FSWLat;
	double FSWLng;
	Uecmaputil::TLatLng FCenter;
	void __fastcall setColor(const System::Uitypes::TColor value);
	bool __fastcall getVisible();
	void __fastcall setVisible(const bool value);
	void __fastcall setShowMetric(const bool value);
	void __fastcall setAreatType(const TECAreaType value);
	void __fastcall doUpdateMetrics();
	void __fastcall doOnChange(System::TObject* Sender);
	void __fastcall doAreaFree(System::TObject* Sender);
	void __fastcall doAreaMove(System::TObject* Sender);
	void __fastcall doAreaDrag(System::TObject* Sender, Uecnativeshape::TECShape* const Item, bool &cancel);
	void __fastcall doAreaClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doAreaDblClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doAreaRightClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doAreaLongPress(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doShapeDrag(System::TObject* Sender, Uecnativeshape::TECShape* const Item, bool &cancel);
	void __fastcall doShapeEndDrag(System::TObject* Sender);
	void __fastcall addEditPOI(const double Lat, const double Lng, const int Tag);
	void __fastcall ClearEditPOI();
	void __fastcall InitArea();
	
public:
	__fastcall TECSelectArea(TNativeMapControl* const Map);
	__fastcall virtual ~TECSelectArea();
	void __fastcall setPosition(const double Lat, const double Lng);
	void __fastcall Boundary(const double dNELat, const double dNELng, const double dSWLat, const double dSWLng);
	void __fastcall fitBounds();
	__property TECAreaType AreaType = {read=FAreaType, write=setAreatType, nodefault};
	__property double Area = {read=FAreaKM};
	__property double Width = {read=FWidthKM};
	__property double Height = {read=FHeightKM};
	__property Uecmaputil::TLatLng Center = {read=FCenter};
	__property System::Uitypes::TColor Color = {read=FColor, write=setColor, nodefault};
	__property Uecnativeshape::TECShapes* Group = {read=FShapes};
	__property double NELat = {read=FNELat};
	__property double NELng = {read=FNELng};
	__property double SWLat = {read=FSWLat};
	__property double SWLng = {read=FSWLng};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property bool ShowMetrics = {read=FShowMetric, write=setShowMetric, nodefault};
	__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property System::Classes::TNotifyEvent OnClick = {read=FOnClick, write=FOnClick};
	__property System::Classes::TNotifyEvent OnDblClick = {read=FOnDblClick, write=FOnDblClick};
	__property System::Classes::TNotifyEvent OnLongPress = {read=FOnLongPress, write=FOnLongPress};
	__property System::Classes::TNotifyEvent OnRightClick = {read=FOnRightClick, write=FOnRightClick};
	__property TOnUpdateMetric OnUpdateMetric = {read=FOnUpdateMetric, write=FOnUpdateMetric};
};


enum DECLSPEC_DENUM TECGridType : unsigned char { gtTable, gtPolygon };

enum DECLSPEC_DENUM TECHeaderLabelPosition : unsigned char { hlpTop, hlpBottom, hlpLeft, hlpRight };

typedef System::DynamicArray<Uecnativeshape::TECShapePolygone*> Uecnativemapcontrol__24;

typedef System::DynamicArray<System::DynamicArray<Uecnativeshape::TECShapePolygone*> > TECGridCells;

typedef void __fastcall (__closure *TOnEditChange)(TECGrid* const Grid);

typedef void __fastcall (__closure *TOnHeaderLabel)(const int index, System::UnicodeString &value);

typedef void __fastcall (__closure *TOnHeaderClick)(TECGrid* const Grid, const System::UnicodeString Text, const int index, const TECHeaderLabelPosition position);

typedef void __fastcall (__closure *TOnCellEvent)(TECGrid* const Grid, Uecnativeshape::TECShapePolygone* const Cell);

class PASCALIMPLEMENTATION TECGrid : public System::TObject
{
	typedef System::TObject inherited;
	
	
private:
	typedef System::DynamicArray<Uecnativeshape::TECShapePOI*> _TECGrid__1;
	
	
private:
	TNativeMapControl* FMap;
	TECGridCells FCells;
	int FCol;
	int FRow;
	System::Uitypes::TColor FHeaderFontColor;
	Vcl::Graphics::TFont* FHeaderFont;
	bool FIgnoreCellCentroidOutsidePolygon;
	System::Uitypes::TColor FHoverColor;
	System::Uitypes::TColor FCellColor;
	System::Byte FCellWeight;
	_TECGrid__1 FArrayEditPOI;
	System::Byte fopacity;
	bool FShowHeaderLabel;
	TOnHeaderLabel FOnHeaderColLabel;
	TOnHeaderLabel FOnHeaderRowLabel;
	TOnHeaderClick FOnHeaderClick;
	TOnEditChange FOnEditChange;
	Uecnativeshape::TOnShapeMouseEvent FOnEditHandleClick;
	TOnCellEvent FOnCellLongPress;
	TOnCellEvent FOnCellRightClick;
	TOnCellEvent FOnCellClick;
	TOnCellEvent FOnCellDblClick;
	Uecnativeshape::TECShapes* FShapes;
	double FNELat;
	double FNELng;
	double FSWLat;
	double FSWLng;
	TECGridType FGridType;
	int FZIndex;
	int FCellSizeMeter;
	bool FEditable;
	Uecnativeshape::TECShapePolygone* FFocusBorder;
	Uecnativeshape::TECShapePolygone* FEditBorder;
	void __fastcall Reset();
	void __fastcall BuildGridTable();
	void __fastcall BuildGridPolygon(Uecnativeshape::TECShapePolygone* const P);
	void __fastcall setCellSizeMeter(const int value);
	int __fastcall getCellSizeMeter();
	void __fastcall setCellWeight(const System::Byte value);
	void __fastcall setHoverColor(const System::Uitypes::TColor value);
	void __fastcall doEditBordeMove(System::TObject* Sender);
	void __fastcall doShapeDrag(System::TObject* Sender, Uecnativeshape::TECShape* const Item, bool &cancel);
	void __fastcall doShapeEndDrag(System::TObject* Sender);
	void __fastcall doEditHandleClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doEditClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doEditDblClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doEditRightClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doEditLongPress(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall addEditPOI(const double Lat, const double Lng, const int Tag, const int col, const int row);
	void __fastcall ClearEditPOI();
	void __fastcall setEditable(const bool value);
	void __fastcall setShowHeaderLabel(const bool value);
	void __fastcall setZindex(const int value);
	Uecnativeshape::TECShapePolygone* __fastcall getCell(int ColIndex, int RowIndex);
	void __fastcall doCellMouseDown(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doCellClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doCellDblClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doCellRightClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	void __fastcall doCellLongPress(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	Uecnativeshape::TECShapePOI* __fastcall addHeaderLabel(const double Lat, const double Lng);
	void __fastcall doHeaderLabelClick(System::TObject* Sender, Uecnativeshape::TECShape* const Item);
	System::UnicodeString __fastcall getHeaderLabelCol(const int index);
	System::UnicodeString __fastcall getHeaderLabelRow(const int index);
	System::UnicodeString __fastcall getToTxt();
	void __fastcall setToTxt(const System::UnicodeString value);
	System::UnicodeString __fastcall getName();
	void __fastcall setOpacity(const System::Byte value);
	
public:
	__fastcall TECGrid(TNativeMapControl* const Map, const System::UnicodeString Name);
	__fastcall virtual ~TECGrid();
	void __fastcall Clear();
	void __fastcall setPosition(const double Lat, const double Lng);
	void __fastcall Update();
	__property Uecnativeshape::TECShapes* Group = {read=FShapes};
	void __fastcall Boundary(const double dNELat, const double dNELng, const double dSWLat, const double dSWLng);
	void __fastcall setSize(const int icol, const int irow);
	void __fastcall fitBounds();
	void __fastcall PolygonToGrid(Uecnativeshape::TECShapePolygone* const P, const int aCellSizeMeter);
	Uecnativeshape::TECShapePolygone* __fastcall getCellAt(const double Lat, const double Lng);
	__property System::UnicodeString Name = {read=getName};
	__property TECGridType GridType = {read=FGridType, nodefault};
	__property int CellSizeMeter = {read=getCellSizeMeter, write=setCellSizeMeter, nodefault};
	__property System::Uitypes::TColor CellColor = {read=FCellColor, write=FCellColor, nodefault};
	__property System::Uitypes::TColor HoverColor = {read=FHoverColor, write=setHoverColor, nodefault};
	__property System::Byte CellWeight = {read=FCellWeight, write=setCellWeight, nodefault};
	__property Uecnativeshape::TECShapePolygone* Cells[int ColIndex][int RowIndex] = {read=getCell/*, default*/};
	__property int col = {read=FCol, nodefault};
	__property bool Editable = {read=FEditable, write=setEditable, nodefault};
	__property Vcl::Graphics::TFont* HeaderFont = {read=FHeaderFont};
	__property System::Uitypes::TColor HeaderFontColor = {read=FHeaderFontColor, write=FHeaderFontColor, nodefault};
	__property bool IgnoreCellCentroidOutsidePolygon = {read=FIgnoreCellCentroidOutsidePolygon, write=FIgnoreCellCentroidOutsidePolygon, nodefault};
	__property System::Byte Opacity = {read=fopacity, write=setOpacity, nodefault};
	__property int row = {read=FRow, nodefault};
	__property double NELat = {read=FNELat};
	__property double NELng = {read=FNELng};
	__property double SWLat = {read=FSWLat};
	__property double SWLng = {read=FSWLng};
	__property bool ShowHeaderLabel = {read=FShowHeaderLabel, write=setShowHeaderLabel, nodefault};
	__property int ZIndex = {read=FZIndex, write=setZindex, nodefault};
	__property System::UnicodeString toTxt = {read=getToTxt, write=setToTxt};
	__property TOnCellEvent OnCellClick = {read=FOnCellClick, write=FOnCellClick};
	__property TOnCellEvent OnCellDblClick = {read=FOnCellDblClick, write=FOnCellDblClick};
	__property TOnCellEvent OnCellRightClick = {read=FOnCellRightClick, write=FOnCellRightClick};
	__property TOnCellEvent OnCellLongPress = {read=FOnCellLongPress, write=FOnCellLongPress};
	__property Uecnativeshape::TOnShapeMouseEvent OnEditHandleClick = {read=FOnEditHandleClick, write=FOnEditHandleClick};
	__property TOnEditChange OnEditChange = {read=FOnEditChange, write=FOnEditChange};
	__property TOnHeaderLabel OnHeaderColLabel = {read=FOnHeaderColLabel, write=FOnHeaderColLabel};
	__property TOnHeaderLabel OnHeaderRowLabel = {read=FOnHeaderRowLabel, write=FOnHeaderRowLabel};
	__property TOnHeaderClick OnHeaderClick = {read=FOnHeaderClick, write=FOnHeaderClick};
};


class PASCALIMPLEMENTATION TECGrids : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECGrid* operator[](int index) { return this->Grid[index]; }
	
private:
	System::Classes::TStringList* FList;
	TNativeMapControl* FMap;
	bool FBeginClear;
	TECGrid* FEditableGrid;
	TECGrid* FFocusedGrid;
	System::Classes::TNotifyEvent FOnChange;
	TOnEditChange FOnEditChange;
	System::Classes::TNotifyEvent FOnFocusedGrid;
	TOnHeaderLabel FOnHeaderColLabel;
	TOnHeaderLabel FOnHeaderRowLabel;
	TOnHeaderClick FOnHeaderClick;
	Uecnativeshape::TOnShapeMouseEvent FOnEditHandleClick;
	TOnCellEvent FOnCellLongPress;
	TOnCellEvent FOnCellRightClick;
	TOnCellEvent FOnCellClick;
	TOnCellEvent FOnCellDblClick;
	TECGrid* __fastcall getGrid(int index)/* overload */;
	TECGrid* __fastcall getGrid(System::UnicodeString index)/* overload */;
	void __fastcall setFocusedGrid(TECGrid* const value);
	System::UnicodeString __fastcall getToTxt();
	void __fastcall setToTxt(const System::UnicodeString value);
	void __fastcall setEditableGrid(TECGrid* const value);
	void __fastcall doChange(System::TObject* Sender);
	System::UnicodeString __fastcall getUniqueName(const System::UnicodeString GridName);
	
public:
	__fastcall TECGrids(TNativeMapControl* const Map);
	__fastcall virtual ~TECGrids();
	void __fastcall Clear();
	TECGrid* __fastcall Add(const System::UnicodeString GridName = System::UnicodeString())/* overload */;
	TECGrid* __fastcall Add(Uecnativeshape::TECShapePolygone* const Poly, const int CellSizeMeter = 0x1f4, const System::UnicodeString GridName = System::UnicodeString())/* overload */;
	TECGrid* __fastcall Add(const int col, const int row, const System::UnicodeString GridName = System::UnicodeString())/* overload */;
	int __fastcall Count();
	int __fastcall getList(System::Classes::TStrings* const aList);
	__property TECGrid* FocusedGrid = {read=FFocusedGrid, write=setFocusedGrid};
	__property TECGrid* Grid[int index] = {read=getGrid/*, default*/};
	__property TECGrid* Grid[System::UnicodeString index] = {read=getGrid};
	__property TECGrid* EditableGrid = {read=FEditableGrid, write=setEditableGrid};
	__property System::UnicodeString toTxt = {read=getToTxt, write=setToTxt};
	__property System::Classes::TNotifyEvent OnFocusedGrid = {read=FOnFocusedGrid, write=FOnFocusedGrid};
	__property TOnCellEvent OnCellClick = {read=FOnCellClick, write=FOnCellClick};
	__property TOnCellEvent OnCellDblClick = {read=FOnCellDblClick, write=FOnCellDblClick};
	__property TOnCellEvent OnCellRightClick = {read=FOnCellRightClick, write=FOnCellRightClick};
	__property TOnCellEvent OnCellLongPress = {read=FOnCellLongPress, write=FOnCellLongPress};
	__property Uecnativeshape::TOnShapeMouseEvent OnEditHandleClick = {read=FOnEditHandleClick, write=FOnEditHandleClick};
	__property TOnEditChange OnEditChange = {read=FOnEditChange, write=FOnEditChange};
	__property TOnHeaderLabel OnHeaderColLabel = {read=FOnHeaderColLabel, write=FOnHeaderColLabel};
	__property TOnHeaderLabel OnHeaderRowLabel = {read=FOnHeaderRowLabel, write=FOnHeaderRowLabel};
	__property TOnHeaderClick OnHeaderClick = {read=FOnHeaderClick, write=FOnHeaderClick};
	__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
};


struct DECLSPEC_DRECORD TECChartField
{
public:
	System::UnicodeString Legend;
	System::Uitypes::TColor Color;
};


typedef System::DynamicArray<TECChartField> TECAChartField;

typedef System::DynamicArray<double> TECAChartData;

enum DECLSPEC_DENUM TECChartDataSort : unsigned char { cdsNone, cdsAscending, cdsDescending };

class PASCALIMPLEMENTATION TECChartItem : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	System::UnicodeString operator[](const System::UnicodeString index) { return this->value[index]; }
	
private:
	double FLat;
	double FLng;
	TECAChartData FData;
	double FTotal;
	Uecnativeshape::TPropertyValue* FPropertyValue;
	TECChartLayer* FLayer;
	Uecnativeshape::TECShapeMarker* FShape;
	System::UnicodeString __fastcall getValue(const System::UnicodeString index);
	void __fastcall setProperty(const System::UnicodeString index, const System::UnicodeString value);
	System::UnicodeString __fastcall getProperties();
	void __fastcall setProperties(const System::UnicodeString value);
	
public:
	__fastcall TECChartItem(TECChartLayer* const aLayer);
	__fastcall virtual ~TECChartItem();
	System::UnicodeString __fastcall PropertyFormat(const System::UnicodeString mask);
	__property double Lat = {read=FLat, write=FLat};
	__property double Lng = {read=FLng, write=FLng};
	__property TECAChartData Data = {read=FData};
	__property System::UnicodeString Properties = {read=getProperties, write=setProperties};
	__property TECChartLayer* Layer = {read=FLayer};
	__property Uecnativeshape::TECShapeMarker* shape = {read=FShape};
	__property System::UnicodeString value[const System::UnicodeString index] = {read=getValue, write=setProperty/*, default*/};
};


typedef void __fastcall (*TOnValidHint)(TECChartItem* const Sender, const int index, const double percent, const double value, System::UnicodeString &Hint);

class PASCALIMPLEMENTATION TECChartLayer : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECChartItem* operator[](const int index) { return this->List[index]; }
	
private:
	TECNativeMap* FMap;
	System::UnicodeString FName;
	System::Classes::TList* FList;
	Uecnativeshape::TECShapes* FShapes;
	TECAChartField FFields;
	System::UnicodeString FCaption;
	TECChartDataSort FSort;
	int FMaxChartSize;
	int FMinChartSize;
	int FBarThickness;
	System::Byte fopacity;
	System::Uitypes::TColor FColor;
	System::Uitypes::TColor FBorderColor;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecnativeshape::TOnShapeMouseEvent FOnRightClick;
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecmaputil::TECChartType FChartType;
	TOnValidHint FOnValidHint;
	bool __fastcall ValidEvent(const Uecnativeshape::TOnShapeMouseEvent Event, System::TObject* const Sender);
	int __fastcall getCount();
	Uecnativeshape::TLabelShape* __fastcall getLabels();
	void __fastcall doOnClick(System::TObject* Sender);
	void __fastcall doOnRightClick(System::TObject* Sender);
	TECChartItem* __fastcall getList(const int index);
	void __fastcall setZindex(const int index);
	int __fastcall getZindex();
	System::Byte __fastcall getMaxZoom();
	void __fastcall setMaxZoom(const System::Byte value);
	System::Byte __fastcall getMinZoom();
	void __fastcall setMinZoom(const System::Byte value);
	System::Uitypes::TColor __fastcall getHintColor();
	void __fastcall setHintColor(System::Uitypes::TColor AColor);
	bool __fastcall getVisible();
	void __fastcall setVisible(const bool value);
	
public:
	__fastcall TECChartLayer(TECNativeMap* Map, const System::UnicodeString ValueName);
	__fastcall virtual ~TECChartLayer();
	void __fastcall Clear();
	int __fastcall AddField(const System::UnicodeString Legend, System::Uitypes::TColor Color);
	TECChartItem* __fastcall Add(const double Lat, const double Lng, const System::UnicodeString Properties = System::UnicodeString())/* overload */;
	void __fastcall Delete(const int index);
	void __fastcall fitBounds();
	void __fastcall Update();
	__property System::UnicodeString Caption = {read=FCaption, write=FCaption};
	__property int BarThickness = {read=FBarThickness, write=FBarThickness, nodefault};
	__property System::Uitypes::TColor Color = {read=FColor, write=FColor, nodefault};
	__property System::Uitypes::TColor BorderColor = {read=FBorderColor, write=FBorderColor, nodefault};
	__property int Count = {read=getCount, nodefault};
	__property TECAChartField Fields = {read=FFields};
	__property System::Uitypes::TColor HintColor = {read=getHintColor, write=setHintColor, nodefault};
	__property Uecnativeshape::TLabelShape* labels = {read=getLabels};
	__property int MaxChartSize = {read=FMaxChartSize, write=FMaxChartSize, nodefault};
	__property int MinChartSize = {read=FMinChartSize, write=FMinChartSize, nodefault};
	__property System::Byte Opacity = {read=fopacity, write=fopacity, nodefault};
	__property Uecmaputil::TECChartType ChartType = {read=FChartType, write=FChartType, nodefault};
	__property System::Byte MaxZoom = {read=getMaxZoom, write=setMaxZoom, nodefault};
	__property System::Byte MinZoom = {read=getMinZoom, write=setMinZoom, nodefault};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property System::UnicodeString Name = {read=FName};
	__property TECChartItem* List[const int index] = {read=getList/*, default*/};
	__property TECChartDataSort Sort = {read=FSort, write=FSort, nodefault};
	__property int ZIndex = {read=getZindex, write=setZindex, nodefault};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnRightClick = {read=FOnRightClick, write=FOnRightClick};
	__property TOnValidHint OnValidHint = {read=FOnValidHint, write=FOnValidHint};
};


class PASCALIMPLEMENTATION TECChartLayers : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECChartLayer* operator[](const System::UnicodeString index) { return this->Layer[index]; }
	
private:
	TECNativeMap* FMap;
	int FMaxChartSize;
	int FMinChartSize;
	int FBarThickness;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecnativeshape::TOnShapeMouseEvent FOnRightClick;
	System::Classes::TNotifyEvent FOnChange;
	System::Classes::TStringList* FList;
	TECChartLayer* __fastcall getLayer(const System::UnicodeString index);
	TECChartLayer* __fastcall getList(const int index);
	int __fastcall getCount();
	void __fastcall doChange(System::TObject* Sender);
	
public:
	__fastcall TECChartLayers(TECNativeMap* Map);
	__fastcall virtual ~TECChartLayers();
	TECChartLayer* __fastcall Add(const System::UnicodeString Name);
	void __fastcall Delete(const System::UnicodeString Name)/* overload */;
	void __fastcall Delete(const int index)/* overload */;
	void __fastcall Clear();
	int __fastcall getLayers(System::Classes::TStrings* const aList);
	__property int Count = {read=getCount, nodefault};
	__property int MaxChartSize = {read=FMaxChartSize, write=FMaxChartSize, nodefault};
	__property int MinChartSize = {read=FMinChartSize, write=FMinChartSize, nodefault};
	__property int BarThickness = {read=FBarThickness, write=FBarThickness, nodefault};
	__property TECChartLayer* Layer[const System::UnicodeString index] = {read=getLayer/*, default*/};
	__property TECChartLayer* List[const int index] = {read=getList};
	__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnRightClick = {read=FOnRightClick, write=FOnRightClick};
};


typedef void __fastcall (__closure *TECOnEditBubble)(Uecnativeshape::TECShapePOI* const BubbleShape);

class PASCALIMPLEMENTATION TECBubbleItem : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	System::UnicodeString operator[](const System::UnicodeString index) { return this->value[index]; }
	
private:
	double FLat;
	double FLng;
	double FSize;
	Uecnativeshape::TPropertyValue* FPropertyValue;
	TECBubbleLayer* FLayer;
	System::UnicodeString __fastcall getValue(const System::UnicodeString index);
	void __fastcall setProperty(const System::UnicodeString index, const System::UnicodeString value);
	System::UnicodeString __fastcall getProperties();
	void __fastcall setProperties(const System::UnicodeString value);
	
public:
	__fastcall TECBubbleItem(TECBubbleLayer* const aLayer);
	__fastcall virtual ~TECBubbleItem();
	System::UnicodeString __fastcall PropertyFormat(const System::UnicodeString mask);
	__property double Lat = {read=FLat, write=FLat};
	__property double Lng = {read=FLng, write=FLng};
	__property double Size = {read=FSize, write=FSize};
	__property System::UnicodeString Properties = {read=getProperties, write=setProperties};
	__property TECBubbleLayer* Layer = {read=FLayer};
	__property System::UnicodeString value[const System::UnicodeString index] = {read=getValue, write=setProperty/*, default*/};
};


class PASCALIMPLEMENTATION TECBubbleLayer : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECBubbleItem* operator[](const int index) { return this->List[index]; }
	
private:
	TECNativeMap* FMap;
	System::UnicodeString FName;
	System::Classes::TList* FList;
	Uecnativeshape::TECShapes* FShapes;
	System::Uitypes::TColor FColor;
	int FMaxItemSize;
	int FMinItemSize;
	System::Byte fopacity;
	System::UnicodeString FHint;
	System::UnicodeString FHintProperty;
	TECOnEditBubble FOnEditBubble;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecnativeshape::TOnShapeMouseEvent FOnRightClick;
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecmaputil::TPOIShape FShape;
	Uecheatmap::THeatPalette* FColorPalette;
	bool FUseColorPalette;
	bool __fastcall ValidEvent(const Uecnativeshape::TOnShapeMouseEvent Event, System::TObject* const Sender);
	int __fastcall getCount();
	Uecnativeshape::TLabelShape* __fastcall getLabels();
	void __fastcall doOnClick(System::TObject* Sender);
	void __fastcall doOnRightClick(System::TObject* Sender);
	TECBubbleItem* __fastcall getList(const int index);
	void __fastcall setZindex(const int index);
	int __fastcall getZindex();
	System::Byte __fastcall getMaxZoom();
	void __fastcall setMaxZoom(const System::Byte value);
	System::Byte __fastcall getMinZoom();
	void __fastcall setMinZoom(const System::Byte value);
	void __fastcall setHint(const System::UnicodeString value);
	bool __fastcall getVisible();
	void __fastcall setVisible(const bool value);
	System::Uitypes::TColor __fastcall getHintColor();
	void __fastcall setHintColor(System::Uitypes::TColor AColor);
	
public:
	__fastcall TECBubbleLayer(TECNativeMap* Map, const System::UnicodeString ValueName);
	__fastcall virtual ~TECBubbleLayer();
	void __fastcall Clear();
	TECBubbleItem* __fastcall Add(const double Lat, const double Lng, const double Size, const System::UnicodeString Properties = System::UnicodeString())/* overload */;
	TECBubbleItem* __fastcall Add(const System::UnicodeString location, double Size, const System::UnicodeString Properties = System::UnicodeString())/* overload */;
	void __fastcall Delete(const int index);
	void __fastcall fitBounds();
	void __fastcall Update();
	__property System::Uitypes::TColor Color = {read=FColor, write=FColor, nodefault};
	__property Uecheatmap::THeatPalette* ColorPalette = {read=FColorPalette};
	__property bool UseColorPalette = {read=FUseColorPalette, write=FUseColorPalette, nodefault};
	__property int Count = {read=getCount, nodefault};
	__property System::UnicodeString HintProperty = {read=FHintProperty, write=FHintProperty};
	__property System::UnicodeString Hint = {read=FHint, write=setHint};
	__property System::Uitypes::TColor HintColor = {read=getHintColor, write=setHintColor, nodefault};
	__property int MaxItemSize = {read=FMaxItemSize, write=FMaxItemSize, nodefault};
	__property int MinItemSize = {read=FMinItemSize, write=FMinItemSize, nodefault};
	__property Uecnativeshape::TLabelShape* labels = {read=getLabels};
	__property System::Byte Opacity = {read=fopacity, write=fopacity, nodefault};
	__property Uecmaputil::TPOIShape shape = {read=FShape, write=FShape, nodefault};
	__property System::Byte MaxZoom = {read=getMaxZoom, write=setMaxZoom, nodefault};
	__property System::Byte MinZoom = {read=getMinZoom, write=setMinZoom, nodefault};
	__property bool Visible = {read=getVisible, write=setVisible, nodefault};
	__property System::UnicodeString Name = {read=FName};
	__property TECBubbleItem* List[const int index] = {read=getList/*, default*/};
	__property int ZIndex = {read=getZindex, write=setZindex, nodefault};
	__property TECOnEditBubble OnEditBubble = {read=FOnEditBubble, write=FOnEditBubble};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnRightClick = {read=FOnRightClick, write=FOnRightClick};
};


class PASCALIMPLEMENTATION TECBubbleLayers : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TECBubbleLayer* operator[](const System::UnicodeString index) { return this->Layer[index]; }
	
private:
	TECNativeMap* FMap;
	System::Uitypes::TColor FColor;
	Uecmaputil::TPOIShape FShape;
	int FMaxItemSize;
	int FMinItemSize;
	System::Byte fopacity;
	TECOnEditBubble FOnEditBubble;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecnativeshape::TOnShapeMouseEvent FOnRightClick;
	System::Classes::TNotifyEvent FOnChange;
	System::Classes::TStringList* FList;
	bool FUseColorPalette;
	TECBubbleLayer* __fastcall getLayer(const System::UnicodeString index);
	TECBubbleLayer* __fastcall getList(const int index);
	int __fastcall getCount();
	void __fastcall doChange(System::TObject* Sender);
	
public:
	__fastcall TECBubbleLayers(TECNativeMap* Map);
	__fastcall virtual ~TECBubbleLayers();
	TECBubbleLayer* __fastcall Add(const System::UnicodeString Name);
	void __fastcall Delete(const System::UnicodeString Name)/* overload */;
	void __fastcall Delete(const int index)/* overload */;
	void __fastcall Clear();
	int __fastcall getLayers(System::Classes::TStrings* const aList);
	__property System::Uitypes::TColor Color = {read=FColor, write=FColor, nodefault};
	__property bool UseColorPalette = {read=FUseColorPalette, write=FUseColorPalette, nodefault};
	__property int Count = {read=getCount, nodefault};
	__property int MaxItemSize = {read=FMaxItemSize, write=FMaxItemSize, nodefault};
	__property int MinItemSize = {read=FMinItemSize, write=FMinItemSize, nodefault};
	__property TECBubbleLayer* Layer[const System::UnicodeString index] = {read=getLayer/*, default*/};
	__property TECBubbleLayer* List[const int index] = {read=getList};
	__property System::Byte Opacity = {read=fopacity, write=fopacity, nodefault};
	__property Uecmaputil::TPOIShape shape = {read=FShape, write=FShape, nodefault};
	__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property TECOnEditBubble OnEditBubble = {read=FOnEditBubble, write=FOnEditBubble};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
	__property Uecnativeshape::TOnShapeMouseEvent OnRightClick = {read=FOnRightClick, write=FOnRightClick};
};


enum DECLSPEC_DENUM TECGraticuleUnit : unsigned char { guDegrees, guDecimalDegrees, guQTHLocator, guUTM, guOLC, guGeoHash, guAltitude };

enum DECLSPEC_DENUM TGraticuleLabelPosition : unsigned char { gpTop, gpRight, gpBottom, gpLeft };

typedef System::Set<TGraticuleLabelPosition, TGraticuleLabelPosition::gpTop, TGraticuleLabelPosition::gpLeft> TGraticuleLabelPositions;

typedef System::StaticArray<int, 22> TGraticuleInterval;

#pragma pack(push,4)
class PASCALIMPLEMENTATION TECGraticule : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	TECNativeMap* FMap;
	bool FVisible;
	bool FShowMousePosition;
	System::Byte fopacity;
	Uecmaputil::TPenStyle FPenStyle;
	TECGraticuleUnit FLabelUnit;
	int FLineSize;
	System::Uitypes::TColor FLineColor;
	System::Uitypes::TColor FLabelColor;
	TGraticuleLabelPositions FLabelPositions;
	TGraticuleInterval FZoomInterval;
	Vcl::Graphics::TFont* FLabelFont;
	int FX;
	int FY;
	void __fastcall setVisible(const bool value);
	void __fastcall setOpacity(const System::Byte value);
	void __fastcall setPenStyle(const Uecmaputil::TPenStyle value);
	void __fastcall setLabelUnit(const TECGraticuleUnit value);
	void __fastcall setLineColor(const System::Uitypes::TColor value);
	void __fastcall setLineSize(const int value);
	void __fastcall setLabelColor(const System::Uitypes::TColor value);
	void __fastcall setLabelPositions(const TGraticuleLabelPositions value);
	void __fastcall setLabelFont(Vcl::Graphics::TFont* const value);
	void __fastcall Draw(Uecgraphics::TECCanvas* const canvas);
	void __fastcall setX(const int value);
	void __fastcall setY(const int value);
	
public:
	__fastcall TECGraticule(TECNativeMap* Map);
	__fastcall virtual ~TECGraticule();
	virtual void __fastcall Assign(System::Classes::TPersistent* Source);
	void __fastcall Update();
	__property bool Visible = {read=FVisible, write=setVisible, nodefault};
	__property bool ShowMousePosition = {read=FShowMousePosition, write=FShowMousePosition, nodefault};
	__property Uecmaputil::TPenStyle LineStyle = {read=FPenStyle, write=setPenStyle, nodefault};
	__property System::Uitypes::TColor LineColor = {read=FLineColor, write=setLineColor, nodefault};
	__property int LineSize = {read=FLineSize, write=setLineSize, nodefault};
	__property TECGraticuleUnit LabelUnit = {read=FLabelUnit, write=setLabelUnit, nodefault};
	__property System::Uitypes::TColor LabelColor = {read=FLabelColor, write=setLabelColor, nodefault};
	__property Vcl::Graphics::TFont* LabelFont = {read=FLabelFont, write=setLabelFont};
	__property TGraticuleLabelPositions LabelPositions = {read=FLabelPositions, write=setLabelPositions, nodefault};
	__property int LabelX = {read=FX, write=setX, nodefault};
	__property int LabelY = {read=FX, write=setY, nodefault};
	__property System::Byte Opacity = {read=fopacity, write=setOpacity, nodefault};
	__property TGraticuleInterval ZoomInterval = {read=FZoomInterval};
};

#pragma pack(pop)

enum DECLSPEC_DENUM TECDrawPathType : unsigned char { dptStraight, dptPedestrian, dptBicycle, dptCar };

typedef void __fastcall (__closure *TECDrawPathPaintCursor)(Uecgraphics::TECCanvas* const canvas);

typedef void __fastcall (__closure *TECDrawPathReady)(const bool Ready);

typedef void __fastcall (__closure *TECDrawPathActivate)(const bool Activate);

class PASCALIMPLEMENTATION TECDrawPath : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecnativeshape::TECShapes* FEditLineGroup;
	Uecnativeshape::TECShapeLine* FWorkLine;
	Uecnativeshape::TECShapeLine* FDirectPath;
	TRoutingEngine FRoutingEngine;
	Uecnativeshape::TOnChangeRoute FOnChangeRoute;
	Uecnativeshape::TOnErrorRoute FOnErrorRoute;
	Uecmaputil::TMQRouteType FRouteType;
	TECDrawPathType FPathType;
	TECDrawPathPaintCursor FOnPaintCursor;
	bool FActivate;
	bool FAddPointOnClick;
	bool FisReady;
	bool FisUndo;
	bool FEditStartLine;
	Uecmaputil::TLatLng FEditLineLastPoint;
	bool FShowCursor;
	System::Uitypes::TCursor FOldCursor;
	System::Uitypes::TCursor FOldCursorMove;
	System::UnicodeString FGroupName;
	TECDrawPathReady FOnReady;
	TECDrawPathActivate FOnActivate;
	System::Classes::TNotifyEvent FOnError;
	void __fastcall doOnChangeRoute(Uecnativeshape::TECShapeLine* Sender, const System::UnicodeString Params);
	void __fastcall doOnErrorRoute(System::TObject* Sender, Uecgeolocalise::TECThreadDataRoute* const dataroute);
	void __fastcall doChangeMapBounds(System::TObject* Sender);
	void __fastcall doMapClick(System::TObject* Sender);
	void __fastcall doMouseMove(System::TObject* Sender);
	void __fastcall doDrawCross(System::TObject* Sender);
	void __fastcall setShowCursor(const bool value);
	void __fastcall setActivate(const bool value);
	void __fastcall setPathType(const TECDrawPathType value);
	void __fastcall setOnPaintCursor(const TECDrawPathPaintCursor value);
	void __fastcall setAddPointOnClick(const bool value);
	void __fastcall doAddPoint(const double latitude, const double longitude);
	bool __fastcall isMouseCenter();
	
public:
	__fastcall TECDrawPath(TNativeMapControl* Map);
	__fastcall virtual ~TECDrawPath();
	void __fastcall AddPoint()/* overload */;
	void __fastcall AddPoint(const double latitude, const double longitude)/* overload */;
	bool __fastcall GetPath(Uecnativeshape::TECShapeLine* const Line);
	void __fastcall Undo();
	__property System::UnicodeString Name = {read=FGroupName};
	__property bool Activate = {read=FActivate, write=setActivate, nodefault};
	__property bool AddPointOnClick = {read=FAddPointOnClick, write=setAddPointOnClick, nodefault};
	__property bool isReady = {read=FisReady, nodefault};
	__property bool isUndo = {read=FisUndo, nodefault};
	__property TECDrawPathType PathType = {read=FPathType, write=setPathType, nodefault};
	__property bool ShowCursor = {read=FShowCursor, write=setShowCursor, nodefault};
	__property TECDrawPathActivate OnActivate = {read=FOnActivate, write=FOnActivate};
	__property System::Classes::TNotifyEvent OnError = {read=FOnError, write=FOnError};
	__property TECDrawPathReady OnReady = {read=FOnReady, write=FOnReady};
	__property TECDrawPathPaintCursor OnPaintCursor = {read=FOnPaintCursor, write=setOnPaintCursor};
};


class PASCALIMPLEMENTATION TECDownLoadTiles : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uecnativetileserver::TNativeMapServer* FMapServer;
	Uecmaputil::TTileServer FTileServer;
	TThreadECDownLoadTiles* FThreadECDownLoadTiles;
	int FStartCountTiles;
	int FStartDownLoadTiles;
	int FWaitingBetweenTiles;
	int FCountTiles;
	int FDownLoadTiles;
	bool FWait;
	bool FForceRefreshTiles;
	System::UnicodeString FDirectoryTiles;
	int FTag;
	int FTileSize;
	int FTilePPI;
	bool FSSL;
	bool FDownLoading;
	System::TObject* FTagObject;
	int FStartX;
	int FStartY;
	System::Byte FStartZoom;
	bool FPause;
	int FFromZoom;
	int FToZoom;
	double FNorthEastLatitude;
	double FNorthEastLongitude;
	double FSouthWestLatitude;
	double FSouthWestLongitude;
	System::Classes::TNotifyEvent FOnErrorConnexion;
	System::Classes::TNotifyEvent FOnDownLoad;
	System::Classes::TNotifyEvent FOnEndDownLoad;
	TOnErrorLoadTiles FOnErrorLoadTiles;
	TCustomTileCache* FLocalTileCache;
	void __fastcall setLocalTileCache(TCustomTileCache* const value);
	void __fastcall setUserAgent(const System::UnicodeString value);
	System::UnicodeString __fastcall getUserAgent();
	void __fastcall setPause(const bool value);
	void __fastcall setDirectoryTiles(const System::UnicodeString value);
	void __fastcall setTileSize(const int value);
	void __fastcall setTilePPI(const int value);
	void __fastcall SetTileServer(const Uecmaputil::TTileServer value);
	Uecmaputil::TTileServer __fastcall getTileServer();
	System::UnicodeString __fastcall getTileName();
	void __fastcall setTileName(const System::UnicodeString value);
	bool __fastcall getForceRefreshTiles();
	void __fastcall setForceRefreshTiles(const bool value);
	void __fastcall doOnLoadTile(System::TObject* Sender, const int X, const int Y, const int Z, const int t);
	void __fastcall doOnErrorTile(System::TObject* Sender, const int X, const int Y, const int Z, const int t);
	void __fastcall doEndLoadTile(System::TObject* Sender);
	void __fastcall doErrorConnexion(System::TObject* Sender);
	void __fastcall setSSL(const bool value);
	void __fastcall setOnlyLocal(const bool value);
	bool __fastcall getOnlyLocal();
	Uecnativetileserver::TTileServerInfo* __fastcall getTileServerInfo();
	void __fastcall setMaxDayInCache(const double value);
	double __fastcall getMaxDayInCache();
	System::UnicodeString __fastcall getMaptilerKey();
	System::UnicodeString __fastcall getGoogleKey();
	System::UnicodeString __fastcall getBingKey();
	System::UnicodeString __fastcall getMapQuestKey();
	System::UnicodeString __fastcall getVectorMapZenKey();
	System::UnicodeString __fastcall getMapBoxKey();
	System::UnicodeString __fastcall getDigitalGlobeToken();
	System::UnicodeString __fastcall getStadiaMapsKey();
	System::UnicodeString __fastcall getTraceStrackKey();
	System::UnicodeString __fastcall getOpenCycleMapKey();
	System::UnicodeString __fastcall getTomTomKey();
	System::UnicodeString __fastcall getPTVKey();
	System::UnicodeString __fastcall getAqicnKey();
	System::UnicodeString __fastcall getAzureKey();
	void __fastcall setAzureKey(const System::UnicodeString key);
	void __fastcall setOpenCycleMapKey(const System::UnicodeString key);
	void __fastcall setStadiaMapsKey(const System::UnicodeString key);
	void __fastcall setTraceStrackKey(const System::UnicodeString key);
	void __fastcall setGoogleKey(const System::UnicodeString key);
	void __fastcall setMapTilerKey(const System::UnicodeString key);
	void __fastcall setBingKey(const System::UnicodeString key);
	void __fastcall setMapQuestKey(const System::UnicodeString key);
	void __fastcall setVectorMapZenKey(const System::UnicodeString value);
	void __fastcall setMapBoxKey(const System::UnicodeString value);
	void __fastcall setDigitalGlobeToken(const System::UnicodeString value);
	void __fastcall setTomTomKey(const System::UnicodeString value);
	void __fastcall setPTVKey(const System::UnicodeString value);
	void __fastcall setAqicnKey(const System::UnicodeString value);
	void __fastcall setHereParam(const System::UnicodeString value);
	void __fastcall setHereID(const System::UnicodeString key);
	System::UnicodeString __fastcall getHereID();
	System::UnicodeString __fastcall getHereParam();
	System::UnicodeString __fastcall getIgnKey();
	void __fastcall setIgnKey(const System::UnicodeString key);
	System::UnicodeString __fastcall getGoogleStyles();
	void __fastcall setGoogleStyles(const System::UnicodeString value);
	
public:
	__fastcall TECDownLoadTiles(const int msWaitingBetweenTiles);
	__fastcall virtual ~TECDownLoadTiles();
	void __fastcall cancel();
	void __fastcall DownLoadTiles(const int FromZoom, const int ToZoom, const double NorthEastLatitude, const double NorthEastLongitude, const double SouthWestLatitude, const double SouthWestLongitude)/* overload */;
	void __fastcall DownLoadTiles(const int FromZoom, const int ToZoom, const double NorthEastLatitude, const double NorthEastLongitude, const double SouthWestLatitude, const double SouthWestLongitude, const int startX, const int startY, const System::Byte StartZoom, const int StartCountTiles, const int StartDownLoadtiles)/* overload */;
	__property bool Pause = {read=FPause, write=setPause, nodefault};
	__property int CountTotalTiles = {read=FCountTiles, nodefault};
	__property int CountDownLoadTiles = {read=FDownLoadTiles, nodefault};
	__property bool DownLoading = {read=FDownLoading, nodefault};
	__property System::UnicodeString DirectoryTiles = {read=FDirectoryTiles, write=setDirectoryTiles};
	__property bool ForceRefreshTiles = {read=getForceRefreshTiles, write=setForceRefreshTiles, nodefault};
	__property double MaxDayInCache = {read=getMaxDayInCache, write=setMaxDayInCache};
	__property Uecnativetileserver::TNativeMapServer* Server = {read=FMapServer};
	__property TCustomTileCache* LocalTileCache = {read=FLocalTileCache, write=setLocalTileCache};
	__property System::UnicodeString TileName = {read=getTileName, write=setTileName};
	__property Uecnativetileserver::TTileServerInfo* TileServerInfo = {read=getTileServerInfo};
	__property Uecmaputil::TTileServer TileServer = {read=getTileServer, write=SetTileServer, default=4};
	__property int TileSize = {read=FTileSize, write=setTileSize, nodefault};
	__property int TilePPI = {read=FTilePPI, write=setTilePPI, nodefault};
	__property bool SSL = {read=FSSL, write=setSSL, nodefault};
	__property bool OnlyLocal = {read=getOnlyLocal, write=setOnlyLocal, nodefault};
	__property System::UnicodeString USerAgent = {read=getUserAgent, write=setUserAgent};
	__property int startX = {read=FStartX, write=FStartX, nodefault};
	__property int startY = {read=FStartY, write=FStartY, nodefault};
	__property System::Byte StartZoom = {read=FStartZoom, write=FStartZoom, nodefault};
	__property int StartCountTiles = {read=FStartCountTiles, write=FStartCountTiles, nodefault};
	__property int StartDownLoadtiles = {read=FStartDownLoadTiles, write=FStartDownLoadTiles, nodefault};
	__property int FromZoom = {read=FFromZoom, write=FFromZoom, nodefault};
	__property int ToZoom = {read=FToZoom, write=FToZoom, nodefault};
	__property double NorthEastLatitude = {read=FNorthEastLatitude, write=FNorthEastLatitude};
	__property double NorthEastLongitude = {read=FNorthEastLongitude, write=FNorthEastLongitude};
	__property double SouthWestLatitude = {read=FSouthWestLatitude, write=FSouthWestLatitude};
	__property double SouthWestLongitude = {read=FSouthWestLongitude, write=FSouthWestLongitude};
	__property System::UnicodeString AzureKey = {read=getAzureKey, write=setAzureKey};
	__property System::UnicodeString BingKey = {read=getBingKey, write=setBingKey};
	__property System::UnicodeString MapTilerKey = {read=getMaptilerKey, write=setMapTilerKey};
	__property System::UnicodeString GoogleKey = {read=getGoogleKey, write=setGoogleKey};
	__property System::UnicodeString GoogleStyles = {read=getGoogleStyles, write=setGoogleStyles};
	__property System::UnicodeString MapQuestKey = {read=getMapQuestKey, write=setMapQuestKey};
	__property System::UnicodeString VectorMapZenKey = {read=getVectorMapZenKey, write=setVectorMapZenKey};
	__property System::UnicodeString TomTomKey = {read=getTomTomKey, write=setTomTomKey};
	__property System::UnicodeString PTVKey = {read=getPTVKey, write=setPTVKey};
	__property System::UnicodeString MapBoxToken = {read=getMapBoxKey, write=setMapBoxKey};
	__property System::UnicodeString AqicnKey = {read=getAqicnKey, write=setAqicnKey};
	__property System::UnicodeString IgnKey = {read=getIgnKey, write=setIgnKey};
	__property System::UnicodeString ThunderforestKey = {read=getOpenCycleMapKey, write=setOpenCycleMapKey};
	__property System::UnicodeString StadiaMapsKey = {read=getStadiaMapsKey, write=setStadiaMapsKey};
	__property System::UnicodeString GeoApifyKey = {read=getTraceStrackKey, write=setTraceStrackKey};
	__property System::UnicodeString DigitalGlobeToken = {read=getDigitalGlobeToken, write=setDigitalGlobeToken};
	__property System::UnicodeString HereApiKey = {read=getHereID, write=setHereID};
	__property System::UnicodeString HereParam = {read=getHereParam, write=setHereParam};
	__property int Tag = {read=FTag, write=FTag, nodefault};
	__property System::TObject* TagObject = {read=FTagObject, write=FTagObject};
	__property System::Classes::TNotifyEvent OnDownLoad = {read=FOnDownLoad, write=FOnDownLoad};
	__property System::Classes::TNotifyEvent OnEndDownLoad = {read=FOnEndDownLoad, write=FOnEndDownLoad};
	__property TOnErrorLoadTiles OnErrorLoadTiles = {read=FOnErrorLoadTiles, write=FOnErrorLoadTiles};
	__property System::Classes::TNotifyEvent OnErrorConnexion = {read=FOnErrorConnexion, write=FOnErrorConnexion};
};


class PASCALIMPLEMENTATION TThreadECDownLoadTiles : public System::Classes::TThread
{
	typedef System::Classes::TThread inherited;
	
private:
	unsigned FTiming;
	TECDownLoadTiles* FECDownLoadTiles;
	int FStartX;
	int FStartY;
	System::Byte FStartZoom;
	System::Byte FSZoom;
	System::Byte FEZoom;
	bool FStop;
	double FNorthEastLatitude;
	double FNorthEastLongitude;
	double FSouthWestLatitude;
	double FSouthWestLongitude;
	int _X;
	int _Y;
	int _Z;
	void __fastcall doLoadTile();
	void __fastcall doErrorTile();
	
protected:
	virtual void __fastcall Execute();
	
public:
	__fastcall TThreadECDownLoadTiles(TECDownLoadTiles* value, const System::Byte SZoom, const System::Byte EZoom, const double NorthEastLatitude, const double NorthEastLongitude, const double SouthWestLatitude, const double SouthWestLongitude, int startX, int startY, System::Byte StartZoom, System::Classes::TNotifyEvent _OnTerminate);
	__fastcall virtual ~TThreadECDownLoadTiles();
	void __fastcall Stop();
};


enum DECLSPEC_DENUM TOSMData : unsigned char { odNode, odWay, odRel };

typedef System::Set<TOSMData, TOSMData::odNode, TOSMData::odRel> TSetOSMData;

enum DECLSPEC_DENUM TBinaryFilterOSM : unsigned char { bfAnd, bfOr };

struct DECLSPEC_DRECORD TECOverPassData
{
public:
	System::UnicodeString Data;
	System::UnicodeString Query;
};


typedef void __fastcall (__closure *TECOnOverPass)(const TECOverPassData &value);

typedef void __fastcall (__closure *TECOnOverPassLayerData)(const System::UnicodeString XmlValue);

class PASCALIMPLEMENTATION TEOverPass : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TECOnOverPass OnDataEvent;
	TECOverPassData Data;
public:
	/* TObject.Create */ inline __fastcall TEOverPass() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TEOverPass() { }
	
};


class PASCALIMPLEMENTATION TECOverPassApiLayer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TECBBoxDataCacheList* FCacheBox;
	TECOnOverPassLayerData FOnData;
	TECOverPass* FParent;
	TNativeMapControl* FMap;
	System::UnicodeString FQuery;
	int FSecondeTimeOut;
	Vcl::Extctrls::TTimer* FTimer;
	Uecnativeshape::TECShapes* FGroup;
	Uecnativeshape::TECShapeInfoWindow* FInfoWindows;
	double _FNELat;
	double _FNELng;
	double _FSWLat;
	double _FSWLng;
	double FNELat;
	double FNELng;
	double FSWLat;
	double FSWLng;
	Uecnativeshape::TOnShapeMouseEvent FOnClick;
	Uecmaputil::TNativeMapObserver* FObserver;
	__int64 FLastCall;
	bool FChangePosition;
	bool FinLoad;
	System::Classes::TNotifyEvent FOnBeginQuery;
	System::Classes::TNotifyEvent FOnEndQuery;
	void __fastcall setQuery(const System::UnicodeString value);
	void __fastcall ActiveObserver(const bool Active);
	void __fastcall doOnLoad(System::TObject* Sender);
	void __fastcall doMapEndMove(System::TObject* Sender);
	void __fastcall doOnClick(System::TObject* Sender);
	void __fastcall setLayer(const bool value);
	bool __fastcall getLayer();
	void __fastcall doOnCallOverPass(System::TObject* Sender);
	void __fastcall doOnLoadData(System::TObject* Sender);
	void __fastcall UpdateLayer();
	void __fastcall setSecondeTimeOut(const int value);
	void __fastcall doTimeOut(System::TObject* Sender);
	
public:
	__fastcall TECOverPassApiLayer(TECOverPass* const Parent);
	__fastcall virtual ~TECOverPassApiLayer();
	void __fastcall Clear();
	void __fastcall OpenWindow(double Lat, double Lng, const System::UnicodeString Content, int Width = 0x140);
	void __fastcall Tag(const System::UnicodeString tag_name, const System::UnicodeString tag_value, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ))/* overload */;
	void __fastcall Tag(const System::UnicodeString tag_name, const System::UnicodeString *tag_values, const System::NativeInt tag_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0))/* overload */;
	void __fastcall Tag(const System::UnicodeString *tags, const System::NativeInt tags_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0))/* overload */;
	void __fastcall amenity(System::UnicodeString amenity_value, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ))/* overload */;
	void __fastcall amenity(System::UnicodeString *amenity_values, const System::NativeInt amenity_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x1))/* overload */;
	__property System::UnicodeString Query = {read=FQuery, write=setQuery};
	__property Uecnativeshape::TECShapes* Group = {read=FGroup};
	__property bool Visible = {read=getLayer, write=setLayer, nodefault};
	__property int TimeOut = {read=FSecondeTimeOut, write=setSecondeTimeOut, nodefault};
	__property System::Classes::TNotifyEvent OnBeginQuery = {read=FOnBeginQuery, write=FOnBeginQuery};
	__property System::Classes::TNotifyEvent OnEndQuery = {read=FOnEndQuery, write=FOnEndQuery};
	__property Uecnativeshape::TOnShapeMouseEvent OnClick = {read=FOnClick, write=FOnClick};
	__property TECOnOverPassLayerData OnData = {read=FOnData, write=FOnData};
};


class PASCALIMPLEMENTATION TECOverPass : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	Uecmaputil::TNativeMapObserver* FObserver;
	Uecnativeshape::TECShapePolygone* FFilterPolygone;
	System::Classes::TNotifyEvent FOldOnDestroy;
	System::UnicodeString FFilterPolygoneString;
	System::UnicodeString FCache;
	System::UnicodeString FUrl;
	TECOnOverPass FOnData;
	int FPendingQuery;
	int FSecondeTimeOut;
	TECOverPassApiLayer* FECOverPassApiLayer;
	Uecmaputil::TECQueryDataCacheList* FQueryCache;
	void __fastcall doOnCallOverPass(System::TObject* Sender);
	void __fastcall doOnLoadData(System::TObject* Sender);
	void __fastcall setFilterPolygone(Uecnativeshape::TECShapePolygone* const value);
	void __fastcall doOnRemovePolygone(System::TObject* Sender);
	void __fastcall doUpdatePolygone(System::TObject* Sender);
	int __fastcall getMaxEntry();
	void __fastcall setMaxEntry(const int value);
	__int64 __fastcall getMSTime();
	void __fastcall setMSTime(const __int64 value);
	
public:
	__fastcall TECOverPass(TNativeMapControl* Map);
	__fastcall virtual ~TECOverPass();
	void __fastcall Query(const System::UnicodeString value, const TECOnOverPass OnDataEvent = 0x0);
	void __fastcall RailNetWork(const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0);
	void __fastcall TrainStation(const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0);
	void __fastcall StreetNames(const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall StreetNames(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Streets(const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Streets(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const System::UnicodeString *tags, const System::NativeInt tags_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const System::UnicodeString tag_name, const System::UnicodeString *tag_values, const System::NativeInt tag_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const System::UnicodeString tag_name = System::UnicodeString(), const System::UnicodeString tag_value = System::UnicodeString(), const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const System::UnicodeString tag_name = System::UnicodeString(), const System::UnicodeString tag_value = System::UnicodeString(), const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const System::UnicodeString *tags, const System::NativeInt tags_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Tag(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const System::UnicodeString tag_name, const System::UnicodeString *tag_values, const System::NativeInt tag_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall amenity(const System::UnicodeString amenity_value = System::UnicodeString(), const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall amenity(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const System::UnicodeString amenity_value = System::UnicodeString(), const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall amenity(const System::UnicodeString *amenity_values, const System::NativeInt amenity_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall amenity(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const System::UnicodeString *amenity_values, const System::NativeInt amenity_values_High, const TSetOSMData Data = (TSetOSMData() << TOSMData::odNode << TOSMData::odWay ), const TBinaryFilterOSM Op = (TBinaryFilterOSM)(0x0), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Data(const System::UnicodeString bbox = System::UnicodeString(), const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	void __fastcall Data(const double SWLatitude, const double SWLongitude, const double NELatitude, const double NELongitude, const TECOnOverPass OnDataEvent = 0x0)/* overload */;
	__property System::UnicodeString Url = {read=FUrl, write=FUrl};
	__property int PendingQuery = {read=FPendingQuery, nodefault};
	__property Uecnativeshape::TECShapePolygone* FilterPolygone = {read=FFilterPolygone, write=setFilterPolygone};
	__property int TimeOut = {read=FSecondeTimeOut, write=FSecondeTimeOut, nodefault};
	__property TECOnOverPass OnData = {read=FOnData, write=FOnData};
	__property TECOverPassApiLayer* Layer = {read=FECOverPassApiLayer};
	__property int CacheMaxEntry = {read=getMaxEntry, write=setMaxEntry, nodefault};
	__property __int64 CacheMSTime = {read=getMSTime, write=setMSTime};
};


class PASCALIMPLEMENTATION TECBoundary : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	TNativeMapControl* FMap;
	Uechttp::TuecHttp* FHttp;
	System::UnicodeString FPath;
	Uecnativeshape::TECShapes* FShapes;
	System::Classes::TStringList* FList;
	Uecmaputil::TECQueryDataCacheList* FQueryCache;
	System::UnicodeString FNominatimUrl;
	System::UnicodeString FOverPassUrl;
	Uecnativeshape::TECShapesList* FShapeList;
	Uecnativeshape::TIntegerRangeZoom* FAdminLevelFromZoom;
	__int64 FOSMId;
	System::Classes::TStringList* FOSMTags;
	TGetPolygoneFromID FGetPolygoneFromID;
	void __fastcall SetOverPassUrl(const System::UnicodeString value);
	void __fastcall SetNominatimUrl(const System::UnicodeString value);
	System::UnicodeString __fastcall GetAdminLevelFromZoom();
	void __fastcall SetAdminLevelFromZoom(const System::UnicodeString value = System::UnicodeString());
	System::UnicodeString __fastcall getGroupName();
	void __fastcall setGroupName(const System::UnicodeString value);
	int __fastcall NominatimQuery(const System::UnicodeString QueryParams);
	int __fastcall getMaxEntry();
	void __fastcall setMaxEntry(const int value);
	__int64 __fastcall getMSTime();
	void __fastcall setMSTime(const __int64 value);
	
public:
	__fastcall TECBoundary(TNativeMapControl* Map);
	__fastcall virtual ~TECBoundary();
	void __fastcall Clear();
	int __fastcall address(const System::UnicodeString value, const int limit = 0x1);
	int __fastcall location(const double Lat, const double Lng, const System::Byte Zoom = (System::Byte)(0x12));
	int __fastcall Filter(const double Lat, const double Lng, const System::UnicodeString AreaFilter);
	int __fastcall Administrative(const double Lat, const double Lng, int level = 0x0);
	void __fastcall fitBounds();
	__property System::UnicodeString OverPassUrl = {read=FOverPassUrl, write=SetOverPassUrl};
	__property System::UnicodeString NominatimUrl = {read=FNominatimUrl, write=SetNominatimUrl};
	__property __int64 Id = {read=FOSMId};
	__property System::Classes::TStringList* tags = {read=FOSMTags};
	__property System::UnicodeString AdminLevelFromZoom = {read=GetAdminLevelFromZoom, write=SetAdminLevelFromZoom};
	__property Uecnativeshape::TECShapes* Shapes = {read=FShapes};
	__property System::UnicodeString GroupName = {read=getGroupName, write=setGroupName};
	__property TGetPolygoneFromID GetPolygoneFromID = {read=FGetPolygoneFromID, write=FGetPolygoneFromID};
	__property Uecnativeshape::TECShapesList* Items = {read=FShapeList};
	__property int CacheMaxEntry = {read=getMaxEntry, write=setMaxEntry, nodefault};
	__property __int64 CacheMSTime = {read=getMSTime, write=setMSTime};
};


class PASCALIMPLEMENTATION TECSnapDrag : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	Uecmaputil::TNativeMapObserver* FObserver;
	TNativeMapControl* FMap;
	Uecnativeshape::TECShapes* FSnapGroup;
	Uecnativeshape::TECShapeLine* FSnapLine;
	Uecnativeshape::TECShapePOI* FSnapPOI;
	Uecnativeshape::TECShapesList* FSnapMarkers;
	Uecnativeshape::TECShapesList* FGuideLines;
	Uecnativeshape::TECShape* FSnapGuide;
	bool FMultipleSelection;
	bool FTargetLine;
	System::Classes::TNotifyEvent FOnNoSnap;
	System::Classes::TNotifyEvent FOnSnap;
	TOnFutureSnap FOnFutureSnap;
	bool FMeterDistance;
	int FSnapDistance;
	Uecnativeshape::TECShape* FSnapShape;
	double NLat;
	double NLng;
	double FPrevLat;
	double FPrevLng;
	Uecnativeshape::TECShape* __fastcall getShape();
	void __fastcall Detach_Observer();
	void __fastcall WM_ShapeDrag(System::TObject* Sender);
	void __fastcall WM_ShapeDragEnd(System::TObject* Sender);
	void __fastcall WM_ShapeMouseDown(System::TObject* Sender);
	void __fastcall FindNearestGuide(double &NLat, double &NLng);
	void __fastcall setTargetLine(const bool value);
	
public:
	__fastcall TECSnapDrag();
	__fastcall virtual ~TECSnapDrag();
	void __fastcall ClearMarker();
	bool __fastcall AddMarker(Uecnativeshape::TECShape* const Marker);
	void __fastcall RemoveMarker(Uecnativeshape::TECShape* const Marker);
	void __fastcall SnapMarker(Uecnativeshape::TECShape* const Marker);
	void __fastcall ClearGuide();
	bool __fastcall AddGuide(Uecnativeshape::TECShapeLine* const Guide);
	void __fastcall RemoveGuide(Uecnativeshape::TECShapeLine* const Guide);
	void __fastcall CancelSnap();
	__property bool MeterDistance = {read=FMeterDistance, write=FMeterDistance, nodefault};
	__property bool MultipleSelection = {read=FMultipleSelection, write=FMultipleSelection, nodefault};
	__property bool TargetLine = {read=FTargetLine, write=setTargetLine, nodefault};
	__property Uecnativeshape::TECShape* SnapShape = {read=getShape};
	__property int SnapDistance = {read=FSnapDistance, write=FSnapDistance, nodefault};
	__property Uecnativeshape::TECShape* SnapGuide = {read=FSnapGuide};
	__property System::Classes::TNotifyEvent OnSnap = {read=FOnSnap, write=FOnSnap};
	__property System::Classes::TNotifyEvent OnNoSnap = {read=FOnNoSnap, write=FOnNoSnap};
	__property TOnFutureSnap OnFutureSnap = {read=FOnFutureSnap, write=FOnFutureSnap};
};


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE System::UnicodeString __fastcall EncodeStyleValue(const System::UnicodeString value);
}	/* namespace Uecnativemapcontrol */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UECNATIVEMAPCONTROL)
using namespace Uecnativemapcontrol;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// uecNativeMapControlHPP
