Hi Christopher Thank you for your reply.
I have a chain of functions/PageMethods that are called starting in the pageLoad() function as I need other information before the map is initialised. Each PageMethod waits for the results to be returned and handled before calling the next one. However, after much searching and examining information from Microsoft's forums I have made the following change which seems to have solved the problem: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:vml="urn:schemas-microsoft-com:vml"> Seems like IE7 wasn't always getting this from the javascript. Christopher Schmidt-2 wrote: > > Most likely, you are launching your code too early. Make sure you wait > until the page's "onload" event to start your code. > > -- > Christopher Schmidt > MetaCarta > -- View this message in context: http://n2.nabble.com/IE7-Error-when-adding-vector-layer-tp3443849p3445225.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
