
Swiss Trains bring open-sourced the code for a really cool masking resultant on Google Maps.
The resultant transforms a KML polygon into a mask that effectively highlights the polygon on the map yesteryear shading the residuum of the world. You tin come across a prove of the resultant on this Swiss Administrative Boundaries Map.
When you lot conduct a percentage on the Administrative Boundaries Map the chosen surface area is highlighted as well as the residuum of the map shaded out.
The mask is a really effective tool. If you lot desire to operate the resultant inwards your ain Google Maps thence grab the code from GitHub - Masked Polygons.
______________
Buat lebih berguna, kongsi: