Skip to content

Instantly share code, notes, and snippets.

@oevans
Last active August 29, 2015 14:06
Show Gist options
  • Save oevans/91e073700e11eae78874 to your computer and use it in GitHub Desktop.
Save oevans/91e073700e11eae78874 to your computer and use it in GitHub Desktop.
Change map selection color in app templates
/* Side Accordion template
Add map2_graphics_layer, map3_graphics_layer, etc. as needded for additional maps*/
<style type="text/css">
#map0_graphics_layer path, #map1_graphics_layer path {
stroke: #b22222 !important;
}
</style>
/* Text and Legend template
Add mapDiv2_graphics_layer, mapDiv3_graphics_layer, etc. as needded for additional maps*/
<style type="text/css">
#mapDiv0_graphics_layer path, #mapDiv1_graphics_layer path {
stroke: #b22222 !important;
}
</style>
/* To disable/remove the selection element add the code below to the index.html, use the correct graphics layer name for your template (see above).*/
<style type="text/css">
#map_graphics_layer path {
display: none !important;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment