Home

MarkerMaker

Small service for outlining map pins via HTML5 Canvas.

Especially useful for creating custom Leaflet markers.

Fill free to try out the demo.

Setup

<script src="https://cdn.rawgit.com/mmaltsev/MarkerMaker/master/src/marker-maker.min.js"></script>

Usage

let iconUrl = pinOutline(color, width, height)

For a better understanding just go through the demo code.

Example

License

MIT License. Copyright (c) 2017 Maxim Maltsev.