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

@dlr-eoc/services-layers

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlr-eoc/services-layers - npm Package Compare versions

Comparing version 11.1.0 to 12.0.0-alpha.1

28

lib/types/Layers.d.ts

@@ -34,2 +34,12 @@ import { Type } from '@angular/core';

}
export interface IPopupParams {
layerId: string;
layerName: string;
mapEvent: any;
layer: any;
feature?: any;
color?: Uint8ClampedArray | Uint8Array | Float32Array | DataView | string;
/** properties of the feature/layer or asyncData */
properties?: IAnyObject;
}
export interface popup {

@@ -40,10 +50,16 @@ /** limit layer or feature properties: only those properties of a layer/feature, that are listed in this array, are being passed through to a popup-render-function */

properties?: IAnyObject;
/** function to create html string - popupobj: nativeLayer */
popupFunction?: (popupobj: IAnyObject) => string;
/** async function where you can paste a html string to the callback - popupobj: nativeLayer */
asyncPopup?: (popupobj: any, cb: (html: any) => void) => void;
/**
* function to create the popup content.
* Return an HTML string or an object from which an HTML string is generated.
*/
popupFunction?: (popupParams: IPopupParams) => string | IAnyObject;
/**
* async function to create the popup content.
* Pass an HTML string, or an object from which an HTML string is generated, to the callback..
*/
asyncPopup?: (popupParams: IPopupParams, cb: (content: string | IAnyObject) => void) => void;
/** create popup using angular component */
dynamicPopup?: {
component: Type<any>;
getAttributes?: (args: any) => object;
getAttributes?: (args: IPopupParams) => object;
};

@@ -58,2 +74,4 @@ /** default event is click - use move for a popup on hover */

filterLayer?: boolean;
/** Use this to not add a popup to the map and instead publish events to view data in an external UI. */
asObservable?: boolean;
}

@@ -60,0 +78,0 @@ /**

2

package.json
{
"name": "@dlr-eoc/services-layers",
"version": "11.1.0",
"version": "12.0.0-alpha.1",
"main": "src/public-api",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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