Dear all,
Does the image layer support the events?
I have a the following:
function registerEvents()
{
graphic.events.register("loadstart", graphic, onUpdatingMap);
graphic.events.register("loadend", graphic, onUpdatedMap);
}
function onUpdatingMap()
{
alert("updating");
var updateProgressDiv = document.getElementById('updateProgressDivMap');
updateProgressDiv.style.display = '';
}
function onUpdatedMap()
{
// get the update progress div
var updateProgressDiv = document.getElementById('updateProgressDivMap');
// make it invisible
updateProgressDiv.style.display = 'none';
}
But this does not seem to work for me...
The Functions dont get called on the onloadstart event.
Any advice?
Cheers
Dan
--
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