Dear all,

I wasnt sure how to post this.

But here is a solution to the problem i had before. The VirtualEarth class
file in OpenLayers does not have the onResize method defined. So here is my
little contribution:


onMapResize: function() {

var sz = this.map.getSize();

this.mapObject.Resize(sz.w,sz.h);

},
this function is needed so the VE map resizes properly to fit the width and
the height of the div.


Sincerely
Darko

-- 
Radiceski Darko
University of Wollongong
Australia
SIFE - UOW Chapter - Alumni
CASUAL ACADEMIC STAFF TEACHING - UOW SITACS
(School of Information Technology and Computer Science,University of
Wollongong)
Univeristy of Wollongong - Alumni
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to