Socket
Socket
Sign inDemoInstall

react-arcgis

Package Overview
Dependencies
11
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

3.3.3

Diff

Changelog

Source

3.3.3

  • React-arcgis will now load version 4.9 of the ArcGIS JS API by default
  • Fixed issue with the zoom prop on Scene components
nicksenger
published 3.3.2 •

Changelog

Source

3.3.2

  • React-arcgis components now accept a childrenAsFunction prop:
    render() {
        return (
            <Scene
                className="scene__container"
                childrenAsFunction={(map: __esri.Map, view: __esri.SceneView) => (
                    <BermudaTriangle map={map} view={view} />
                )}
            />
        );
    }

This is helpful for TypeScript users, as it allows the compiler to understand the relationship between parent and child components. If you are not using TypeScript, there is no benefit to using this prop over specifying children in the usual manner.

nicksenger
published 3.3.1 •

Changelog

Source

3.3.1

  • React-arcgis will now load version 4.8 by default
  • Issue with using mapProperties in the WebMap and WebScene components has been fixed
nicksenger
published 3.3.0 •

Changelog

Source

3.3.0

  • React-arcgis will now load version 4.7 by default
  • loadModules from https://github.com/Esri/esri-loader can now also be imported as loadModules instead of just esriPromise for consistency. For example:
import { loadModules, esriPromise } from 'react-arcgis';

loadModules === esriPromise // true
nicksenger
published 3.2.1 •

nicksenger
published 3.2.0 •

Changelog

Source

Version 3.2.0:

  • You can now include loader options directly in react-arcgis components. This provides an easy way to migrate to esri's newer async/await compatible promises in your react-arcgis application. For example:
render() {
    return (
        <Map
            loaderOptions={{
                dojoConfig: {
                    has: {
                    "esri-promise-compatibility": 1
                    }
                }
            }}
        />
    );
}
nicksenger
published 3.1.3 •

nicksenger
published 3.1.2 •

nicksenger
published 3.1.1 •

nicksenger
published 3.1.0 •

234Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc