dr-niels-communitybuilder-google-map

Google Maps web components

Usage no npm install needed!

<script type="module">
  import drNielsCommunitybuilderGoogleMap from 'https://cdn.skypack.dev/dr-niels-communitybuilder-google-map';
</script>

README

This is a Polymer 3 conversion of the google-map element from communitybuilders (https://github.com/communitybuilders/google-map) with some minor adjustments. The readme was not updated and is still the one from the original google-map element!

google-map

If you are seeking a smaller, simplified version of google-map, we recommend using good-map

Published on webcomponents.org

<google-map fit-to-markers api-key="AIzaSyD3E1D9b-Z7ekrT3tbhl_dy8DCXuIuDDRc">
  <google-map-marker latitude="37.78" longitude="-122.4" draggable="true"></google-map-marker>
</google-map>

Breaking changes:

  • Markers added to <google-map> must now specify slot="markers" to be added correctly.