JSPM

hubot-maps

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 430
  • Score
    100M100P100Q89854F
  • License MIT

A Hubot script for searching maps and directions

Package Exports

  • hubot-maps

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hubot-maps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hubot Maps

A Hubot script for searching maps and directions via Google

Usage

hubot map me <query> - Returns a map view of the area returned by `query`.
hubot directions from <origin> to <destination> - Returns a map and list of directions from origin to destination.

Environment Variables

Follow the instructions for obtaining an API key here: https://developers.google.com/maps/documentation/javascript/tutorial#api_key

Once you have an API key, set it as the value for the HUBOT_GOOGLE_API_KEY environment variable.