Socket
Socket
Sign inDemoInstall

chb-nx-map

Package Overview
Dependencies
1
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.193 to 1.0.194

2

dist/nx-map-google.d.ts

@@ -71,5 +71,5 @@ import { NXMapProvider } from "./nx-map-provider";

constructor();
initilizeMap(): void;
initilizeMap(mapContainer: any, zoom: any, latlang: any, mapTypeID: any): any;
initilizeAddress(addressInput: any, mapContainer: any, autoCompleteCallback: any): void;
private static renderAddress;
}

@@ -9,3 +9,10 @@ "use strict";

//Map functionality needs to be written
initilizeMap() { }
initilizeMap(mapContainer, zoom, latlang, mapTypeID) {
let gMap = new google.maps.Map(mapContainer, {
zoom: zoom,
center: latlang,
mapTypeId: mapTypeID
});
return gMap;
}
initilizeAddress(addressInput, mapContainer, autoCompleteCallback) {

@@ -12,0 +19,0 @@ const autocomplete = new google.maps.places.Autocomplete(addressInput, {

export declare class NXMapProvider {
initilizeMap(): void;
initilizeMap(mapContainer: any, zoom: any, latlang: any, mapTypeID: any): any;
initilizeAddress(addressInput: any, mapContainer: any, autoCompleteCallback: any): void;
}

@@ -5,3 +5,3 @@ "use strict";

class NXMapProvider {
initilizeMap() { }
initilizeMap(mapContainer, zoom, latlang, mapTypeID) { }
initilizeAddress(addressInput, mapContainer, autoCompleteCallback) { }

@@ -8,0 +8,0 @@ }

export declare class NXMap {
private _mapProvider;
constructor(mapProvider?: string);
initilizeMap(): void;
initilizeMap(mapContainer: any, zoom: any, latlang: any, mapTypeID: any): any;
initilizeAddress(addressInput: any, mapContainer: any, autoCompleteCallback: any): void;
}

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

}
initilizeMap() {
this._mapProvider.initilizeMap();
initilizeMap(mapContainer, zoom, latlang, mapTypeID) {
this._mapProvider.initilizeMap(mapContainer, zoom, latlang, mapTypeID);
}

@@ -19,0 +19,0 @@ //initilizeAddress(addressInput, mapContainer: HTMLDivElement = null, autoCompleteCallback):void

{
"name": "chb-nx-map",
"version": "1.0.193",
"version": "1.0.194",
"description": "NX Typscript library for address lookup using Google API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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