@doubletrade/google-map

Google Maps web components fork

Usage no npm install needed!

<script type="module">
  import doubletradeGoogleMap from 'https://cdn.skypack.dev/@doubletrade/google-map';
</script>

README

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.