
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ng-location-picker
Advanced tools
This library for angular 4 allows the user to select a geographical location in a map. You just have to use the directive on any HTML element that can trigger a click event.
This library for angular 4 allows the user to select a geographical location in a map. You just have to use the directive on any HTML element that can trigger a click event.
To install this library, run:
$ npm install ng-location-picker --save
First of all you have to include the google maps libraries in your application
<script src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {Component} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import LatLng = google.maps.LatLng;
import {LocationPickerModule} from "ng-location-picker";
@Component({
selector: 'app',
template: `
<input ng-location-picker (onPickedLocation)="logPickedLocation($event)">`
})
class AppComponent {
static logPickedLocation(location: LatLngLiteral) {
console.log(location);
}
}
@NgModule({
bootstrap: [AppComponent],
declarations: [AppComponent],
imports: [BrowserModule, LocationPickerModule]
})
class AppModule {
}
To generate all *.js, *.d.ts and *.metadata.json files:
$ npm run build
To lint all *.ts files:
$ npm run lint
MIT © Víctor Rodriguez
FAQs
This library for angular 4 allows the user to select a geographical location in a map. You just have to use the directive on any HTML element that can trigger a click event.
The npm package ng-location-picker receives a total of 4 weekly downloads. As such, ng-location-picker popularity was classified as not popular.
We found that ng-location-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.