Hi,
I'm trying to send a getFeatureInfo to all queryable layers.
In the onComplete function, I would like to be able to know, for
each response, the index of the corresponding layer (the layer index for
which the request was sent).
But the index value in the onComplete function is always
Hi,
I'm trying to send a getFeatureInfo to all queryable layers.
In the onComplete function, I would like to be able to know, for
each response, the index of the corresponding layer (the layer index for
which the request was sent).
But the index value in the onComplete function is always
of the actual value if i printed out
(as I get with the first declaration).
Aren't those two declarations equivalent ?
Again, thanks for your help.
James
-Message d'origine-
De : Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl]
Envoyé : 22 avril 2009 14:25
À : James Leveille
Cc
I've done something to allow a user to add a WMS on the fly.
Here's a few clues :
- I ask the user for the URL
- http request to get the capabilities
- from the answer to the getCapabilities, a pick up the title and the available
layer(s) - something like :
var xmlFormat = new
Try this :
var oMeasrLinearCtrlOptions =
{
title: 'bla bla bla',
displayUnits: 'km',
eventListeners:
Hi all,
I've been struggling with de WMSCapabilities (as defined here
http://trac.openlayers.org/ticket/1176
https://webmail.consulting-fujitsu.com/exchweb/bin/redir.asp?URL=http://trac.openlayers.org/ticket/1176
).
Works fine with FF, but not with IE(6).
The capFormat.read seems to be the
This time, with an appropriate title (sorry) ...
Hi all,
I've been struggling with de WMSCapabilities (as defined here
http://trac.openlayers.org/ticket/1176
https://webmail.consulting-fujitsu.com/exchweb/bin/redir.asp?URL=http://trac.openlayers.org/ticket/1176
).
Works fine with FF, but not
Hi,
I'm loading a context as follow :
[...]
var wmc = new OpenLayers.Format.WMC ();
wmc.read ( oHttpRequest.responseText, {map: map});
[...]
It works fine but all the layers are loaded as base layers.
Since I dont want those to be base layers, I've tried :
the area in the
evt.measure property in this case, so you have to calculate the length
using something like (untested):
var a = map.getControlsByClass('OpenLayers.Control.Measure');
var ctrl = a[0];
var length = ctrl.getBestLength(evt.geometry)[0];
Hope this helps.
Best regards,
Bart
James Leveille
Hi,
I'm using the OpenLayers.Control.Measure control.
From the many examples found, the handler declaration can either be :
1) function handleMeasr(geometry, length, area, units) {}
2) function handleMeasr(event) {}
Since I need the area the perimeter, the first one should be the
10 matches
Mail list logo