Map Highlight Color

2717
2
Jump to solution
08-07-2013 09:37 AM
IsaiahAguilera
Occasional Contributor II
Can I change the light blue highlight color that shows when layer is clicked and info window is shown? I more specifically would like to change it to a picture symbol. So when a user clicks on a feature the graphic will show instead of the blue highlight around the point. Any help would be great! Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Isaiah,

   Changing the color is no big deal, just use
map.setStyle("infoWindowRendererHighlightColor", 0xffffff);


As far as using a picture marker symbol you will probably have to attach a click event listener to the graphic to add the picture marker symbol.

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Isaiah,

   Changing the color is no big deal, just use
map.setStyle("infoWindowRendererHighlightColor", 0xffffff);


As far as using a picture marker symbol you will probably have to attach a click event listener to the graphic to add the picture marker symbol.
0 Kudos
IsaiahAguilera
Occasional Contributor II
Yeah that's what I was afraid of.  I was hoping to keep it simple just using the infowindowrenderers and not have to worry about adding a graphic on click.  Thanks Robert.
0 Kudos