0.0.45 • Published 2 years ago

ng-us-map v0.0.45

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Angular SVG US Map

This package is used to generate US SVG Map and also giving ability to set callback function and some parameters to change fill & stocke color.

How to install

npm i ng-us-map

Configure

In app.module.ts

import { NgUsMapModule } from 'ng-us-map';

Accessing Component

<ng-us-map></ng-us-map>

API Reference

Inputs

PropertyType
backgroundColorString (eg: #000)
strokeColorString (eg: #FFFFFF)
textColorString (eg: #FFFFFF)
statesDataObject Array ( eg: { "id" : "AK" , "strokeColor" : "red"} )

Events

(onClickUsMap)Will be emitted when state area has been clicked. It returns state abbr
0.0.45

2 years ago

0.0.44

2 years ago

0.0.43

2 years ago

0.0.42

2 years ago

0.0.41

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago