Re: [OpenLayers-Users] question about the measure control

2009-07-02 Thread Andreas Hocevar
Hi, On Thu, Jul 2, 2009 at 12:33 AM, aaron_gun...@sjwater.com wrote: I have a question about the measure control in openlayers  I noticed today that after we upgraded to Openlayers 2.8, the behavior for the control is somewhat different than it was in 2.7, with the primary difference being

Re: [OpenLayers-Users] How to have overlays off by default

2009-07-02 Thread Raja_Kajiev
IMO, better way is to use setter: ce.setVisibility(false); Barker, Doug wrote: Hi, How do I have the overlays in a map turned off when the map starts up? ... -- View this message in context: http://n2.nabble.com/How-to-have-overlays-off-by-default-tp3191421p3194821.html Sent from the

Re: [OpenLayers-Users] How to have overlays off by default

2009-07-02 Thread Barker, Doug
Very helpful. Thank you. Also have been informed of using: ce.setVisibility(false); Thanks again, Doug From: users-boun...@openlayers.org [users-boun...@openlayers.org] On Behalf Of HKChad [for...@2kgt.com] Sent: Wednesday, July 01, 2009 10:28 PM To:

Re: [OpenLayers-Users] How to have overlays off by default

2009-07-02 Thread HKChad
Why is that better? Is it another way? Sure. Is it better? Not so sure, Why? The solution I posted just shows how to set the visibility at time of Layer construction. So if you do it 'your way' and set visibility prior to adding the layer to the map, it makes no difference. Just curious as to why

Re: [OpenLayers-Users] Swipe

2009-07-02 Thread Alexander Petkov
On Wed, Jul 1, 2009 at 5:11 PM, florent.gra...@bluecham.net wrote: On Wed, Jul 1, 2009 at 4:04 AM, flofloflorent.gra...@bluecham.net wrote: Hi, is there a way to realise a swipe with 2 different images in openlayers in order to compare them ? (like in Erdas) the process of the swap is : 2

Re: [OpenLayers-Users] TURN On layers Individually...

2009-07-02 Thread Andreas Hocevar
Paul james wrote: Hi Andreas... I tried your code, but it never execute method initialize... Am I supposed to call that manually? And how about the parameters? No, I made the snippet without testing, and you have to override Layer.WMS if you want a custom initialize method to be executed. So

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
Thanks Bart, but for some reason this changes the cursor only over the tool buttons on the control panel. How do I make it extend over my map window when I change tools? bart...@osgis.nl wrote: Hi Bill, yes it's in 2.8. You need to add css classes depending on the displayClass + Active

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bart van den Eijnden (OSGIS)
Hi Bill, not sure, can you check the css class which has been set on the map viewport div when you activate a tool? They should have those values. Maybe there is another class which is preventing the cursors from showing up. Best regards, Bart Bill Thoen wrote: Thanks Bart, but for some

Re: [OpenLayers-Users] Swipe

2009-07-02 Thread Arnd Wippermann
Hi, Perhaps the following example points in a useable direction: http://gis.ibbeck.de/ginfo/apps/OLExamples/OL27/examples/ExternalGraphicOver lay/ExternalGraphicOverlay.asp I use a pointFeature styled with ExternalGraphic as Image Layer. With the style options one can change the image width,

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
I'm not sure either. Here's how I'm setting display classes for the info tool (as an example). This shows the pointer cursor , but only when you hover over the tool icon on the control panel: .olControlPanel .olInfoItemActive { background-image: url(../img/info-on.png); cursor:

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bart van den Eijnden (OSGIS)
Hi Bill, please try: .olControlPanel .olInfoItemActive { background-image: url(../img/info-on.png); } .olInfoItemActive { cursor: pointer; } Best regards, Bart Bill Thoen wrote: I'm not sure either. Here's how I'm setting display classes for the info tool (as an

Re: [OpenLayers-Users] question about the measure control

2009-07-02 Thread Andreas Hocevar
Hi, there is already a ticket for this issue: http://trac.openlayers.org/ticket/2094 Regards, Andreas. On Thu, Jul 2, 2009 at 9:47 AM, Andreas Hocevarahoce...@opengeo.org wrote: Hi, On Thu, Jul 2, 2009 at 12:33 AM, aaron_gun...@sjwater.com wrote: I have a question about the measure control

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
Not quite. Now the cursor still appears only over the tool, but only after I activate it. As soon as I move off the icon it reverts to the default arrow cursor. Unless you have (or anyone else has) any other ideas, maybe I'll try a dead-simple OL scrapplication with a basic map and one tool

[OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Micho Gar
Hi all, I have a wmsgetfeatureinfo control in my map. This is the code I use to make it: infoControls = { click: new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'Identifica las features por click',

[OpenLayers-Users] how obtein jpg georeferencing image for geoserver

2009-07-02 Thread fsalas
Hi, I need to know with software may obtain an georeferencing image in format jpg for geoserver. I test the ENVI software but when tray to save the jpg format the ENVI crash. salas ___ Dirección de Comunicaciones Grupo Empresarial GEOCUBA Este mensaje

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
Thanks!! That worked. When I configure it like so (using both .olInfoItemActive and .olInfoActive): .olControlPanel .olInfoItemActive { background-image: url(../img/info-on.png); } .olInfoActive { cursor: pointer; } Bart van den Eijnden (OSGIS) wrote: I now see that your

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Micho Gar
The problem is the format wich my server return the data. Now I put in the options infoFormat='text/plain'. infoControls = { click: new OpenLayers.Control. WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'Identifica las

[OpenLayers-Users] Another Cursored Question

2009-07-02 Thread Bill Thoen
I noticed in Bart's explanation on how to use the new cursor features in 2.8, that there are CSS styles that appear to use two *.cur files, which implies that we can use multiple cursors for different stages in a mouse operation, but also that we can use _custom_ cursors (beyond the small

[OpenLayers-Users] loadend not called for Vector layer

2009-07-02 Thread Trevor Quinn
I've got a Vector layer in OL 2.8, defined using the BBOX strategy and WFS protocol. Nine times out of ten when I go back and forth between two zoom levels, the loadend event is fired for the layer. Sometimes it's not. In the past, I think this issue might have had something to do with caching and

Re: [OpenLayers-Users] loadend not called for Vector layer

2009-07-02 Thread TrevorQuinn
I should add that I always see a POST response in Firebug, but I don't always see the loadend event called. -- View this message in context: http://n2.nabble.com/loadend-not-called-for-Vector-layer-tp3197504p3197525.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Max Stephan
Hey michogar, I haven´t seen your method of performing a wmsgetfeatureinfo yet. I only know the method which is used in the geoserver-mappreviews as well which looks like this for example: map.events.register('click', map, function (e) {

Re: [OpenLayers-Users] Another Cursored Question

2009-07-02 Thread Andreas Hocevar
Hey Bill- On Thu, Jul 2, 2009 at 9:08 PM, Bill Thoenbth...@gisnet.com wrote: I noticed in Bart's explanation on how to use the new cursor features in 2.8, that there are CSS styles that appear to use two *.cur files, which implies that we can use multiple cursors for different stages in a

[OpenLayers-Users] Can't get OpenLayers to Co-operate with TileCache resolutions

2009-07-02 Thread soatley
Hopefully someone can see what I must be doing wrong I have been trying to get TileCache (most recent from site) to work nicely with OL 2.8 for a week and it just doesn't seem to be working perfectly. Here is my map config: options = { projection: new

Re: [OpenLayers-Users] Can't get OpenLayers to Co-operate with TileCache resolutions

2009-07-02 Thread soatley
With a little more fooling around, I have found that it has to do with the MetaTiling My WMS Server is Manifold 8.0 and it can only write out PNG images. I am using .NET to write out the binary stream to TileCache from Manifold. I don't think it is an Interlacing issue because TC would

Re: [OpenLayers-Users] Can't get OpenLayers to Co-operate with TileCache resolutions

2009-07-02 Thread soatley
Getting closer yet I figured out that it has to do with the metaSize parameter. I tried setting it to the default (5,5) and the problems were corrected. I am able to get it up to 8,8 without a problem. Once I hit 9,9 or above, I start getting oddities - the higher I go, the more I get.