google-maps-infowindow

Customizable InfoWindow for Google Maps JavaScript API
2,420 1
Install
npm install google-maps-infowindow
Latest Version:0.0.1
License:MIT
Last Updated:Sep 9, 2018
Links: GitHub  ·  npm
Maintainer: trinketmage

Google maps InfoWindow

This library is design to easily add InfoWindow on Google Maps using html and CSS. It supports by default CSS animation and transition for animation, but also accepts user controlled animations through any Tween library.

Examples

Dependencies

Usage

Setting

<div id="popup" class="infowindow-content">
  <p class="close-cta">01011</p>
</div>
<div id="map"></div>
var map
var center = {lat: 48.864716, lng: 2.349014}
map = new google.maps.Map(document.getElementById('map'), {
  center: {lat: 48.864716, lng: 2.349014},
  zoom: 13,
  styles: mapStyle
});
var marker = new google.maps.Marker({
  position: center,
  map: map
})

API

const element = document.body.querySelector('#popup')
new GoogleMapsInfowindow({
  marker: marker,
  content: element
})

Related Packages

survey-vue3-ui

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to...

525,880 4,915
survey-vue

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to...

419,342 4,911
survey-vue-ui

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to...

55,237 4,911
vue-baraja-js

A plugin for spreading items in a card-like fashion.

2,035 0
vue-animation-timeline

Vue Animation Timeline

1,394 45

Version History

Version Released License
0.0.1 MIT