NextGIS Frontend
    Preparing search index...

    Module @nextgis/ngw-map

    NgwMap

    size version

    Abstract Map for NGW

    This library is not intended for using directly in the browser.

    Use NgwMap with NPM installation method for building large scale applications. It pairs nicely with module bundlers such as Webpack

    # latest stable
    npm install @nextgis/ngw-map
    import { NgwMap } from '@nextgis/ngw-map';
    import MapAdapter from '@nextgis/leaflet-map-adapter';
    // manually added styles
    import 'leaflet/dist/leaflet.css';

    const ngwMap = new NgwMap({
    mapAdapter: new MapAdapter(),
    baseUrl: 'https://demo.nextgis.com',
    target: 'map',
    qmsId: 448,
    webmapId: 3985
    });

    Need to fix a bug or add a feature to @nextgis/ngw-map? We provide custom development and support for this software. Contact us to discuss options!

    http://nextgis.com

    Classes

    NgwMap
    WebMap
    WebMapControls
    WebMapLayers
    WebMapMain

    Interfaces

    AdapterOptions
    AttributionControlOptions
    ButtonControlOptions
    ContribControlsOptions
    ControlOptions
    CreateControlOptions
    CreatePopupContentProps
    DataLoadError
    FeaturePosition
    FilterOptions
    FitOptions
    GeoJsonAdapterOptions
    GetAttributionsOptions
    GetLegendOptions
    HtmlToggle
    ImageAdapterOptions
    LayerAdapterCreators
    LayerAdapters
    LayerAdaptersOptions
    LayerDefinition
    Locate
    LocateOptions
    LocationEvent
    LocationEvents
    MainLayerAdapter
    MainMapEvents
    MapAdapter
    MapAdapterEvents
    MapClickEvent
    MapControl
    MapControls
    MapOptions
    Model3DOptions
    MvtAdapterOptions
    NgwLayers
    NgwLayersMem
    NgwMapEvents
    NgwMapOptions
    OnLayerMouseOptions
    OnLayerSelectOptions
    Pixel
    PopupOptions
    RasterAdapterOptions
    RuntimeParams
    StarterKit
    TileAdapterOptions
    Tileset3DAdapterOptions
    TitleToggle
    ToggleControl
    ToggleControlOptions
    ToggleLayerOptions
    UpdateLayerAdapterOptions
    VectorAdapterOptions
    VectorLayerAdapter
    ViewOptions
    WebMapEvents
    WmsAdapterOptions
    ZoomControlOptions

    Type Aliases

    AdapterConstructor
    CallbackFilter
    ControlPosition
    ControlPositions
    ControlsOptions
    CreatePopupContent
    Cursor
    DataLayerFilter
    FeatureLayerAdapter
    HtmlDef
    LayerAdapter
    LayerAdapterDefinition
    LayerDef
    NgwIdentifyEvent
    NgwResourceDefinition
    OnBeforeLayerAdd
    OnClick
    onClickAsync
    OnClickSync
    OnLayerClickOptions
    OnLayerSelectType
    OnToggleClick
    onToggleClickAsync
    OnToggleClickSync
    PopupOnCloseFunction
    VectorAdapterLayerType

    Variables

    paintTypeAlias
    typeAlias

    Functions

    createNgwMap
    createToggleControl
    createWebMap
    detectGeometryType
    findMostFrequentGeomType
    getDefaultControls
    getWebMap
    setWebMap
    updateGeoJsonAdapterOptions