@mapquest/geocoding
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@mapquest/geocoding", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "MapQuest Geocoding", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"author": "Florin Alexandrescu", | ||
"license": "UNLICENSED", | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -14,0 +14,0 @@ "superagent": "^2.2.0" |
# MQ Geocoding | ||
A JavaScript interface to the MapQuest geocoding service. You must obtain a key before using this service. | ||
A JavaScript interface to the MapQuest geocoding service. You must obtain a key before using this service. This module | ||
can be used in the browser and server side. | ||
```javascript | ||
const GeocodingService = require('@mq/geocoding'); | ||
const GeocodingService = require('@mapquest/geocoding'); | ||
const client = new Geocoding({key: 'xxxxxxx'}) | ||
@@ -11,3 +12,3 @@ | ||
.then(result => { | ||
console.log(result.addressString); //single line address | ||
console.log(result.addressString); //single line address, ie: "1555 Blake St., Denver, CO 80204" | ||
console.log(result.location); //geocoding service response | ||
@@ -14,0 +15,0 @@ }) |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
9818
0
17