Hi list,
I'm struggling to show GetFeatureInfo results in a GeoExtPopup.
I used the sample code for openLayers / GeoExt.popup.
That's the code:
...
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
Hi Sven,
The error message you see come from UMN mapserver moaning about the
missing URL parameter MAP, not the OpenLayers Map.
Have you tried to pass over an URL to the Constructor of the control
(this isn't documented in the API, but maybe should be)?
featureInfo = new
Hi all,
I need to perform an action when the user maximizes or minimizes the
OverviewMap Control (i.e. the overview map becomes visible or invisible).
But the Control doesn't seem to support this type of events. Any ideas?
Franz
___
Users mailing list
Hey Bryan,
thanks again for this hint, it is really helpful. I try to implement this in my
own piece, but due to limited brain and js capacities I can't figure out, what
I am doing wrong here. Here is the relevant part of my code:
Ext.namespace('Ext.selectdata');
Hi,
I don't have IE9 available. But what you can do to try the SVG renderer in IE9
is to add the following line of code before you run any other OpenLayers code:
OpenLayers.Renderer.SVG.prototype.supported = function() { return true; }
Regards,
Andreas.
On Aug 16, 2010, at 03:49 , mortac8
Hi Marc,
thanks for your hint regarding the vendorParams. It at least solves
part of the problem (passing the URl to the constructor didn't work).
I now produce a request that has the map parameter and the request
gets a response from the server (format=html).
However, GeoExt.popup opens but
Hi Sven,
which error do you get in firebug? Just guessing: could it be that you
run into the same origin policy
(http://en.wikipedia.org/wiki/Same_origin_policy)? Do the mapserver and
the webserver share the same origin?
If not, you'll need a proxy, and OpenLayers provides one for you:
Hello everyone,
Currently, the OpenLayers is not showing any busy status while loading map
data. This is a bit inconvenient for the user. I would like to notify user
of the progress.So, Is there a way to add a busy cursor or a progress bar
kind of thing on the map div ??
Thanks,
Kalyan
http://trac.openlayers.org/wiki/Addins/LoadingPanel
On Tue, Aug 24, 2010 at 2:36 PM, Kalyan Kamepalli
kalyan.kamepa...@gmail.com wrote:
Hello everyone,
Currently, the OpenLayers is not showing any busy status while loading map
data. This is a bit inconvenient for the user. I would like to
Hello,
Does anyone know why Permalink doesn't listen to addlayer/removelayer?
Every time I add a new layer I have to change a property(i.e.
visibility) to refresh the link. It's a bug or a feature?
Regards,
Slawomir
--
---
Slawomir Messner
Please read this Wiki page again.
You need to add css as well, like it says on the page.
Bart
Hi Pavel,
I downloaded LoadingPanel.js and added script tag to my html file. Added
new OpenLayers.Control.LoadingPanel() to my map object. But, I didn't see
any Image on my map. It just the same
Hi Slawomir,
I'd consider this a bug with a (on first sight) reasonable easy fix:
In the Permalinks draw-method:
this.map.events.on({
'moveend': this.updateLink,
'changelayer': this.updateLink,
'changebaselayer': this.updateLink,
Did you put the image in your theme dir?
Bart
Bart,
I did add the CSS from that wiki page. I just copied it from there and
added
LoaadingPanel control to map. But, I can't get it work.
On Tue, Aug 24, 2010 at 10:26 PM, Bart van den Eijnden (OSGIS)
bart...@osgis.nl wrote:
Please read
.olControlLoadingPanel {
background-image: url( ./img/loading.png);
position: relative;
width: 195px;
height: 11px;
background-position: center;
background-repeat: no-repeat;
display: none;
}
This is how my CSS looks. I placed my loading.png in img folder. Does it
make
Do you add the control before adding your layers?
Does it work when you zoomin?
What do you see with Firebug?
Bart
.olControlLoadingPanel {
background-image: url( ./img/loading.png);
position: relative;
width: 195px;
height: 11px;
background-position: center;
Hi,
first of all, please don't cross-post dev and users.
I am not sure if a permalink as provided by OpenLayers is what you really want
for applications where the user can add or remove layers. The permalink only
stores the visible/invisible state of the available layers in their order. It
Hi Marc,
indeed I think I run into the same origin issue.
I already had a look into it but I run my project on glassfish v3 and
I have to figure out tomorrow, where glassfish needs the proxy.cgi to
be.
cheers,
Sven
Quoting Marc Jansen jan...@terrestris.de:
Hi Sven,
which error do you
Hi Phillipe,
Try changing the listener bit from
this.mapPanel.map.zoomToExtent(
to
mapPanel.map.zoomToExtent(
-
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context:
Hi Andreas,
first of all, sorry for cross-posting in the past. I thought it was
useful in this case.
I'd disagree about the not handling of the layeradd/layerremove event
for the Permalink-control -- but can easily live without this addition
to OpenLayers :-)
Your suggestions of alternative
Hi all,
I thought permalink should have the information about visibility(and
other stuff) and should refresh when this values change, then for me
it's a bug when the initial values are not stored in the link (it's like
the first change).
The other thing is the need for extra information about
On Aug 24, 2010, at 15:15 , Marc Jansen wrote:
Hi Andreas,
first of all, sorry for cross-posting in the past. I thought it was
useful in this case.
I'd disagree about the not handling of the layeradd/layerremove event
for the Permalink-control -- but can easily live without this
Ok, I do see yours and Marc's point now. You are not talking about using the
Permalink control as-is, but with a custom createParams method and a custom
ArgParser. In this case it can indeed be useful to listen to
addlayer/removelayer.
So yes, the Peramlink control could be improved with a
Hi Andreas,
your example convinced me. I think the proposed addition/change might
indeed lead to more confusion instead of more clarity/intuitive behaviour.
Thanks for discussing this.
Cheers,
Marc
On 24.08.2010 15:38, Andreas Hocevar wrote:
On Aug 24, 2010, at 15:15 , Marc Jansen wrote:
On Aug 24, 2010, at 15:47 , Andreas Hocevar wrote:
Ok, I do see yours and Marc's point now. You are not talking about using the
Permalink control as-is, but with a custom createParams method and a custom
ArgParser. In this case it can indeed be useful to listen to
addlayer/removelayer.
Hello,
Have you guys noticed something strange happening with the google layer
on OL? I mean, when use it, it stays in front of everything, even the
controls... Any clues?
Pablo Cabrera
___
Users mailing list
Users@openlayers.org
On 08/24/2010 10:04 PM, Pablo Cabrera wrote:
Have you guys noticed something strange happening with the google layer
on OL? I mean, when use it, it stays in front of everything, even the
controls... Any clues?
happens to me with 2.9.1 when using an invalid google API key
(which also pops up
Hi Pablo,
I'm using Google layers under 2.9.1 with no issues so far.
Cheers
Adam
On 25/08/2010, at 8:04 AM, Pablo Cabrera wrote:
Hello,
Have you guys noticed something strange happening with the google layer
on OL? I mean, when use it, it stays in front of everything, even the
Hi Bart,
I added control after adding my layers. Does it make any difference ?? I
have few debugging statements ( alerts ) in initialize , minimizeControl,
maximizeControl functions of LoadingPanel Control and I could see all those
alerts when the map gets loaded. If the alerts are working fine
Hi all,
I'm using mapserver AGG outputformat to generate 32bit RGBA PNG images
that where I want the background color to be transparent. My problem is
when I load the images into OpenLayers the background is black which is
what I set in mapserver.
Does anyone know what the trick to getting
On 8/24/2010 6:23 PM, Stephen Woodbridge wrote:
Does anyone know what the trick to getting this to work correctly?
What does your OUTPUTFORMAT block look like? We use this one (below)
with transparency all the time. In particular, the TRANSPARENT had to be
set to on for our case.
OUTPUTFORMAT
Oh, also:
Did you set transparent:'TRUE' on your OpenLayers.Layer's extra options?
I've spaced that one now and then.
--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+ Server+ A+ Security+ Linux+
Hi All,
I have a WMS layer with a popup control for feature info:
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo(
{ url: http://localhost/geoserver/wms;,
hover:false,
maxFeatures:5,
layers: [wmsLayer],
queryVisible: true,
eventListeners: {
On Wednesday, August 25, 2010, Sige sig...@yahoo.co.nz wrote:
Hi All,
I have a WMS layer with a popup control for feature info:
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo(
{ url: http://localhost/geoserver/wms;,
hover:false,
maxFeatures:5,
layers:
Hi All
Sorry for the repost:
I am trying to load features by their feature id
I have the following code:
var options = {'MV_BLOCK_SUMMARY.3635': 'MV_BLOCK_SUMMARY.3636'};
var blockFilter = new OpenLayers.Filter.FeatureId(options);
var wfslayer = new
34 matches
Mail list logo