object to the map as IE won't be ready to draw vectors until the
page is fully loaded. Closes #2692.
url += "/full";
<% end %>
url += "/full";
<% end %>
- addObjectToMap(url, <%= object_zoom %>);
+ // IE requires Vector layers be initialised on page load, and not under deferred script conditions
+ Event.observe(window, 'load', function() { addObjectToMap(url, <%= object_zoom %>) });
<% end %>
map.events.register("moveend", map, updateLocation);
<% end %>
map.events.register("moveend", map, updateLocation);