OpenLayers - turn off selection of map in IE -


i have map in div, when user clicks outside div , drags map, map gets selected , turns blue, , it's bit unsettling user has click around number of places before blue color goes away.

i found following css properties can set none in .olmap class , turns selection off map in chrome, firefox, safari , opera, not in ie.

.olmap {     -moz-user-select: none;     -khtml-user-select: none;     -webkit-user-select: none;     -o-user-select: none; } 

does know of property set these turn off selection of map in ie?

you can use -ms-user-select: none; ie 10+.

for earlier versions of ie try:

<div unselectable="on"> </div>  

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -