{"id":7,"date":"2016-05-07T15:15:59","date_gmt":"2016-05-07T15:15:59","guid":{"rendered":"http:\/\/blog.get-map.org\/?p=7"},"modified":"2016-05-07T15:18:41","modified_gmt":"2016-05-07T15:18:41","slug":"maposmatic-now-supporting-overlay-stylesheets","status":"publish","type":"post","link":"https:\/\/blog.get-map.org\/index.php\/2016\/05\/07\/maposmatic-now-supporting-overlay-stylesheets\/","title":{"rendered":"MapOSMatic now supporting overlay stylesheets"},"content":{"rendered":"<p><a name=\"preamble\"><\/a> <\/p>\n<p>My <a href=\"http:\/\/maposmatic.osm-baustelle.de\/\">instance of MapOSMatic<\/a> and its OCitysMap render backend now both support rendering of overlay stylesheets on top of the selected base style.<\/p>\n<p><!--more--><\/p>\n<hr>\n<h2><a name=\"_available_overlays\"><\/a>Available overlays<\/h2>\n<p>Currently two overlays are available:<\/p>\n<ul>\n<li> a simple overlay that just adds fire hydrant icons to the map <\/li>\n<li> <a href=\"https:\/\/github.com\/rweait\/Mapnik-golf-overlay\">Mapnik Golf Overlay<\/a> &#8211; an overlay that renders extra details for golf courses <\/li>\n<\/ul>\n<hr>\n<h2><a name=\"_implementation\"><\/a>Implementation<\/h2>\n<ul>\n<li> <a href=\"https:\/\/github.com\/maposmatic\/maposmatic\/pull\/7\">MapOSMAtic part<\/a> <\/li>\n<li> <a href=\"https:\/\/github.com\/maposmatic\/ocitysmap\/pull\/4\">OCitysmap part<\/a> <\/li>\n<\/ul>\n<hr>\n<h2><a name=\"_limitations\"><\/a>Limitations<\/h2>\n<p>Currently only a single overlay may be added, a future version may support stacking of multiple overlays.<\/p>\n<hr>\n<h2><a name=\"_configuration\"><\/a>Configuration<\/h2>\n<p>Overlay stylesheets are configured the same way as regular styles in the ocitysmap configuration file, but are listed in the <code>available_overlays<\/code> list of the <code>[rendering]<\/code> section instead of the <code>available_stylesheets<\/code> list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My instance of MapOSMatic and its OCitysMap render backend now both support rendering of overlay stylesheets on top of the selected base style.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":1,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":8,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions\/8"}],"wp:attachment":[{"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.get-map.org\/index.php\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}