JSPM

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

Returns all the emergency routes in ABQ as JSON

Package Exports

  • abqemergencyroutes

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 (abqemergencyroutes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ABQEmergencyRoutes

This module grabs all the emergency routes in Albuquerque.

Usage

var r = require('./routes.js');

function fn(d){

  //have an array of JSON features. d[0].
  //d[0]["attributes"]["MONUMENTSTATUS"]
  //d[0]["geometry"]["x"]
  console.log(d[0]);

}
r.getAllEmergencyRoutes(fn);

The function getAll... returns an array of features.