This Sublime Text package adds Syntax definition and Code Snippets for Maperitive - a tool which allows yout to render your custom maps based on OpenStreetMap data.
The easiest way to install is by using Will Bonds great Package Control.
- Open the Command Pallete by typing
cmd + shift + p(OS X) orctrl + shift + p(Windows, Linux) - Start typing
package install - Look for the package Maperitive
Clone the project repository into your Sublime Packages directory:
git clone https://github.com/klangfarbe/sublime-maperitive.git
Syntax highlighting will automatically available when opening .mrules files
which is the default file extension used by Maperitive.
All snippets start with the prefix osm:. Currently for all
Rendering Properties code
snippets exists and can be accessed by typing osm:<property name>.
Since this is out of scope please see the projects homepage at http://maperitive.net for more information about the tool and have a look into the comprehensive documentation on how to write rendering rules.
