@nativescript-community/ui-carto
Version:
NativeScript plugin for CARTO Mobile SDK
1,717 lines (939 loc) • 196 kB
TypeScript
/* eslint-disable @typescript-eslint/unified-signatures */
/* eslint-disable @typescript-eslint/adjacent-overload-signatures */
/* eslint-disable no-redeclare */
declare class NTAddress extends NSObject {
static alloc(): NTAddress; // inherited from NSObject
static new(): NTAddress; // inherited from NSObject
constructor(o: {
country: string;
region: string;
county: string;
locality: string;
neighbourhood: string;
street: string;
postcode: string;
houseNumber: string;
name: string;
categories: NTStringVector;
});
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
description(): string;
getCategories(): NTStringVector;
getCountry(): string;
getCounty(): string;
getCptr(): interop.Pointer | interop.Reference<any>;
getHouseNumber(): string;
getLocality(): string;
getName(): string;
getNeighbourhood(): string;
getPostcode(): string;
getRegion(): string;
getStreet(): string;
hash(): number;
hashInternal(): number;
initWithCountryRegionCountyLocalityNeighbourhoodStreetPostcodeHouseNumberNameCategories(
country: string,
region: string,
county: string,
locality: string,
neighbourhood: string,
street: string,
postcode: string,
houseNumber: string,
name: string,
categories: NTStringVector
): this;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEqualInternal(address: NTAddress): boolean;
swigGetRawPtr(): number;
}
declare class NTAnimationStyle extends NSObject {
static alloc(): NTAnimationStyle; // inherited from NSObject
static new(): NTAnimationStyle; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTAnimationStyle;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
getFadeAnimationType(): NTAnimationType;
getPhaseInDuration(): number;
getPhaseOutDuration(): number;
getRelativeSpeed(): number;
getSizeAnimationType(): NTAnimationType;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTAnimationStyleBuilder extends NSObject {
static alloc(): NTAnimationStyleBuilder; // inherited from NSObject
static new(): NTAnimationStyleBuilder; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTAnimationStyleBuilder;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
buildStyle(): NTAnimationStyle;
getCptr(): interop.Pointer | interop.Reference<any>;
getFadeAnimationType(): NTAnimationType;
getPhaseInDuration(): number;
getPhaseOutDuration(): number;
getRelativeSpeed(): number;
getSizeAnimationType(): NTAnimationType;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
setFadeAnimationType(animType: NTAnimationType): void;
setPhaseInDuration(duration: number): void;
setPhaseOutDuration(duration: number): void;
setRelativeSpeed(relativeSpeed: number): void;
setSizeAnimationType(animType: NTAnimationType): void;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare const enum NTAnimationType {
T_ANIMATION_TYPE_NONE = 0,
T_ANIMATION_TYPE_STEP = 1,
T_ANIMATION_TYPE_LINEAR = 2,
T_ANIMATION_TYPE_SMOOTHSTEP = 3,
T_ANIMATION_TYPE_SPRING = 4
}
declare class NTAssetPackage extends NSObject {
static alloc(): NTAssetPackage; // inherited from NSObject
static new(): NTAssetPackage; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTAssetPackage;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getAssetNames(): NTStringVector;
getCptr(): interop.Pointer | interop.Reference<any>;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
loadAsset(name: string): NTBinaryData;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTAssetTileDataSource extends NTTileDataSource {
static alloc(): NTAssetTileDataSource; // inherited from NSObject
static new(): NTAssetTileDataSource; // inherited from NSObject
constructor(o: { minZoom: number; maxZoom: number; basePath: string });
buildAssetPathSwigExplicitNTAssetTileDataSourceTile(basePath: string, tile: NTMapTile): string;
buildAssetPathTile(basePath: string, tile: NTMapTile): string;
initWithMinZoomMaxZoomBasePath(minZoom: number, maxZoom: number, basePath: string): this;
loadTileSwigExplicitNTAssetTileDataSource(tile: NTMapTile): NTTileData;
}
declare class NTAssetUtils extends NSObject {
static alloc(): NTAssetUtils; // inherited from NSObject
static calculateResourcePath(resourceName: string): string;
static calculateWritablePath(fileName: string): string;
static loadAsset(path: string): NTBinaryData;
static new(): NTAssetUtils; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
}
declare class NTBalloonPopup extends NTPopup {
static alloc(): NTBalloonPopup; // inherited from NSObject
static new(): NTBalloonPopup; // inherited from NSObject
constructor(o: { baseBillboard: NTBillboard; style: NTBalloonPopupStyle; title: string; desc: string });
constructor(o: { geometry: NTGeometry; style: NTBalloonPopupStyle; title: string; desc: string });
constructor(o: { pos: NTMapPos; style: NTBalloonPopupStyle; title: string; desc: string });
addButton(button: NTBalloonPopupButton): void;
clearButtons(): void;
getBalloonPopupEventListener(): NTBalloonPopupEventListener;
getDescription(): string;
getStyle(): NTBalloonPopupStyle;
getTitle(): string;
initWithBaseBillboardStyleTitleDesc(baseBillboard: NTBillboard, style: NTBalloonPopupStyle, title: string, desc: string): this;
initWithGeometryStyleTitleDesc(geometry: NTGeometry, style: NTBalloonPopupStyle, title: string, desc: string): this;
initWithPosStyleTitleDesc(pos: NTMapPos, style: NTBalloonPopupStyle, title: string, desc: string): this;
removeButton(button: NTBalloonPopupButton): void;
replaceButtonNewButton(oldButton: NTBalloonPopupButton, newButton: NTBalloonPopupButton): void;
setBalloonPopupEventListener(eventListener: NTBalloonPopupEventListener): void;
setDescription(desc: string): void;
setStyle(style: NTBalloonPopupStyle): void;
setTitle(title: string): void;
}
declare class NTBalloonPopupButton extends NSObject {
static alloc(): NTBalloonPopupButton; // inherited from NSObject
static new(): NTBalloonPopupButton; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTBalloonPopupButton;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { style: NTBalloonPopupButtonStyle; text: string });
getCptr(): interop.Pointer | interop.Reference<any>;
getStyle(): NTBalloonPopupButtonStyle;
getTag(): NTVariant;
getText(): string;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithStyleText(style: NTBalloonPopupButtonStyle, text: string): this;
setTag(tag: NTVariant): void;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTBalloonPopupButtonClickInfo extends NSObject {
static alloc(): NTBalloonPopupButtonClickInfo; // inherited from NSObject
static new(): NTBalloonPopupButtonClickInfo; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getButton(): NTBalloonPopupButton;
getClickInfo(): NTClickInfo;
getClickType(): NTClickType;
getCptr(): interop.Pointer | interop.Reference<any>;
getVectorElement(): NTVectorElement;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetRawPtr(): number;
}
declare class NTBalloonPopupButtonStyle extends NTStyle {
static alloc(): NTBalloonPopupButtonStyle; // inherited from NSObject
static new(): NTBalloonPopupButtonStyle; // inherited from NSObject
getBackgroundColor(): NTColor;
getButtonWidth(): number;
getCornerRadius(): number;
getStrokeColor(): NTColor;
getStrokeWidth(): number;
getTextColor(): NTColor;
getTextFontName(): string;
getTextFontSize(): number;
getTextMargins(): NTBalloonPopupMargins;
}
declare class NTBalloonPopupButtonStyleBuilder extends NTStyleBuilder {
static alloc(): NTBalloonPopupButtonStyleBuilder; // inherited from NSObject
static new(): NTBalloonPopupButtonStyleBuilder; // inherited from NSObject
buildStyle(): NTBalloonPopupButtonStyle;
getButtonWidth(): number;
getCornerRadius(): number;
getStrokeColor(): NTColor;
getStrokeWidth(): number;
getTextColor(): NTColor;
getTextFontName(): string;
getTextFontSize(): number;
getTextMargins(): NTBalloonPopupMargins;
setButtonWidth(buttonWidth: number): void;
setCornerRadius(cornerRadius: number): void;
setStrokeColor(strokeColor: NTColor): void;
setStrokeWidth(strokeWidth: number): void;
setTextColor(textColor: NTColor): void;
setTextFontName(textFontName: string): void;
setTextFontSize(textFontSize: number): void;
setTextMargins(textMargins: NTBalloonPopupMargins): void;
}
declare class NTBalloonPopupEventListener extends NSObject {
static alloc(): NTBalloonPopupEventListener; // inherited from NSObject
static new(): NTBalloonPopupEventListener; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTBalloonPopupEventListener;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
onButtonClicked(clickInfo: NTBalloonPopupButtonClickInfo): boolean;
onButtonClickedSwigExplicitNTBalloonPopupEventListener(clickInfo: NTBalloonPopupButtonClickInfo): boolean;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTBalloonPopupMargins extends NSObject {
static alloc(): NTBalloonPopupMargins; // inherited from NSObject
static new(): NTBalloonPopupMargins; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { left: number; top: number; right: number; bottom: number });
getBottom(): number;
getCptr(): interop.Pointer | interop.Reference<any>;
getLeft(): number;
getRight(): number;
getTop(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithLeftTopRightBottom(left: number, top: number, right: number, bottom: number): this;
swigGetRawPtr(): number;
}
declare class NTBalloonPopupStyle extends NTPopupStyle {
static alloc(): NTBalloonPopupStyle; // inherited from NSObject
static new(): NTBalloonPopupStyle; // inherited from NSObject
getBackgroundColor(): NTColor;
getButtonMargins(): NTBalloonPopupMargins;
getCornerRadius(): number;
getDescriptionColor(): NTColor;
getDescriptionField(): string;
getDescriptionFontName(): string;
getDescriptionFontSize(): number;
getDescriptionMargins(): NTBalloonPopupMargins;
getLeftColor(): NTColor;
getLeftImage(): NTBitmap;
getLeftMargins(): NTBalloonPopupMargins;
getRightColor(): NTColor;
getRightImage(): NTBitmap;
getRightMargins(): NTBalloonPopupMargins;
getStrokeColor(): NTColor;
getStrokeWidth(): number;
getTitleColor(): NTColor;
getTitleField(): string;
getTitleFontName(): string;
getTitleFontSize(): number;
getTitleMargins(): NTBalloonPopupMargins;
getTriangleHeight(): number;
getTriangleWidth(): number;
isDescriptionWrap(): boolean;
isTitleWrap(): boolean;
}
declare class NTBalloonPopupStyleBuilder extends NTPopupStyleBuilder {
static alloc(): NTBalloonPopupStyleBuilder; // inherited from NSObject
static new(): NTBalloonPopupStyleBuilder; // inherited from NSObject
buildStyle(): NTBalloonPopupStyle;
getButtonMargins(): NTBalloonPopupMargins;
getCornerRadius(): number;
getDescriptionColor(): NTColor;
getDescriptionField(): string;
getDescriptionFontName(): string;
getDescriptionFontSize(): number;
getDescriptionMargins(): NTBalloonPopupMargins;
getLeftColor(): NTColor;
getLeftImage(): NTBitmap;
getLeftMargins(): NTBalloonPopupMargins;
getRightColor(): NTColor;
getRightImage(): NTBitmap;
getRightMargins(): NTBalloonPopupMargins;
getStrokeColor(): NTColor;
getStrokeWidth(): number;
getTitleColor(): NTColor;
getTitleField(): string;
getTitleFontName(): string;
getTitleFontSize(): number;
getTitleMargins(): NTBalloonPopupMargins;
getTriangleHeight(): number;
getTriangleWidth(): number;
isDescriptionWrap(): boolean;
isTitleWrap(): boolean;
setButtonMargins(buttonMargins: NTBalloonPopupMargins): void;
setCornerRadius(cornerRadius: number): void;
setDescriptionColor(descColor: NTColor): void;
setDescriptionField(field: string): void;
setDescriptionFontName(descFontName: string): void;
setDescriptionFontSize(descFontSize: number): void;
setDescriptionMargins(descMargins: NTBalloonPopupMargins): void;
setDescriptionWrap(descWrap: boolean): void;
setLeftColor(leftColor: NTColor): void;
setLeftImage(leftImage: NTBitmap): void;
setLeftMargins(leftMargins: NTBalloonPopupMargins): void;
setRightColor(rightColor: NTColor): void;
setRightImage(rightImage: NTBitmap): void;
setRightMargins(rightMargins: NTBalloonPopupMargins): void;
setStrokeColor(strokeColor: NTColor): void;
setStrokeWidth(strokeWidth: number): void;
setTitleColor(titleColor: NTColor): void;
setTitleField(field: string): void;
setTitleFontName(titleFontName: string): void;
setTitleFontSize(titleFontSize: number): void;
setTitleMargins(titleMargins: NTBalloonPopupMargins): void;
setTitleWrap(titleWrap: boolean): void;
setTriangleHeight(triangleHeight: number): void;
setTriangleWidth(triangleWidth: number): void;
}
declare class NTBillboard extends NTVectorElement {
static alloc(): NTBillboard; // inherited from NSObject
static new(): NTBillboard; // inherited from NSObject
getBaseBillboard(): NTBillboard;
getRootGeometry(): NTGeometry;
getRotation(): number;
setBaseBillboard(baseBillboard: NTBillboard): void;
setGeometry(geometry: NTGeometry): void;
setPos(pos: NTMapPos): void;
setRotation(rotation: number): void;
}
declare const enum NTBillboardOrientation {
T_BILLBOARD_ORIENTATION_FACE_CAMERA = 0,
T_BILLBOARD_ORIENTATION_FACE_CAMERA_GROUND = 1,
T_BILLBOARD_ORIENTATION_GROUND = 2
}
declare const enum NTBillboardScaling {
T_BILLBOARD_SCALING_WORLD_SIZE = 0,
T_BILLBOARD_SCALING_SCREEN_SIZE = 1,
T_BILLBOARD_SCALING_CONST_SCREEN_SIZE = 2
}
declare class NTBillboardStyle extends NTStyle {
static alloc(): NTBillboardStyle; // inherited from NSObject
static new(): NTBillboardStyle; // inherited from NSObject
getAnimationStyle(): NTAnimationStyle;
getAttachAnchorPointX(): number;
getAttachAnchorPointY(): number;
getHorizontalOffset(): number;
getPlacementPriority(): number;
getVerticalOffset(): number;
isCausesOverlap(): boolean;
isHideIfOverlapped(): boolean;
isScaleWithDPI(): boolean;
}
declare class NTBillboardStyleBuilder extends NTStyleBuilder {
static alloc(): NTBillboardStyleBuilder; // inherited from NSObject
static new(): NTBillboardStyleBuilder; // inherited from NSObject
getAnimationStyle(): NTAnimationStyle;
getAttachAnchorPointX(): number;
getAttachAnchorPointY(): number;
getHorizontalOffset(): number;
getPlacementPriority(): number;
getVerticalOffset(): number;
isCausesOverlap(): boolean;
isHideIfOverlapped(): boolean;
isScaleWithDPI(): boolean;
setAnimationStyle(animStyle: NTAnimationStyle): void;
setAttachAnchorPointX(attachAnchorPointX: number): void;
setAttachAnchorPointXAttachAnchorPointY(attachAnchorPointX: number, attachAnchorPointY: number): void;
setAttachAnchorPointY(attachAnchorPointY: number): void;
setCausesOverlap(causesOverlap: boolean): void;
setHideIfOverlapped(hideIfOverlapped: boolean): void;
setHorizontalOffset(horizontalOffset: number): void;
setPlacementPriority(placementPriority: number): void;
setScaleWithDPI(scaleWithDPI: boolean): void;
setVerticalOffset(verticalOffset: number): void;
}
declare class NTBinaryData extends NSObject {
static alloc(): NTBinaryData; // inherited from NSObject
static new(): NTBinaryData; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { dataPtr: string | interop.Pointer | interop.Reference<any>; size: number });
description(): string;
getCptr(): interop.Pointer | interop.Reference<any>;
getData(): string;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithDataPtrSize(dataPtr: string | interop.Pointer | interop.Reference<any>, size: number): this;
size(): number;
swigGetRawPtr(): number;
}
declare class NTBitmap extends NSObject {
static alloc(): NTBitmap; // inherited from NSObject
static createFromCompressed(compressedData: NTBinaryData): NTBitmap;
static new(): NTBitmap; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { pixelData: NTBinaryData; width: number; height: number; colorFormat: NTColorFormat; bytesPerRow: number });
compressToInternal(): NTBinaryData;
compressToPNG(): NTBinaryData;
getBytesPerPixel(): number;
getColorFormat(): NTColorFormat;
getCptr(): interop.Pointer | interop.Reference<any>;
getHeight(): number;
getPaddedBitmapYPadding(xPadding: number, yPadding: number): NTBitmap;
getPixelData(): NTBinaryData;
getRGBABitmap(): NTBitmap;
getResizedBitmapHeight(width: number, height: number): NTBitmap;
getSubBitmapYOffsetWidthHeight(xOffset: number, yOffset: number, width: number, height: number): NTBitmap;
getWidth(): number;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithPixelDataWidthHeightColorFormatBytesPerRow(pixelData: NTBinaryData, width: number, height: number, colorFormat: NTColorFormat, bytesPerRow: number): this;
swigGetRawPtr(): number;
}
declare class NTBitmapOverlayRasterTileDataSource extends NTTileDataSource {
static alloc(): NTBitmapOverlayRasterTileDataSource; // inherited from NSObject
static new(): NTBitmapOverlayRasterTileDataSource; // inherited from NSObject
constructor(o: { minZoom: number; maxZoom: number; bitmap: NTBitmap; projection: NTProjection; mapPoses: NTMapPosVector; bitmapPoses: NTScreenPosVector });
getDataExtentSwigExplicitNTBitmapOverlayRasterTileDataSource(): NTMapBounds;
initWithMinZoomMaxZoomBitmapProjectionMapPosesBitmapPoses(
minZoom: number,
maxZoom: number,
bitmap: NTBitmap,
projection: NTProjection,
mapPoses: NTMapPosVector,
bitmapPoses: NTScreenPosVector
): this;
loadTileSwigExplicitNTBitmapOverlayRasterTileDataSource(mapTile: NTMapTile): NTTileData;
}
declare class NTBitmapUtils extends NSObject {
static alloc(): NTBitmapUtils; // inherited from NSObject
static createBitmapFromUIImage(image: UIImage): NTBitmap;
static createUIImageFromBitmap(bitmap: NTBitmap): UIImage;
static loadBitmapFromAssets(assetPath: string): NTBitmap;
static loadBitmapFromFile(filePath: string): NTBitmap;
static new(): NTBitmapUtils; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
}
declare class NTCacheTileDataSource extends NTTileDataSource {
static alloc(): NTCacheTileDataSource; // inherited from NSObject
static new(): NTCacheTileDataSource; // inherited from NSObject
constructor(o: { dataSource: NTTileDataSource });
clear(): void;
getCapacity(): number;
getDataExtentSwigExplicitNTCacheTileDataSource(): NTMapBounds;
getDataSource(): NTTileDataSource;
getMaxZoomSwigExplicitNTCacheTileDataSource(): number;
getMinZoomSwigExplicitNTCacheTileDataSource(): number;
initWithDataSource(dataSource: NTTileDataSource): this;
notifyTilesChangedSwigExplicitNTCacheTileDataSource(removeTiles: boolean): void;
setCapacity(capacityInBytes: number): void;
}
declare class NTCartoCSSStyleSet extends NSObject {
static alloc(): NTCartoCSSStyleSet; // inherited from NSObject
static new(): NTCartoCSSStyleSet; // inherited from NSObject
constructor(o: { cartoCSS: string });
constructor(o: { cartoCSS: string; assetPackage: NTAssetPackage });
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getAssetPackage(): NTAssetPackage;
getCartoCSS(): string;
getCptr(): interop.Pointer | interop.Reference<any>;
hash(): number;
initWithCartoCSS(cartoCSS: string): this;
initWithCartoCSSAssetPackage(cartoCSS: string, assetPackage: NTAssetPackage): this;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetRawPtr(): number;
}
declare class NTClickInfo extends NSObject {
static alloc(): NTClickInfo; // inherited from NSObject
static new(): NTClickInfo; // inherited from NSObject
constructor(o: { clickType: NTClickType; duration: number });
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
description(): string;
getClickType(): NTClickType;
getCptr(): interop.Pointer | interop.Reference<any>;
getDuration(): number;
hash(): number;
hashInternal(): number;
initWithClickTypeDuration(clickType: NTClickType, duration: number): this;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEqualInternal(clickInfo: NTClickInfo): boolean;
swigGetRawPtr(): number;
}
declare const enum NTClickType {
T_CLICK_TYPE_SINGLE = 0,
T_CLICK_TYPE_LONG = 1,
T_CLICK_TYPE_DOUBLE = 2,
T_CLICK_TYPE_DUAL = 3
}
declare const enum NTClusterBuilderMode {
T_CLUSTER_BUILDER_MODE_ELEMENTS = 0,
T_CLUSTER_BUILDER_MODE_ELEMENT_COUNT = 1
}
declare class NTClusterElementBuilder extends NSObject {
static alloc(): NTClusterElementBuilder; // inherited from NSObject
static new(): NTClusterElementBuilder; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTClusterElementBuilder;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
buildClusterElementElementCount(mapPos: NTMapPos, elementCount: number): NTVectorElement;
buildClusterElementElements(mapPos: NTMapPos, elements: NTVectorElementVector): NTVectorElement;
buildClusterElementSwigExplicitNTClusterElementBuilderElementCount(mapPos: NTMapPos, elementCount: number): NTVectorElement;
buildClusterElementSwigExplicitNTClusterElementBuilderElements(mapPos: NTMapPos, elements: NTVectorElementVector): NTVectorElement;
getBuilderMode(): NTClusterBuilderMode;
getBuilderModeSwigExplicitNTClusterElementBuilder(): NTClusterBuilderMode;
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTClusteredVectorLayer extends NTVectorLayer {
static alloc(): NTClusteredVectorLayer; // inherited from NSObject
static new(): NTClusteredVectorLayer; // inherited from NSObject
constructor(o: { dataSource: NTLocalVectorDataSource; clusterElementBuilder: NTClusterElementBuilder });
expandClusterPx(clusterElement: NTVectorElement, px: number): boolean;
getClusterElementBuilder(): NTClusterElementBuilder;
getMaximumClusterZoom(): number;
getMinimumClusterDistance(): number;
initWithDataSourceClusterElementBuilder(dataSource: NTLocalVectorDataSource, clusterElementBuilder: NTClusterElementBuilder): this;
isAnimatedClusters(): boolean;
setAnimatedClusters(animated: boolean): void;
setMaximumClusterZoom(maxZoom: number): void;
setMinimumClusterDistance(px: number): void;
}
declare class NTColor extends NSObject {
static alloc(): NTColor; // inherited from NSObject
static new(): NTColor; // inherited from NSObject
constructor(o: { color: number });
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { r: number; g: number; b: number; a: number });
description(): string;
getA(): number;
getARGB(): number;
getB(): number;
getCptr(): interop.Pointer | interop.Reference<any>;
getG(): number;
getR(): number;
hash(): number;
hashInternal(): number;
initWithColor(color: number): this;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithRGBA(r: number, g: number, b: number, a: number): this;
isEqualInternal(color: NTColor): boolean;
swigGetRawPtr(): number;
}
declare const enum NTColorFormat {
T_COLOR_FORMAT_UNSUPPORTED = 0,
T_COLOR_FORMAT_GRAYSCALE = 6409,
T_COLOR_FORMAT_GRAYSCALE_ALPHA = 6410,
T_COLOR_FORMAT_RGB = 6407,
T_COLOR_FORMAT_RGBA = 6408,
T_COLOR_FORMAT_BGRA = 1,
T_COLOR_FORMAT_RGBA_4444 = 2,
T_COLOR_FORMAT_RGB_565 = 3
}
declare class NTCombinedTileDataSource extends NTTileDataSource {
static alloc(): NTCombinedTileDataSource; // inherited from NSObject
static new(): NTCombinedTileDataSource; // inherited from NSObject
constructor(o: { dataSource1: NTTileDataSource; dataSource2: NTTileDataSource; zoomLevel: number });
getDataExtentSwigExplicitNTCombinedTileDataSource(): NTMapBounds;
getMaxZoomSwigExplicitNTCombinedTileDataSource(): number;
getMinZoomSwigExplicitNTCombinedTileDataSource(): number;
initWithDataSource1DataSource2ZoomLevel(dataSource1: NTTileDataSource, dataSource2: NTTileDataSource, zoomLevel: number): this;
loadTileSwigExplicitNTCombinedTileDataSource(tile: NTMapTile): NTTileData;
}
declare class NTCompiledStyleSet extends NSObject {
static alloc(): NTCompiledStyleSet; // inherited from NSObject
static new(): NTCompiledStyleSet; // inherited from NSObject
constructor(o: { assetPackage: NTAssetPackage });
constructor(o: { assetPackage: NTAssetPackage; styleName: string });
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getAssetPackage(): NTAssetPackage;
getCptr(): interop.Pointer | interop.Reference<any>;
getStyleAssetName(): string;
getStyleName(): string;
hash(): number;
initWithAssetPackage(assetPackage: NTAssetPackage): this;
initWithAssetPackageStyleName(assetPackage: NTAssetPackage, styleName: string): this;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetRawPtr(): number;
}
declare class NTCullState extends NSObject {
static alloc(): NTCullState; // inherited from NSObject
static new(): NTCullState; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { envelope: NTMapEnvelope; viewState: NTViewState });
getCptr(): interop.Pointer | interop.Reference<any>;
getProjectionEnvelope(projection: NTProjection): NTMapEnvelope;
getViewState(): NTViewState;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithEnvelopeViewState(envelope: NTMapEnvelope, viewState: NTViewState): this;
swigGetRawPtr(): number;
}
declare class NTCustomPopup extends NTPopup {
static alloc(): NTCustomPopup; // inherited from NSObject
static new(): NTCustomPopup; // inherited from NSObject
constructor(o: { baseBillboard: NTBillboard; style: NTPopupStyle; popupHandler: NTCustomPopupHandler });
constructor(o: { geometry: NTGeometry; style: NTPopupStyle; popupHandler: NTCustomPopupHandler });
constructor(o: { pos: NTMapPos; style: NTPopupStyle; popupHandler: NTCustomPopupHandler });
getPopupHandler(): NTCustomPopupHandler;
initWithBaseBillboardStylePopupHandler(baseBillboard: NTBillboard, style: NTPopupStyle, popupHandler: NTCustomPopupHandler): this;
initWithGeometryStylePopupHandler(geometry: NTGeometry, style: NTPopupStyle, popupHandler: NTCustomPopupHandler): this;
initWithPosStylePopupHandler(pos: NTMapPos, style: NTPopupStyle, popupHandler: NTCustomPopupHandler): this;
}
declare class NTCustomPopupHandler extends NSObject {
static alloc(): NTCustomPopupHandler; // inherited from NSObject
static new(): NTCustomPopupHandler; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTCustomPopupHandler;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
onDrawPopup(popupDrawInfo: NTPopupDrawInfo): NTBitmap;
onDrawPopupSwigExplicitNTCustomPopupHandler(popupDrawInfo: NTPopupDrawInfo): NTBitmap;
onPopupClicked(popupClickInfo: NTPopupClickInfo): boolean;
onPopupClickedSwigExplicitNTCustomPopupHandler(popupClickInfo: NTPopupClickInfo): boolean;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTDoubleVector extends NSObject {
static alloc(): NTDoubleVector; // inherited from NSObject
static new(): NTDoubleVector; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
add(x: number): void;
capacity(): number;
clear(): void;
get(i: number): number;
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEmpty(): boolean;
reserve(n: number): void;
setVal(i: number, val: number): void;
size(): number;
swigGetRawPtr(): number;
}
declare class NTDouglasPeuckerGeometrySimplifier extends NTGeometrySimplifier {
static alloc(): NTDouglasPeuckerGeometrySimplifier; // inherited from NSObject
static new(): NTDouglasPeuckerGeometrySimplifier; // inherited from NSObject
constructor(o: { tolerance: number });
initWithTolerance(tolerance: number): this;
}
declare class NTEPSG3857 extends NTProjection {
static alloc(): NTEPSG3857; // inherited from NSObject
static new(): NTEPSG3857; // inherited from NSObject
}
declare class NTEPSG4326 extends NTProjection {
static alloc(): NTEPSG4326; // inherited from NSObject
static new(): NTEPSG4326; // inherited from NSObject
}
declare class NTEditableVectorLayer extends NTVectorLayer {
static alloc(): NTEditableVectorLayer; // inherited from NSObject
static new(): NTEditableVectorLayer; // inherited from NSObject
getSelectedVectorElement(): NTVectorElement;
getVectorEditEventListener(): NTVectorEditEventListener;
setSelectedVectorElement(element: NTVectorElement): void;
setVectorEditEventListener(listener: NTVectorEditEventListener): void;
}
declare class NTElevationDecoder extends NSObject {
static alloc(): NTElevationDecoder; // inherited from NSObject
static new(): NTElevationDecoder; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTElevationDecoder;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTExceptionWrapper extends NSObject {
static alloc(): NTExceptionWrapper; // inherited from NSObject
static catchExceptionError(tryBlock: () => void): boolean;
static new(): NTExceptionWrapper; // inherited from NSObject
}
declare class NTFeature extends NSObject {
static alloc(): NTFeature; // inherited from NSObject
static new(): NTFeature; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTFeature;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { geometry: NTGeometry; properties: NTVariant });
getCptr(): interop.Pointer | interop.Reference<any>;
getGeometry(): NTGeometry;
getProperties(): NTVariant;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithGeometryProperties(geometry: NTGeometry, properties: NTVariant): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTFeatureCollection extends NSObject {
static alloc(): NTFeatureCollection; // inherited from NSObject
static new(): NTFeatureCollection; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTFeatureCollection;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { features: NTFeatureVector });
getCptr(): interop.Pointer | interop.Reference<any>;
getFeature(index: number): NTFeature;
getFeatureCount(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithFeatures(features: NTFeatureVector): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTFeatureCollectionSearchService extends NSObject {
static alloc(): NTFeatureCollectionSearchService; // inherited from NSObject
static new(): NTFeatureCollectionSearchService; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTFeatureCollectionSearchService;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { projection: NTProjection; featureCollection: NTFeatureCollection });
findFeatures(request: NTSearchRequest): NTFeatureCollection;
findFeaturesSwigExplicitNTFeatureCollectionSearchService(request: NTSearchRequest): NTFeatureCollection;
getCptr(): interop.Pointer | interop.Reference<any>;
getFeatureCollection(): NTFeatureCollection;
getMaxResults(): number;
getProjection(): NTProjection;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithProjectionFeatureCollection(projection: NTProjection, featureCollection: NTFeatureCollection): this;
setMaxResults(maxResults: number): void;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTFeatureVector extends NSObject {
static alloc(): NTFeatureVector; // inherited from NSObject
static new(): NTFeatureVector; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
add(x: NTFeature): void;
capacity(): number;
clear(): void;
get(i: number): NTFeature;
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEmpty(): boolean;
reserve(n: number): void;
setVal(i: number, val: NTFeature): void;
size(): number;
swigGetRawPtr(): number;
}
declare class NTGeoJSONGeometryReader extends NSObject {
static alloc(): NTGeoJSONGeometryReader; // inherited from NSObject
static new(): NTGeoJSONGeometryReader; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
getTargetProjection(): NTProjection;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
readFeature(geoJSON: string): NTFeature;
readFeatureCollection(geoJSON: string): NTFeatureCollection;
readGeometry(geoJSON: string): NTGeometry;
setTargetProjection(proj: NTProjection): void;
}
declare class NTGeoJSONGeometryWriter extends NSObject {
static alloc(): NTGeoJSONGeometryWriter; // inherited from NSObject
static new(): NTGeoJSONGeometryWriter; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
getSourceProjection(): NTProjection;
getZ(): boolean;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
setSourceProjection(proj: NTProjection): void;
setZ(z: boolean): void;
writeFeature(feature: NTFeature): string;
writeFeatureCollection(featureCollection: NTFeatureCollection): string;
writeGeometry(geometry: NTGeometry): string;
}
declare class NTGeoJSONVectorTileDataSource extends NTTileDataSource {
static alloc(): NTGeoJSONVectorTileDataSource; // inherited from NSObject
static new(): NTGeoJSONVectorTileDataSource; // inherited from NSObject
addGeoJSONFeatureGeoJSON(layerIndex: number, geoJSON: NTVariant): void;
addGeoJSONStringFeatureGeoJSON(layerIndex: number, geoJSON: string): void;
createLayer(name: string): number;
deleteLayer(layerIndex: number): void;
getDataExtentSwigExplicitNTGeoJSONVectorTileDataSource(): NTMapBounds;
getDefaultLayerBuffer(): number;
getSimplifyTolerance(): number;
loadTileSwigExplicitNTGeoJSONVectorTileDataSource(mapTile: NTMapTile): NTTileData;
removeGeoJSONFeatureArg2(layerIndex: number, arg2: NTVariant): void;
setDefaultLayerBuffer(tolerance: number): void;
setLayerFeatureCollectionProjectionFeatureCollection(layerIndex: number, projection: NTProjection, featureCollection: NTFeatureCollection): void;
setLayerGeoJSONGeoJSON(layerIndex: number, geoJSON: NTVariant): void;
setLayerGeoJSONStringGeoJSON(layerIndex: number, geoJSON: string): void;
setSimplifyTolerance(tolerance: number): void;
updateGeoJSONFeatureGeoJSON(layerIndex: number, geoJSON: NTVariant): void;
updateGeoJSONStringFeatureGeoJSON(layerIndex: number, geoJSON: string): void;
}
declare class NTGeocodingAddress extends NTAddress {
static alloc(): NTGeocodingAddress; // inherited from NSObject
static new(): NTGeocodingAddress; // inherited from NSObject
}
declare class NTGeocodingRequest extends NSObject {
static alloc(): NTGeocodingRequest; // inherited from NSObject
static new(): NTGeocodingRequest; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { projection: NTProjection; query: string });
description(): string;
getCptr(): interop.Pointer | interop.Reference<any>;
getCustomParameter(param: string): NTVariant;
getLocation(): NTMapPos;
getLocationRadius(): number;
getProjection(): NTProjection;
getQuery(): string;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithProjectionQuery(projection: NTProjection, query: string): this;
setCustomParameterValue(param: string, value: NTVariant): void;
setLocation(pos: NTMapPos): void;
setLocationRadius(radius: number): void;
swigGetRawPtr(): number;
}
declare class NTGeocodingResult extends NSObject {
static alloc(): NTGeocodingResult; // inherited from NSObject
static new(): NTGeocodingResult; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
constructor(o: { projection: NTProjection; address: NTGeocodingAddress; rank: number; featureCollection: NTFeatureCollection });
description(): string;
getAddress(): NTGeocodingAddress;
getCptr(): interop.Pointer | interop.Reference<any>;
getFeatureCollection(): NTFeatureCollection;
getProjection(): NTProjection;
getRank(): number;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
initWithProjectionAddressRankFeatureCollection(projection: NTProjection, address: NTGeocodingAddress, rank: number, featureCollection: NTFeatureCollection): this;
swigGetRawPtr(): number;
}
declare class NTGeocodingResultVector extends NSObject {
static alloc(): NTGeocodingResultVector; // inherited from NSObject
static new(): NTGeocodingResultVector; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
add(x: NTGeocodingResult): void;
capacity(): number;
clear(): void;
get(i: number): NTGeocodingResult;
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEmpty(): boolean;
reserve(n: number): void;
setVal(i: number, val: NTGeocodingResult): void;
size(): number;
}
declare class NTGeocodingService extends NSObject {
static alloc(): NTGeocodingService; // inherited from NSObject
static new(): NTGeocodingService; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTGeocodingService;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
calculateAddresses(request: NTGeocodingRequest): NTGeocodingResultVector;
getCptr(): interop.Pointer | interop.Reference<any>;
getLanguage(): string;
getMaxResults(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isAutocomplete(): boolean;
setAutocomplete(autocomplete: boolean): void;
setLanguage(lang: string): void;
setMaxResults(maxResults: number): void;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTGeometry extends NSObject {
static alloc(): NTGeometry; // inherited from NSObject
static new(): NTGeometry; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTGeometry;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getBounds(): NTMapBounds;
getCenterPos(): NTMapPos;
getCptr(): interop.Pointer | interop.Reference<any>;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTGeometryCollection extends NTVectorElement {
static alloc(): NTGeometryCollection; // inherited from NSObject
static new(): NTGeometryCollection; // inherited from NSObject
constructor(o: { geometry: NTMultiGeometry; style: NTGeometryCollectionStyle });
getGeometry(): NTMultiGeometry;
getStyle(): NTGeometryCollectionStyle;
initWithGeometryStyle(geometry: NTMultiGeometry, style: NTGeometryCollectionStyle): this;
setGeometry(geometry: NTMultiGeometry): void;
setStyle(style: NTGeometryCollectionStyle): void;
}
declare class NTGeometryCollectionStyle extends NTStyle {
static alloc(): NTGeometryCollectionStyle; // inherited from NSObject
static new(): NTGeometryCollectionStyle; // inherited from NSObject
getLineStyle(): NTLineStyle;
getPointStyle(): NTPointStyle;
getPolygonStyle(): NTPolygonStyle;
}
declare class NTGeometryCollectionStyleBuilder extends NTStyleBuilder {
static alloc(): NTGeometryCollectionStyleBuilder; // inherited from NSObject
static new(): NTGeometryCollectionStyleBuilder; // inherited from NSObject
buildStyle(): NTGeometryCollectionStyle;
getLineStyle(): NTLineStyle;
getPointStyle(): NTPointStyle;
getPolygonStyle(): NTPolygonStyle;
setLineStyle(lineStyle: NTLineStyle): void;
setPointStyle(pointStyle: NTPointStyle): void;
setPolygonStyle(polygonStyle: NTPolygonStyle): void;
}
declare class NTGeometrySimplifier extends NSObject {
static alloc(): NTGeometrySimplifier; // inherited from NSObject
static new(): NTGeometrySimplifier; // inherited from NSObject
static swigCreatePolymorphicInstanceSwigOwnCObject(cPtr: interop.Pointer | interop.Reference<any>, cMemoryOwn: boolean): NTGeometrySimplifier;
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
getCptr(): interop.Pointer | interop.Reference<any>;
hash(): number;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
swigGetClassName(): string;
swigGetDirectorObject(): interop.Pointer | interop.Reference<any>;
swigGetRawPtr(): number;
}
declare class NTGeometryVector extends NSObject {
static alloc(): NTGeometryVector; // inherited from NSObject
static new(): NTGeometryVector; // inherited from NSObject
constructor(o: { cptr: interop.Pointer | interop.Reference<any>; swigOwnCObject: boolean });
add(x: NTGeometry): void;
capacity(): number;
clear(): void;
get(i: number): NTGeometry;
getCptr(): interop.Pointer | interop.Reference<any>;
initWithCptrSwigOwnCObject(cptr: interop.Pointer | interop.Reference<any>, ownCObject: boolean): this;
isEmpty(): boolean;
reserve(n: number): void;
setVal(i: number, val: NTGeometry): void;
size(): number;
swigGetRawPtr(): number;
}
declare class NTHTTPTileDataSource extends NTTileDataSource {
static alloc(): NTHTTPTileDataSource; // inherited from NSObject
static new(): NTHTTPTileDataSource; // inherited from NSObject
constructor(o: { minZoom: number; maxZoom: number; base