Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextgis/webmap

Package Overview
Dependencies
Maintainers
2
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextgis/webmap - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

7

lib/interfaces/LayerAdapter.d.ts

@@ -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;

6

lib/webmap.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc