![sourced the code for a really cool masking resultant on Google Maps New Create a Cool Mask Effect on Google Maps](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_CPm_A9ZIX8_K2EEsLPM-Adog9Ac81tE6Ba2zuHcSp2ZTcM_pnuGx1bn2l1ja-Y_-HqmeOVHqJFFgoVE5XvakhefYaRXP1HQ1E_xjFHk-52NuM4-c_lxyfO9QDMMvLi2ykac2RVHmuU/s523/mapsmania.gif)
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: