Pixel-perfect icons for web cartography
A pixel-aligned point of interest icon set made for cartographers.
This repo only contains the source SVG files. Check out maki website to use an icon editing tool and read detailed design guidelines.
Maki welcomes contributions from designers who need icons for specific points of interest. Check out the design guidelines before submitting a pull request. Pull requests will only be merged if all tests pass.
Ever icon in Maki must pass the automated tests in tests/maki.test.js. These tests check the following:
Maki is ready to be used by developers. Install Maki via NPM:
npm install maki --save
The maki module exports two properties:
dirname which just points to the directory that contains icons, and then
layouts which is an object that can be used to organize and display icons in your app or website. Here's an example usage in Node.js:
var maki = require'maki';filesforEachmakilayoutsallforEachfsreadFilemakidirname + '/icons/' + icon + '-11.svg' 'utf8'// Read icons as strings in nodeconsole.logfile;;;;
The main branch for the Maki project is
master. The old version of Maki still exists in the
mb-pages branch, which must remain intact because a number of old Mapbox projects depend on files it serves from its