Ok - I missed the rest of the details from earlier.
Good to know about IE8 and vectors. That actually explains an issue I had in GeoExt.

On 29/11/2010 12:58, Bart van den Eijnden (OSGIS) wrote:
But you can't instantiate vector layers in IE using Ext.onReady.

It is called too soon.

Best regards,
Bart

In ExtJS you don't need a init function. onReady is called
automatically. Just put a script tag at the bottom of your page as
follows:

<script>
          Ext.onReady(function(){
              //all start up code
          });
</script>
</html>

On 29/11/2010 12:06, Jozef wrote:
I did what have been suggested and it helps with that vml error.
I put all Ext.onReady(function() {}) within init funcition :

function init(){

     Ext.onReady(function() {
   ...
   ...
     })

}

and

<body onload="init();">


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users




_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to