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

Lennox Antoine lxnyce at gmail.com
Fri Oct 10 19:08:17 EDT 2008


Hey Chris,

Much thanks, it works good now. I had to use this though :

    if (map.baseLayer.mapObject) {
        var sz = this.map.getSize();
        map.baseLayer.mapObject.Resize(sz.w,sz.h);
    }

Thanks again,

Lennox

On Fri, Oct 10, 2008 at 4:04 PM, chaak <haak at agintegrated.com> wrote:

>
> Hi Lennox,
>
> After much searching, I found another post on this same issue dated back
> from May.  I used the code that Darko Radicecki provided and it works
> great!
> I first put the following code directly in the VirtualEarth.js file, and
> then I tried it directly in the VE layer options; both ways work.
>
>
> Chris
>
> onMapResize: function() {
>        var sz = this.map.getSize();
>        this.mapObject.Resize(sz.w,sz.h);
> }
>
>
> Lennox Antoine wrote:
> >
> > 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
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Can%27t-get-VE-map-to-work-tp1088773p1317558.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/20081010/380c056f/attachment.html


More information about the Users mailing list