[OpenLayers-Users] Can't get VE map to work

Lennox Antoine lxnyce at gmail.com
Thu Oct 9 16:53:04 EDT 2008


At least I can take re-assurance that it's not only me :). Thanks for the
info though, i'll try your method and see if it works.

Lennox

On Thu, Oct 9, 2008 at 4:50 PM, chaak <haak at agintegrated.com> wrote:

>
> Oh yes, that is a fun problem I came across back in the day.  Try putting
> this into your options for your Virtual Earth layer:
>
> onMapResize: function() { veLayer.loadMapObject(); }
>
> That should, in theory, work (it works for Yahoo).  I have an extremely
> in-depth system, and it doesn't work for me.  To be honest with you, I get
> around the problem by destroying the Virtual Earth layer and then re-adding
> it to the layer list (using the redraw function would be proper, but that
> doesn't work either).  My method is an extreme kluge, but I do what I have
> to do.  Maybe someone else reading this will have the proper solution (any
> ideas from anyone out there would be appreciated).
>
> I hope the onMapResize works for you, Lennox.
>
>
> Chris
>
>
>
> Lennox Antoine wrote:
> >
> > Hey Chris,
> >
> > Thanks for checking it out. I looked at the map in Firebug, and see no
> > error. I do have a consistent way to reproduce though. Make sure your
> > browser is not maximized. Pan the Google Map that comes up. Switch to
> > Virtual Earth, and pan around, that should still work. Resize your
> > browser,
> > then try to pan that Virtual Earth map again. It goes bonkers for me. I
> > have
> > tested in Firefox, Chrome.
> >
> > Lennox
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Can%27t-get-VE-map-to-work-tp1088773p1313931.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081009/f78fb28c/attachment.html


More information about the Users mailing list