2.0.0 • Published 6 years ago

weare-mt-pill-map v2.0.0

Weekly downloads
5
License
WE_ARE
Repository
bitbucket
Last release
6 years ago

Repository (not published yet) https://npm.dev.studioweare.com

WE_ARE Major Tom - Pill Map

A map widget for CMS Major Tom.

Installation

$ npm install weare-mt-pill-map

Usage

You have to declare a requirejs' path using the alias mapPillGoogleMapsApiUrl for this pill to retrieve the Google Maps API URL. In the app.js of your app, you can declare it like this:

majorTom.requirejsConfig.push(
  // Google Maps Api URL for the "mapPill".
  {
    alias: 'mapPillGoogleMapsApiUrl',
    src: 'https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY',
  }
);
2.0.0

6 years ago