javascript - ie7 and ie6 don't appear to style class names within google maps api v3 -
ie6 , ie7 arent picking class styling map overlays (google.maps.overlayview). has else had issue , worked out?
eg have overlay like:
<div class="cp-map-pin cp-map-pintboth" style="position: absolute; left: 326px; top: 241px;"> <div class="cp-map-pin-inner"> <div class="cp-map-pin-contents">2</div> </div> </div>
and ie6 , ie7 arent styling .cp-map-pin
i solved issue! , make note else looking this:
i using following ie6/7 don't recognise class
divinner.setattribute('class', 'classname');
i had change to
divinner.classname = 'classname';
and works fine
Comments
Post a Comment