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.2.2 to 0.2.3

7

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

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