@npmcorp/pui-css-google-maps

6.4.0 • Public • Published

@npmcorp/pui-css-google-maps

A CSS google-maps component that can be installed via this npm package. The package provides all of the CSS you need to use the component.

Installation

To install the package, from the command line, type:

npm install pui-css-google-maps

Usage

To use Google Maps, you need to load the following JavaScript from Google.

<script src="http://maps.googleapis.com/maps/api/js?libraries=places"></script>

Here's an example usage:

<div class='map-wrapper'>
  <div class='pane'>
    <div class='container pan'>
      <div class='row'>
        <div class='col-sm-6 col-md-8 col-sm-offset-1'>
          <div class='map-overlay panel panel-basic bg-neutral-10 paxxl'>
            <h3 class="h2">Location</h3>
            <address class='h4 pvl'>Pivotal Software Inc.<br>
              875 Howard Street<br>
              San Francisco, CA 94103
            </address>
            <p class='h4'>Support: <a href='mailto:support@run.pivotal.io'>support@run.pivotal.io</a></p>
            <p class='h4'>Twitter: <a href='https://twitter.com/pivotalws'>@pivotalws</a></p>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class='pane pane-map'>
    <div id='labs-map'></div>
  </div>
</div>

You can find more examples of the google-maps component in the pui style guide


This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.

Styleguide Github

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

/@npmcorp/pui-css-google-maps/

    Package Sidebar

    Install

    npm i @npmcorp/pui-css-google-maps

    Weekly Downloads

    1

    Version

    6.4.0

    License

    MIT

    Last publish

    Collaborators

    • fritzy
    • npm
    • npmci
    • saquibkhan
    • gar
    • tayvongh
    • karenjli
    • jumoel
    • monishcm
    • nishantms
    • kartykp
    • shmam
    • reggi
    • jithinpg
    • dhei
    • maitxn
    • hashtagchris
    • owlstronaut