@nextgis/webmap
Advanced tools
Comparing version 0.2.2 to 0.2.3
/// <reference types="node" /> | ||
import { LayerAdapter, LayerAdapters } from './LayerAdapter'; | ||
import { Type } from '../Utils/Type'; | ||
import { Type } from '../utils/Type'; | ||
import { EventEmitter } from 'events'; | ||
import { MapOptions } from '../webmap'; | ||
import { MapControls } from './MapControl'; | ||
import { MapControls, MapControl } from './MapControl'; | ||
interface LatLng { | ||
@@ -21,2 +21,3 @@ lat: number; | ||
} | ||
export declare type ControlPositions = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
export interface MapAdapter<M = any> { | ||
@@ -45,3 +46,3 @@ lonlatProjection?: string; | ||
setRotation?(angle: number): void; | ||
addControl<C extends keyof MapControls>(controlName: C, position: string, options?: MapControls[C]): void; | ||
addControl<C extends keyof MapControls>(controlName: C | MapControl, position: ControlPositions, options?: MapControls[C]): any; | ||
getContainer(): HTMLElement; | ||
@@ -48,0 +49,0 @@ onMapClick(evt: MapClickEvent): void; |
@@ -0,0 +0,0 @@ import { WebMap } from './entities/WebMap'; |
import { WebMap } from './entities/WebMap'; | ||
import { AppOptions, MapOptions } from './interfaces/WebMapApp'; | ||
import { LayerAdapter, LayerAdapters, MvtAdapterOptions, GeoJsonAdapterOptions } from './interfaces/LayerAdapter'; | ||
import { MapAdapter } from './interfaces/MapAdapter'; | ||
import { MapAdapter, ControlPositions } from './interfaces/MapAdapter'; | ||
import { StarterKit } from './interfaces/AppSettings'; | ||
import { DialogAdapter, DialogAdapterOptions } from './interfaces/DialogAdapter'; | ||
import { MapControl, MapControls, AttributionControlOptions, ZoomControlOptions } from './interfaces/MapControl'; | ||
export { WebMap, AppOptions, LayerAdapter, LayerAdapters, MvtAdapterOptions, GeoJsonAdapterOptions, MapAdapter, MapOptions, StarterKit, DialogAdapter, DialogAdapterOptions, MapControl, MapControls, AttributionControlOptions, ZoomControlOptions, }; | ||
export { WebMap, AppOptions, MapOptions, LayerAdapter, LayerAdapters, MvtAdapterOptions, GeoJsonAdapterOptions, MapAdapter, ControlPositions, StarterKit, DialogAdapter, DialogAdapterOptions, MapControl, MapControls, AttributionControlOptions, ZoomControlOptions, }; | ||
export declare function buildWebMap(appOpt: AppOptions, mapOpt: MapOptions): Promise<WebMap>; |
{ | ||
"name": "@nextgis/webmap", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "", | ||
@@ -42,3 +42,3 @@ "main": "lib/webmap.js", | ||
"license": "GPL-3.0", | ||
"gitHead": "13c53fbaeaee42f33e5cb114f6036c5b1ec007c5" | ||
"gitHead": "a930bc0f790c80157a40252210d8c2cfcd7b3ae6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1840
189494