|
Hi List in 1.5 OpenLayers wil be a central part of Mapbuilder. How exactly do these two mapping frameworks it interact? For instance: if i'm trying to bring my mappane-with-panzoombar in a getFeatureInfo-state (it has a button and buttonbar ; it's invisible but can be selected in the 'old' way) by using <GetFeatureInfo id="breinaald"> <scriptFile>scripts/GetFeatureInfo.js</scriptFile> <buttonBar>breinaaldButtonBar</buttonBar> <targetContext>mainMap</targetContext> <class>Button</class> <enabledSrc>/images/BreinaaldEnable.png</enabledSrc> <disabledSrc>/images/BreinaaldDisnable.png</disabledSrc> <infoFormat>text/plain</infoFormat> <featureCount>1</featureCount> </GetFeatureInfo> config.objects.breinaald.select() This always makes an area of interest if you drag the mouse, i didn't expect that from a getinfofeature which is supposed to be an identify. How can i now bring the map behavior back to it's default PanZoomBar and OpenLayers behavior where a drag is a pan and not an area of interest? <PanZoomBar id="panZoomBar"> <htmlTagId>PanZoomBarId</htmlTagId> <targetModel>mainMap</targetModel> </PanZoomBar> The work around is to create also a DragPan button, so that i could select it, but i loose the OL Shift-MouseMove zoomtobox now. I strongly have the feeling that the two legs don't march here. OpenLayers also has a getFeatureInfo. (Handler/Feature.js) If you drag the mouse it pans. If you click you get info. This is correct behavior. Are you going user also openlayers' getfeaureinfo? PanZoomBar is a widget in the Context. Should there be a GetFeatureInfoOL there also? Sould PanZoomBar element not be PanZoomBarOL? Like MapPanOL. Regards, Huub -- ===================================== Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: [EMAIL PROTECTED] Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- |
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
