-
bower install --save angular-amap-toolbar
-
including
angular-amap-toolbar.js
script file provided by this component into your application -
adding
l42y.amap.toolar
as a module dependency to your application
<div amap-map
amap-toolbar="controller.mapToolbarOptions"
amap-toolbars="ruler, direction, location, labels">
</div>
-
specify ToolbarOptions with
amap-toolbar
-
specify which toolbar component to display with
amap-toolbars
, available options are:-
ruler
-
labels
-
location
-
direction
-