How to openlayer feature without scroll-bar -


i want avoid scroll-bar openlayers popup feature,following code

popup = new openlayers.popup.framedcloud("chicken",              event.feature.geometry.getbounds().getcenterlonlat(),             new openlayers.size(100,100),             content,             null, true, onpopupclose);  event.feature.popup = popup; map.addpopup(popup); 

map div size 250px x 250px,if popup content more map div scroll-bar getting, can't avoid ?

you can override openlayers style custom style, example:

.olpopup {   width: auto !important;   height: auto !important; } .olpopupcontent {   width: auto !important;   height: auto !important;   max-width: 450px; } 

also have @ available popup types may suit needs better other.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -