@evergis/react
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94315
141
1216