An open API service indexing awesome lists of open source software.

https://github.com/devgateway/leaflet-div-style-icon

Divicons that can be passed svg-like style rules
https://github.com/devgateway/leaflet-div-style-icon

Last synced: 7 months ago
JSON representation

Divicons that can be passed svg-like style rules

Awesome Lists containing this project

README

          

Styleable Leaflet DivIcons
==========================

Divicons for rectangles and circles that can be passed svg-like style rules

Ideally it will be something like:

```javascript
var icon = L.circleDivIcon({
color: 'red'
});
```

where the object passed to the constructor is just like any style hash you give to the leaflet svg layers.