1.2.1 • Published 4 years ago

angularindiasvgmap v1.2.1

Weekly downloads
18
License
-
Repository
github
Last release
4 years ago

Angular SVG India Map

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

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. For Example: fillColor="#C0C0C0"
fillStateColorType: string Optional. Will change background color of state area. For Example: fillStateColor="#C0C0C0"
strokeColorType: string Optional. Will change border color of state area. For Example: strokeColor="#C0C0C0"

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.2.1

4 years ago

1.2.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago