Fix map in IE by deferring Vector layer addition to page load (note that deferred...
authorThomas Wood <grand.edgemaster@gmail.com>
Sun, 19 Apr 2009 21:03:41 +0000 (21:03 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Sun, 19 Apr 2009 21:03:41 +0000 (21:03 +0000)
commitc29c7cd56ce1c747a1eb2b440c1ec98f0ea65c32
tree197f322ecb8a7a8e3901d1e22d0333aaa257b1f8
parent8f8de8deaa2d8610119d7f8c8d2fee4a80cd9976
Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
app/views/site/index.rhtml
public/javascripts/map.js