# makiwich **Repository Path**: mirrors_mapbox/makiwich ## Basic Information - **Project Name**: makiwich - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Makiwich Composites [Maki](https://mapbox.com/maki) icons with a map marker and returns an SVG. [![](https://api.travis-ci.com/mapbox/makiwich.svg?branch=main)](https://travis-ci.com/mapbox/makiwich) ## Install ``` npm install @mapbox/makiwich --save ``` ## Usage ```js var makiwich = require('@mapbox/makiwich'); var mapnik = require('mapnik'); makiwich.generateMarker({ tint: '#454545', symbol: 'zoo', // Valid Maki v2.1.0 icon size: 'l' // `s` or `l` }, (err, svg) => { if (err) throw err; // Use mapnik to convert the SVG to a PNG and save it var s = new mapnik.Image.fromSVGBytesSync(new Buffer(svg), { scale: 2 }); s.premultiplySync(); s.saveSync(`zoo.png`); }); ```