# BeautifyMarker **Repository Path**: gisxiaowei/BeautifyMarker ## Basic Information - **Project Name**: BeautifyMarker - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## BeautifyMarker Leaflet.BeautifyIcon, a lightweight plugin that adds colorful iconic markers without images for Leaflet by giving full control of style to end user ( i.e. unlimited colors and many more...). It has also ability to adjust font awesome and glyphicon icons. Click here for Demo
| Property | Description | Type | Default | Possible |
|---|---|---|---|---|
| icon | Name of icon you want to show on marker | string | leaf | See glyphicons or font-awesome |
| iconSize | Size of marker icon | Point | [22, 22] | Icon Options |
| iconAnchor | Anchor size of marker | Point | [11, 10] | Icon Options |
| iconShape | Different shapes of marker icon | string | circle | marker, circle-dot, rectangle, rectangle-dot, doughnut |
| iconStyle | Give any style to marker div | string | '' | Any CSS style |
| innerIconAnchor | Anchor size of font awesome or glyphicon with respect to marker | Point | [0, 3] | Icon Options |
| innerIconStyle | Give any style to font awesome or glyphicon (i.e. HTML i tag) | string | '' | Any CSS style |
| isAlphaNumericIcon | This tells either you want to create marker with icon or text | bool | false | true |
| text | If isAlphaNumericIcon property set to true, then this property use to add text | string | 1 | Any text you want to display on marker |
| borderColor | Border color or marker icon | string | #1EB300 | Use any color with name or its code |
| borderWidth | Border width of marker icon | Number | 2 | Any number according to your requirement |
| borderStyle | Border style of marker icon | string | solid | CSS Border Styles |
| backgroundColor | Background color of marker icon | string | white | Use any color with name or its code |
| textColor | Text color of marker icon | string | white | Use any color with name or its code |
| customClasses | Additional custom classes in the created tag | string | '' | Use any class(es) name |
| spin | Either font awesome or glypicon spin or not | bool | false | true |
| prefix | According to icon library | string | fa | glyphicon |
| html | Create marker by giving own html | string | '' | HTML |