@nextgis/webmap
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -22,5 +22,9 @@ import { GeoJsonObject } from 'geojson'; | ||
} | ||
export interface ImageAdapterOptions extends AdapterOptions { | ||
resourceId: string | number; | ||
updateWmsParams?: (object: any) => object; | ||
} | ||
export interface LayerAdapters { | ||
'MVT': MvtAdapterOptions; | ||
'IMAGE': AdapterOptions; | ||
'IMAGE': ImageAdapterOptions; | ||
'OSM': AdapterOptions; | ||
@@ -34,2 +38,3 @@ 'TILE': AdapterOptions; | ||
name: string; | ||
layer?: any; | ||
map?: M; | ||
@@ -36,0 +41,0 @@ addLayer(options: O): any; |
import { WebMap } from './entities/WebMap'; | ||
import { AppOptions, MapOptions } from './interfaces/WebMapApp'; | ||
import { LayerAdapter, LayerAdapters, MvtAdapterOptions, GeoJsonAdapterOptions } from './interfaces/LayerAdapter'; | ||
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, MapOptions, LayerAdapter, LayerAdapters, MvtAdapterOptions, GeoJsonAdapterOptions, MapAdapter, ControlPositions, StarterKit, DialogAdapter, DialogAdapterOptions, MapControl, MapControls, AttributionControlOptions, ZoomControlOptions, }; | ||
export * from './interfaces/LayerAdapter'; | ||
export * from './interfaces/AppSettings'; | ||
export { WebMap, AppOptions, MapOptions, MapAdapter, ControlPositions, DialogAdapter, DialogAdapterOptions, MapControl, MapControls, AttributionControlOptions, ZoomControlOptions, }; | ||
export declare function buildWebMap(appOpt: AppOptions, mapOpt: MapOptions): Promise<WebMap>; |
{ | ||
"name": "@nextgis/webmap", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "", | ||
@@ -42,3 +42,3 @@ "main": "lib/webmap.js", | ||
"license": "GPL-3.0", | ||
"gitHead": "084bbbc063544026f902270c8d2a1b07ee7d7885", | ||
"gitHead": "8258dc74b09b298a0c74ebf0f4d63be7e1ae61c4", | ||
"dependencies": { | ||
@@ -45,0 +45,0 @@ "@types/geojson": "^7946.0.4" |
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
192429
1855