[mkgmap-dev] Border of polygon
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sun Jan 14 11:16:15 GMT 2024
Hi Karl You could simply not match it in "polygons" but render the lines that define it. Alternatively, what I do, is catch it early in "polygons" to render it but with [... continue] and render it striped/transparent with a high _drawOrder. [_polygon] Type=0x16 String=Nature Reserve Xpm="32 32 2 1" "\ c #00FF00" " c none" "\\\\\\ \\\\\\\\ \\" "\\\\\\\ \\\\\\\\ \" "\\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\" "\ \\\\\\\\ \\\\\\\" "\\ \\\\\\\\ \\\\\\" "\\\ \\\\\\\\ \\\\\" "\\\\ \\\\\\\\ \\\\" "\\\\\ \\\\\\\\ \\\" "\\\\\\ \\\\\\\\ \\" "\\\\\\\ \\\\\\\\ \" "\\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\ " " \\\\\\\\ \\\\\\\\" "\ \\\\\\\\ \\\\\\\" "\\ \\\\\\\\ \\\\\\" "\\\ \\\\\\\\ \\\\\" "\\\\ \\\\\\\\ \\\\" "\\\\\ \\\\\\\\ \\\" ; "12345678901234567890123456789012" [end] I do the same for danger_area, but in red and the stripes going the other way! Ticker On Sat, 2024-01-13 at 19:36 +0100, 7770 wrote: > Hi. > I read the TYP compiler manual but don't understand if it is possible to make > a polygon to have: > 1. transparent inner colour (this should be fine using "none" as colour i > imagine). > 2. adding a border with one or two colours, making the outline of the area/ > polygon. > > If it is possible, can one set the border width as well? > > For example, i want to mark the boundary of a nature reserve, but not fill it. > > I attached a very small section of a larger polygon (from some other map), the > outer colour is darker blue, the inner is lighter blue. > > Regards > Karl > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Border of polygon
- Next message: [mkgmap-dev] Border of polygon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list