New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-geocode

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-geocode

AngularJS geocoding directive and provider. Allows to do forward and reverse geocoding. With google maps. Look at example and tests.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-geocode

AngularJS geocoding directive and provider. Allows to do forward and reverse geocoding. With google maps. Look at example and tests.

<div ng-controller="Geo">
    <input type="text" ng-model="geo.name" ng-model-options="{debounce: 1000}" coordinates="geo.latLng" address="geo.name" geocode />
    <input type="number" ng-model="geo.latLng.lat" ng-model-options="{debounce: 1000}" />
    <input type="number" ng-model="geo.latLng.lng" ng-model-options="{debounce: 1000}" />
</div>
geocodef.toAddress(latLng).then(function (address) {
    $scope.address = address;
    ignoreChange.address = true;
});
geocodef.toLatLng(address).then(function (latLng) {
    $scope.coordinates = latLng;
    ignoreChange.coordinates = true;
});

Author

Oleksandr Knyga oleksandrknyga@gmail.com

FAQs

Package last updated on 30 Jul 2017

Did you know?

Socket

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.

Install

Related posts

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