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

@evergis/react

Package Overview
Dependencies
Maintainers
6
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/react - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

dist/hooks/useScale.js

2

dist/hooks/index.js

@@ -16,2 +16,4 @@ "use strict";

exports.useMapPick = useMapPick_1.useMapPick;
var useScale_1 = require("./useScale");
exports.useScale = useScale_1.useScale;
//# sourceMappingURL=index.js.map

4

dist/hooks/useEvergisTileLayer.js

@@ -16,4 +16,4 @@ "use strict";

layer.name = name;
typeof layer.clearCache === "function" && layer.clearCache();
typeof layer.redraw === "function" && layer.redraw();
typeof layer.clearCache === 'function' && layer.clearCache();
typeof layer.redraw === 'function' && layer.redraw();
},

@@ -20,0 +20,0 @@ destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer),

@@ -27,2 +27,3 @@ "use strict";

exports.useMapPick = hooks_1.useMapPick;
exports.useScale = hooks_1.useScale;
//# sourceMappingURL=index.js.map

@@ -7,1 +7,2 @@ export { useMapView, useMapLevel } from './useMapView';

export { useMapPick } from './useMapPick';
export { useScale } from './useScale';

@@ -7,2 +7,3 @@ export { useMapView, useMapLevel } from './useMapView';

export { useMapPick } from './useMapPick';
export { useScale } from './useScale';
//# sourceMappingURL=index.js.map

@@ -1,4 +0,4 @@

import { EvergisTileLayer, EvergisTileLayerParams } from "@evergis/api/es/layers/EvergisTileLayer";
import { LayerProps } from "./LayerProps";
import { EvergisTileLayer, EvergisTileLayerParams } from '@evergis/api/es/layers/EvergisTileLayer';
import { LayerProps } from './LayerProps';
export declare function useEvergisTileLayer({ name, zIndex, isDisplayed, }: EvergisTileLayerProps): EvergisTileLayer;
export declare type EvergisTileLayerProps = EvergisTileLayerParams & LayerProps;

@@ -1,7 +0,7 @@

import { EvergisTileLayer, } from "@evergis/api/es/layers/EvergisTileLayer";
import { useEvergisContext } from "../EvergisContext";
import { useMapContext } from "../MapContext";
import { useLayerOrder } from "./useLayerOrder";
import { useLayerVisibility } from "./useLayerVisibility";
import { useProperty } from "./useProperty";
import { EvergisTileLayer, } from '@evergis/api/es/layers/EvergisTileLayer';
import { useEvergisContext } from '../EvergisContext';
import { useMapContext } from '../MapContext';
import { useLayerOrder } from './useLayerOrder';
import { useLayerVisibility } from './useLayerVisibility';
import { useProperty } from './useProperty';
export function useEvergisTileLayer({ name, zIndex, isDisplayed, }) {

@@ -14,4 +14,4 @@ const api = useEvergisContext();

layer.name = name;
typeof layer.clearCache === "function" && layer.clearCache();
typeof layer.redraw === "function" && layer.redraw();
typeof layer.clearCache === 'function' && layer.clearCache();
typeof layer.redraw === 'function' && layer.redraw();
},

@@ -18,0 +18,0 @@ destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer),

@@ -8,2 +8,2 @@ export { TileLayer } from './TileLayer';

export { Map } from './Map';
export { useUpdate, useProperty, useMount, useMapViewActions, useMapLevel, useMapView, useMapPick, } from './hooks';
export { useUpdate, useProperty, useMount, useMapViewActions, useMapLevel, useMapView, useMapPick, useScale, } from './hooks';

@@ -8,3 +8,3 @@ export { TileLayer } from './TileLayer';

export { Map } from './Map';
export { useUpdate, useProperty, useMount, useMapViewActions, useMapLevel, useMapView, useMapPick, } from './hooks';
export { useUpdate, useProperty, useMount, useMapViewActions, useMapLevel, useMapView, useMapPick, useScale, } from './hooks';
//# sourceMappingURL=index.js.map
{
"name": "@evergis/react",
"version": "0.1.20",
"version": "0.1.21",
"description": "React components for creating GIS apps with evergis server",

@@ -5,0 +5,0 @@ "author": "everpoint",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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