🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@wsdot/arcgis-query-string-utilities

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wsdot/arcgis-query-string-utilities

Updates the query string as a map's extent is changed.

latest
Source
npmnpm
Version
2.0.0-alpha.3
Version published
Weekly downloads
2
-75%
Maintainers
1
Weekly downloads
 
Created
Source

ArcGIS API for JavaScript Query String Utilities

Uses URL API and Browser History to update the web browsers URL query string as a map's extent is changed.

Demo

Installation

Run the following command to install this module into your project.

npm install @wsdot/arcgis-query-string-utilities --save

Usage

require(["esri/map", "QueryStringManager"], function (Map, QueryStringManager) {
    var map;

    var mapOptions = {
        basemap: "hybrid",
        center: [-120.80566406246835, 47.41322033015946],
        zoom: 7,
        showAttribution: true
    };

    // Update the map constructor options with those defined in the query string.
    mapOptions = QueryStringManager.getMapInitOptions(mapOptions);

    map = new Map("map", mapOptions);

    var qsManager = new QueryStringManager(map);
});

Keywords

arcgis

FAQs

Package last updated on 14 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts