1.0.3 • Published 7 years ago

ng4-us-map v1.0.3

Weekly downloads
25
License
MIT
Repository
github
Last release
7 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.

usmap

How to install

Configuration

app.module.ts

You need to add this module in @NgModule(Imports). That's it.

Accessing Component

API Reference

Inputs

fillColorType: string Optional. Will change color of state name text
fillStateColorType: string Optional. Will change background color of state area
strokeColorType: string Optional. Will change border color of state area

Output

onMapClickWill be emitted when state area has been clicked. It returns state abbr. (onMapClick) event.

Moreover, you can apply your own css to beautify this component.

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago