-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
Maxim Rebguns edited this page Jul 24, 2025
·
1 revision
Here are some examples of map styles for inspiration.

This style was created by ChatGPT after I gave it the FreePaperMaps Wiki. It's a good showcase of features, although it's by no means comprehensive.
Reveal code
<?xml version="1.0" encoding="UTF-8"?>
<style>
<!-- General Settings -->
<setting k="background-color" v="#e5e3df"/>
<setting k="attribution-font" v="Arial"/>
<setting k="attribution-font-size" v="4pt"/>
<setting k="attribution-bg-color" v="#ffffff"/>
<setting k="attribution-text-color" v="#777777"/>
<setting k="attribution-position" v="bottom-right"/>
<setting k="attribution-text" v="Map data © OpenStreetMap contributors"/>
<!-- Feature Selection -->
<selectors>
<!-- Roads -->
<way id="motorway"><tag k="highway" v="motorway"/></way>
<way id="trunk"><tag k="highway" v="trunk"/></way>
<way id="primary"><tag k="highway" v="primary"/></way>
<way id="secondary"><tag k="highway" v="secondary"/></way>
<way id="tertiary"><tag k="highway" v="tertiary"/></way>
<way id="residential"><tag k="highway" v="residential"/></way>
<way id="service"><tag k="highway" v="service"/></way>
<way id="footway"><tag k="highway" v="footway"/></way>
<way id="path"><tag k="highway" v="path"/></way>
<!-- Buildings -->
<way id="building"><tag k="building" v=""/></way>
<!-- Land use -->
<way id="park"><tag k="leisure" v="park"/></way>
<way id="forest"><tag k="landuse" v="forest"/></way>
<way id="residential-area"><tag k="landuse" v="residential"/></way>
<way id="industrial"><tag k="landuse" v="industrial"/></way>
<way id="commercial"><tag k="landuse" v="commercial"/></way>
<!-- Water -->
<way id="water"><tag k="natural" v="water"/></way>
<way id="river"><tag k="waterway" v="river"/></way>
<way id="stream"><tag k="waterway" v="stream"/></way>
<!-- Points of Interest -->
<node id="bus_stop"><tag k="highway" v="bus_stop"/></node>
<node id="school"><tag k="amenity" v="school"/></node>
<node id="hospital"><tag k="amenity" v="hospital"/></node>
</selectors>
<!-- Drawing Layers -->
<layers>
<!-- Land Use Areas -->
<polyline ref="residential-area" fill="#f5f5f5" stroke="#dddddd" thickness="0.1"/>
<polyline ref="industrial" fill="#eeeeee" stroke="#cccccc" thickness="0.1"/>
<polyline ref="commercial" fill="#fefefe" stroke="#cccccc" thickness="0.1"/>
<polyline ref="park" fill="#cdeccd" stroke="#a0dca0" thickness="0.1"/>
<polyline ref="forest" fill="#bde6b1" stroke="#89c98f" thickness="0.1"/>
<!-- Water -->
<polyline ref="water" fill="#aadaff" stroke="#7fcfff" thickness="0.1"/>
<polyline ref="river" stroke="#7fcfff" thickness="1.5" cap="round"/>
<polyline ref="stream" stroke="#aadaff" thickness="0.8" cap="round"/>
<!-- Roads (bottom to top for layering) -->
<polyline ref="path" stroke="#d3d3d3" thickness="0.5" cap="round" join="round"/>
<polyline ref="footway" stroke="#d3d3d3" thickness="0.5" cap="round" join="round"/>
<polyline ref="service" stroke="#ffffff" thickness="0.8" cap="round" join="round"/>
<polyline ref="residential" stroke="#ffffff" thickness="1.5" cap="round" join="round"/>
<polyline ref="tertiary" stroke="#f8f4e3" thickness="2" cap="round" join="round"/>
<polyline ref="secondary" stroke="#f2e9bc" thickness="2.4" cap="round" join="round"/>
<polyline ref="primary" stroke="#f0d084" thickness="3" cap="round" join="round"/>
<polyline ref="trunk" stroke="#e8924d" thickness="3.5" cap="round" join="round"/>
<polyline ref="motorway" stroke="#b46a9c" thickness="4" cap="round" join="round"/>
<!-- Buildings -->
<polyline ref="building" fill="#dcdcdc" stroke="#aaaaaa" thickness="0.4" join="miter"/>
<!-- Points of Interest -->
<nodeshape ref="bus_stop" vertices="4" radius="1.5mm" fill="#0055ff" stroke="#ffffff" thickness="0.3"/>
<nodeshape ref="school" vertices="3" radius="2mm" fill="#ffff88" stroke="#aaaa00" thickness="0.4"/>
<nodeshape ref="hospital" vertices="4" radius="2mm" fill="#ffaaaa" stroke="#ff4444" thickness="0.4"/>
</layers>
</style>