angular-google-staticmaps

A directive to embed Google Static Maps in AngularJS through a simple tag.

Getting Started

  1. Install with bower: bower install --save angular-google-staticmaps
  2. Include angular-google-staticmaps.js.
  3. Include wu.staticGmap in your module dependencies.
  4. Use the static-gmap directive.
If you hate proper package management, you can also directly download angular-google-staticmaps.js or angular-staticmaps.min.js.

In Action

Code

<static-gmap
    size="640x200"
    sensor="false"
    zoom="14"
    markers="{ color: 'red', label: 'X', coords: [61.133789, 10.401121] }">
</static-gmap>
Fork me on GitHub