0.0.13 • Published 2 years ago

kenya-map v0.0.13

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

Angular SVG US Map

This package is used to generate an SVG Map of Kenya and also giving ability to set callback function and some parameters to change fill & stroke color and also custom fields for display of data

kenyaMap kenyaMap

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 county name text. For Example: fillColor="#C0C0C0" (Not enabled for now)
fillCountyColorType: string Optional. Will change background color of county area. For Example: fillCountyColor="#C0C0C0"
strokeColorType: string Optional. Will change border color of county area. For Example: strokeColor="#C0C0C0"

Output

onMapClickWill be emitted when county area has been clicked. It returns county id and name { "county": { countyID, countyName } }. (onMapClick) event.

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

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

1.0.1

2 years ago

0.0.1

2 years ago

1.0.0

2 years ago