[OpenLayers-Users] Ta not working on IE7

Andreas Hocevar ahocevar at opengeo.org
Wed Sep 2 17:37:36 EDT 2009


Hi,

"bt" is not a valid value for labelAlign. Also, make sure that you are
really working with OpenLayers 2.8 and not a release candidate, because
there was an issue with IE7 (http://trac.openlayers.org/ticket/2135).

Regards,
Andreas.


newbie wrote:
> Dear All,
>            Recently I just switch from openlayer2.7 to 2.8. Then I use this
> coding to get a tag beside my vehicle icon. The problem here is that it
> works fine in firefox and IE6. But in IE7 the tag is not appearing. Any
> solution for IE7?  pointFeature.style = {    externalGraphic: imageName,
>                                     graphicWidth:34,
>                                     graphicHeight:17,
>                                     pointRadius: 10,
>                                     rotation: vehicleDetail3[1],
>  
>                                     label : "test",
>  
>                                     fontColor: "black",
>                                     fontSize: "20px",
>                                     fontFamily: "Arial",
>                                     fontWeight: "bold",
>                                     labelAlign: "bt"
>                                };
> Thank you in advance.
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list