[OpenLayers-Users] zooming on large local vector maps behaves very odd

DeDuikertjes DeDuikertjes at xs4all.nl
Sun May 17 11:37:13 EDT 2009


Dear all,

I've made an application which shows maps on the basis of local WKT
(well known text) files, so there is no mapserver involved.

Performance is surprisingly well, even for large amounts of data (at
least in Firefox and IE8).

The application shows several layers, all in same projection.

Now the problem:

     if the dataset is small, zooming behaves as expected:
     follow this link to see that:
 
http://tercera-go.tercera-ro.nl/help/voorbeeldplannen/NL.IMRO.0999.BP2008000001-0005/showmap.html?id=Agrarisch,



if the dataset is large, zooming is only performed on some of the
layers, others are not zoomed, so the layers don't line up anymore as
expected.

     Also the zoombox "sticks to the mouse".
     if layers are turned off first, the zoomed and then turned on agaia.
     layers line up as expected.

     follow this link to see the odd zooming behaviour (same link as
     before, only more layers):
     		 
http://tercera-go.tercera-ro.nl/help/voorbeeldplannen/NL.IMRO.0999.BP2008000001-0005/showmap.html?id=Detailhandel,Bedrijventerrein,Agrarisch_met_waarden,Maatschappelijk,Gemengd_-_2,Wonen,Gemengd_-_1,Bedrijf_-_Nutsvoorziening,bouwvlak,
     problem is more severe on this one:
 
http://tercera-go.tercera-ro.nl/help/voorbeeldplannen/NL.IMRO.0999.BP2008000001-0005/showmap.html?id=Verkeer_-_Parkeren,Verkeer,Maatschappelijk,Verkeer_-_Verblijf,Water,Agrarisch,Wonen_-_uit_te_werken,Wonen,Groen_-_Speelterrein,Groen_-_Beplantingsstrook,Bedrijventerrein,Bedrijf_-_Nutsvoorziening,Agrarisch_met_waarden,Detailhandel,Gemengd_-_1,Groen,Gemengd_-_2,Waarde_-_Archeologie,Leiding_-_Gas,bouwvlak,specifieke_bouwaanduiding_-_aaneengebouwd_%2F_twee-aaneen,vrijstaand,specifieke_bouwaanduiding_-_twee-aaneen_%2F_vrijstaand,gestapeld,onderwijs,bedrijf_tot_en_met_categorie_3,bedrijf_tot_en_met_categorie_2,specifieke_vorm_van_maatschappelijk_-_buurthuis,geluidwal,maximum_bebouwingspercentage_%28%25%29,maximum_aantal_wooneenheden,maximale_goot-_en_bouwhoogte_%28m%29,dwarsprofiel,hartlijn_leiding_-_gas,wro-zone_-_wijzigingsgebied,vrijwaringszone_-_molenbiotoop,

     (It's easy to experiment with the amount of data by removing some of
     the layers from the query.)



any help and all other suggestions greatly appreciated, MArco





More information about the Users mailing list