@stratusjs/map

0.6.5 • Public • Published

@stratusjs/map

npm version

Angular Google Map component to be used as an add-on to StratusJS

Usage

Stratus HTML Components enabled

  • <sa-map data-markers="{{Object or variablePath}}"></sa-map>

See the wiki for further instructions


Frameworks & Libraries

Installation

Within the project directory of Stratus

Either Yarn install

  • yarn add @stratusjs/map

Or NPM install

  • npm install @stratusjs/map

And include the library paths into your stratus config.js such as

boot.configuration.paths = {
  // Angular Google Maps
  '@angular/google-maps': `${boot.deployment}@angular/google-maps/bundles/google-maps.umd${boot.suffix}`,


  // STRATUS SRC: Map
  '@stratusjs/map/*': `${boot.deployment}@stratusjs/map/src/*${boot.suffix}`,
}

And add modules to app.module.js + boot.js (pending instructions)

Dependencies

All dependencies need to be installed within the same project along with your config paths define. (manually installed for the time being)

Package Sidebar

Install

npm i @stratusjs/map

Weekly Downloads

3

Version

0.6.5

License

mit

Unpacked Size

100 kB

Total Files

17

Last publish

Collaborators

  • apocist
  • alexgurrola