1.2.19 • Published 4 years ago

@ppci-mock/google-maps v1.2.19

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Google Maps

Map component based on google maps api

Table of contents

Installation

NPM

npm i @ppci-mock/google-maps

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs

Usage

Javascript

import '@ppci-mock/google-maps';

Browser

<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/google-maps/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/google-maps/builds/legacy.min.js" />

<!-- Component -->
<google-maps
  apiKey=${String}
  .pins=${Array}
  @onLoad=${Function}
  @onZoomEnd=${Function}
  @onDragEnd=${Function}
></google-maps>

Properties

Events

1.2.19

4 years ago

1.2.17

4 years ago

1.2.16

4 years ago

1.2.15

4 years ago

1.2.12

4 years ago

1.2.13

4 years ago

1.2.14

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.10

4 years ago

1.2.11

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago