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.19 to 0.1.20

8

dist/hooks/useEvergisTileLayer.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const useProperty_1 = require("./useProperty");
const EvergisTileLayer_1 = require("@evergis/api/es/layers/EvergisTileLayer");
const EvergisContext_1 = require("../EvergisContext");
const EvergisTileLayer_1 = require("@evergis/api/es/layers/EvergisTileLayer");
const MapContext_1 = require("../MapContext");
const useLayerOrder_1 = require("./useLayerOrder");
const useLayerVisibility_1 = require("./useLayerVisibility");
const useProperty_1 = require("./useProperty");
function useEvergisTileLayer({ name, zIndex, isDisplayed, }) {

@@ -16,4 +16,4 @@ const api = EvergisContext_1.useEvergisContext();

layer.name = name;
layer.clearCache();
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),

@@ -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 { useProperty } from './useProperty';
import { useEvergisContext } from '../EvergisContext';
import { EvergisTileLayer, } from '@evergis/api/es/layers/EvergisTileLayer';
import { useMapContext } from '../MapContext';
import { useLayerOrder } from './useLayerOrder';
import { useLayerVisibility } from './useLayerVisibility';
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;
layer.clearCache();
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),

{
"name": "@evergis/react",
"version": "0.1.19",
"version": "0.1.20",
"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

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