javascript - OpenLayers Vector layer not showing on the whole screen -


i have vector layer on openlayers map doesn't take whole screen , it's driving me crazy. layer in question shows pois on map, in portion of screen. when move map pois cut off in middle reach end of layer.
however, when resize screen, gets normal.

here's layer :

poilayer = new openlayers.layer.vector(poislayresname, {     'displayinlayerswitcher': false,     strategies: [strat, strategie],     protocol: proto,     stylemap: new openlayers.stylemap({         "default": poisstyle,         "select": {             fillcolor: "#8aeeef",             strokecolor: "#32a8a9"         }     }),     rendereroptions: {         yordering: true     } });  map.addlayers([poilayer]); 

knowing layer take whole width part height, there way can control it's height ?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -