A drag-to-resize google-map with optional directions.

[ This description is mirrored from README.md at github.com/jifalops/mini-map on 2019-05-10 ]

Published on webcomponents.org

mini-map

A drag-to-resize google-map with optional directions.

Installation

bower i -S mini-map  # Polymer 2.0 hybrid (1.x compatible)

Demo

<input id="search" value="usa" />
<button onclick="geocode()">Search</button><br/>
<mini-map id="map" api-key="AIzaSyAUPOaJubJnaRTPUd_xX8MOA62gRtSlfCc" zoom="3">
  <span>Info</span>
</mini-map>

Full demo: webcomponents.org | github.

API: webcomponents.org

Contributing

  1. Fork it on Github.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

License

MIT

Install

Link to this version
ImportedReleased 29 August 2017MIT License
Framework Support
Polymer 2.0+
Browser Independent
Install with
bower install --save jifalops/mini-map"#0.2.0"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.2.0

Dependencies

  • polymer#^2.0.0
  • iron-icon#^2.0.0
  • google-map#^2.0.0
  • iron-iconset-svg#^2.0.0
  • text-toggle#^0.2.0
  • iron-collapse-button#^0.4.0
  • drag-resize#jifalops/drag-resize#^0.2.2
  • geo-location#^2.0.0