When you include your map parameter in the base URL, do you get a
valid WMS URL?

On Fri, Aug 27, 2010 at 3:12 AM, Kiks <enrico.o...@gmail.com> wrote:
>
> After replacing special characters, passing the url to the browser, it
> happens that the url is not valid due to the absence of the map parameter
> requested from mapserver.
> I tried to add the map parameter and also to pass it directly in the url
> parameter as you can see below:
>
> info = new OpenLayers.Control.WMSGetFeatureInfo({
>                                url: 
> 'http://localhost/mapserverms4w/mapserv.exe',
>                                // Second case // url:
> 'http://cadastralgis.selfip.com/mapserverms4w/mapserv.exe?map=CGGoogleNoTransform.map',
>                                map: 'CGGoogleNoTransform.map',
>                                title: 'Identify features by clicking',
>                                queryVisible: true,
>                                eventListeners: {
>                                        getfeatureinfo: function(event) {
>                                                map.addPopup(new 
> OpenLayers.Popup.AnchoredBubble(
>                                                        " ",
>                                                        
> map.getLonLatFromPixel(event.xy),
>                                                        null,
>                                                        event.text,
>                                                        null,
>                                                        true
>                                                ));
>                                }
>
> , but in the first case the parameter map is ignored, and in the second
> case, the popup is not showed, nothing happens and the IIS log is this:
>
> 127.0.0.1, -, 27/08/2010, 10.05.58, W3SVC1, FSC421214090108, 127.0.0.1,
> 4125, 861, 24387, 200, 0, GET, /mapserverms4w/mapserv.exe,
> MAP=CGGoogleNoTransForm.map&LAYERS=CG_GEO_PARTICELLE%2CCG_GEO_STRADE%2CCG_GEO_ACQUE%2CCG_GEO_FABBRICATI%2CCG_GEO_TESTI%2CCG_GEO_PARTICELLE_LABEL&FORMAT=aggpng24&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1075949.4509402,5550294.3377254,1076560.9471664,5550905.8339516&WIDTH=256&HEIGHT=256,
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/WMS-getFeatureInfo-Popup-tp5355333p5468577.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to