h21-map-box

1.0.1 • Public • Published

Google Maps Infobox

This npm module requires google maps to be loaded before initializing info box. If you are using webpack or browserify, it requires google maps javascript api to be loaded during the build process

Now this module will get bundled without google maps being loaded, but you need to ensure Infobox is extended with prototype methods of google.maps.OverlayView before initializing it.

How to use

  1. Load google maps javascript api asynchronously
  2. import {InfoBox} from 'h21-map-infobox'

/h21-map-box/

    Package Sidebar

    Install

    npm i h21-map-box

    Weekly Downloads

    0

    Version

    1.0.1

    License

    none

    Unpacked Size

    28.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • novakand