Hi

I am an Openlayer newbee, but have now made an attempt of my first
application: http://byogtrafik.ramboll.dk/Rudersdal_Kongevejen/stqj.html
(it is about Road Noise Mapping and in Danish)
It reads about 400 building polygons from GML-files and ad labels from
the same GML files.

It works well in Firefox, Opera and Google Chrome - not fast, but
stable.

But in IE8 I get a lot of  "Not Responding" - no errors, but just slow
(and unstable - will it ever respond?). Especially the Zoom to maxExtent
(the Globe button) kills it.

I have tried the Profile Developer tool in IE. The Profile tells me:
*       24% of time is used by setNodeDimension (under drawPolygon)
*       27% of time is used by removeText (under drawGeometry)
*       26% of time is used by drawText (under drawGeometry)

Have I just:
*       Gone over the top with 400 polygons with a label? (but it works
in other browsers)
*       Proved that IE is a bad browser? (but most of the users will be
using it)

Is there any way to optimize:
*       The GLM file? - I have already removed all unused
attributes/tags. The file is only 336k
*       Text - are some fonts less demanding than others?
*       Polygons - will it help to simplify the polygons (reduce the
number of points used per polygon)


The code for the polygon layer ff.xml is generated by the OGR2Layers
plugin in QGis. I have however added the labelling myself and I must
rename the file from ff.gml to ff.xml and change the code accordingly to
make it function.

Regards

Morten

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to