ngClusteredMap

ng-clustered-map Build Status

Add google maps with clustered markers in your Angular apps with a single line of code!

Demo

See it live here: http://arnauddri.github.io/ng-clustered-map/

alt text

Install

Via npm npm install --save ng-clustered-map

Via bower bower install --save ng-clustered-map

Usage

Include Google maps dependencies:

Inject clustered.map in your module: javascript angular.module('myModule', ['clustered.map'])

Declare the directive as an element an pass it your arguments:

Attributes

markers: Pass the an array of markers to add on the map:

zoom: Defines the initial zooming on the map

center: Defines the initial center of the map

comments powered by Disqus
This page was last updated over 2 years ago.