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
- Host: GitHub
- URL: https://github.com/devgateway/leaflet-div-style-icon
- Owner: devgateway
- Created: 2014-08-28T03:13:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-03T13:43:00.000Z (about 11 years ago)
- Last Synced: 2024-09-15T14:05:57.473Z (over 1 year ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 1
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.