0.0.0 • Published 10 years ago

pingen v0.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
10 years ago

Map Pin Generator

Generate map pins with font-awesome icons, text, and dynamic colors.

image

Install

with npm do npm install pingen

Usage

var pingen = require('pingen');

// color, text, icon, twoX 
var stream = pingen("green", null, "fa-home", true);

stream = pingen("#fff", "13", null, false);

Example server api

GET localhost:3000/:size/:color/:icon/marker.png?text=string

image

/2x/ccc/fa-microphone/marker.png

image

/2x/2A94D6/fa-microphone/marker.png

image

/1x/green/fa-home/marker.png

image

/2x/F3AE4E/marker.png?text=5