weare-mt-pill-map
v2.0.0
Published
Map field for CMS Major Tom.
Downloads
4
Readme
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',
}
);