Thanks Andreas,<br><br>Using the OpenLayers trunk solved the issues. Sorry for posting in GeoExt list instead of OpenLayers. The problem is that i really enjoy this community ;)<br><br>Cheers,<br>Hugo<br><br><div class="gmail_quote">
On Fri, Feb 18, 2011 at 11:58 AM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
of course the OpenLayers users list would be a better place to ask, but you could just grab the latest OpenLayers trunk and use OpenLayers.Layer.Bing instead of OpenLayers.Layer.VirtualEarth. See <a href="http://openlayers.org/dev/examples/bing-tiles.html" target="_blank">http://openlayers.org/dev/examples/bing-tiles.html</a> for an example.<br>
<br>
Regards,<br>
Andreas.<br>
<div><div></div><div class="h5"><br>
On Feb 18, 2011, at 12:40 , Hugo wrote:<br>
<br>
> Hi all,<br>
><br>
> Not sure if this is the best list to ask this but i feel so ;)<br>
> Well I'm having problems when adding bing layer to an app that already contains google layers and openstreetmap. When i add a bing layer, firebug returns the following error (on VirtualEarth.js line 160):<br>
><br>
> this.mapObject is null<br>
> this.mapObject.Resize(this.map.size.w, this.map.size.h);<br>
><br>
> Has anyone had the same problems? Any suggestions on this? Or should i ask on the OpenLayers user list?<br>
> Best regards,<br>
><br>
> Hugo<br>
> --<br>
> Hugo Martins<br>
> LabNT - ISEGI UNL<br>
> Campus de Campolide<br>
> 1070-312 Lisboa<br>
> N 38°43'56.84", W 9°9'35.74"<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
> <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<font color="#888888"><br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Hugo Martins<br>LabNT - ISEGI UNL<br>Campus de Campolide<br>1070-312 Lisboa<br>N 38°43'56.84", W 9°9'35.74"<br>