Re: [OpenLayers-Users] Cursor style on control activation

2010-01-12 Thread Max Weidemann
Hi Alexandre I had the same Problem and for me i solved it by extending the Map.js Class. I created a function wich is called after one Control is activated. In this function i can change the cursor and deactivate controls on other panels. I change the cursor with a command wich looks like this

Re: [OpenLayers-Users] writing and saving text and then displaying it as a wfs layer

2010-01-12 Thread Alauddin Khan
hi i got some idea about what to do now . but problem is can i pass a variable as an attirbute to wfs layer ?? i mean i want to pass as an attribute variable (style_text.label) which contains text tht i am getting. can it b done ??and how ? thanks On Mon, Jan 11, 2010 at 7:01 PM, Alexandre Dube

Re: [OpenLayers-Users] combine 2 different projections map data

2010-01-12 Thread Aypes2
Hi all, I think I have solved the problem. The broken line may be due to the use of "gutter" in OL app. Without using it, the no. of broken lines on the map are greatly reduced but some labels are "broken". Now I work on the scale ratio problem. Thanks all. Aypes2 Aypes2 wrote: > > Forgot t

Re: [OpenLayers-Users] maxExtent error

2010-01-12 Thread Raul David Orozco
I made a modification, now I have an empty as base layer (which I plan to replace later with a world layer but hosted local in my WMS) but still with no results. I tried the setallOverlays option too. Here is my code. Thanks again. var request = OpenLayers.Request.GET( {url: "dir/wm

Re: [OpenLayers-Users] Custom control instead of ZoomBox on Navigation SHIFT-Clicks?

2010-01-12 Thread Scott Lewis
That could possibly work; is there a way to define a control so that it only fires on a Shift-Click? That way, I could just disable the ZoomBox part of the Navigation control, and have my other control use Shift-Click without having to "attach" it to the Navigation. Scott Pierre Giraud wrote: >

Re: [OpenLayers-Users] maxExtent error

2010-01-12 Thread Christopher Schmidt
On Tue, Jan 12, 2010 at 11:41:48AM -0800, raul1113 wrote: > > I'm dealing with issue for a long time with any luck to solve it. > > I have a WMS server of my own with different layers on it, but I have to > include the metacarta layer from internet otherwise I get this error: > > maxExtent is nu

[OpenLayers-Users] Custom control instead of ZoomBox on Navigation SHIFT-Clicks?

2010-01-12 Thread Scott Lewis
Hi, I'm writing a program using openlayers that currently uses a somewhat custom selection control. Right now, a normal click-and-drag draws the selection area. However, this obviously prevents the map from being draggable, as you can't really drag the map and select on the map at the same time.

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread Ian Turton
On Tue, Jan 12, 2010 at 2:39 PM, pere roca ristol wrote: > if the reprojection is on the client-side... I must assume that it will > not affect the performance of my Geoserver/Mapserver? WMS layers are reprojected on the server not the client. Ian -- Ian Turton _

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread Gregor at HostGIS
pere roca ristol wrote: > if the reprojection is on the client-side... I must assume that it > will not affect the performance of my Geoserver/Mapserver? Ah! No, if it's done client side then it will only be slower client side. It's slower, of course, but probably not a problem unless they're o

[OpenLayers-Users] maxExtent error

2010-01-12 Thread raul1113
I'm dealing with issue for a long time with any luck to solve it. I have a WMS server of my own with different layers on it, but I have to include the metacarta layer from internet otherwise I get this error: maxExtent is null http://192.168.1.5:9090/SMMS/wms/client/OpenLayers.js Line 840 And t

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread pere roca ristol
if the reprojection is on the client-side... I must assume that it will not affect the performance of my Geoserver/Mapserver? thanks, Pere 2010/1/12 Gregor at HostGIS > I wonder if reprojecting (about 6 layers?) and navigating can >> substantially decrease the performance? >> > > Repro

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread Gregor at HostGIS
> I wonder if reprojecting (about 6 layers?) and navigating > can substantially decrease the performance? Reprojecting your data on the fly, will always have a performance cost. The cost is usually not much unless you're servicing a large volume of requests. For best performance, store your d

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread pere roca ristol
thank you, that is. I'm allways missing something about bounds and related issues. Currently the server crashed, we usually have problems in terms of performance, I wonder if reprojecting (about 6 layers?) and navigating can substantially decrease the performance? someone with experience

Re: [OpenLayers-Users] reprojecting issues

2010-01-12 Thread Arnd Wippermann
Hi, Your layer are also displayed in lat/lon, but with your extent you are not able to zoom near enough. Set every time your bounds, then it should work. if (proj!=='EPSG:4326') { options.units='m'; options.maxExtent=new OpenLayers.Bounds(-2826520,-6354390,4449320,4187770); } else { o

Re: [OpenLayers-Users] Cursor style on control activation

2010-01-12 Thread Alexandre Dube
Well, I'm confident with going for that solution, but if anyone has a better way of doing it please let me know. Thanks, Alexandre Alexandre Dube wrote: > Hi, > > I want to be able to change the default style of the cursor when > activating controls. Each control should have its unique cur

[OpenLayers-Users] reprojecting issues

2010-01-12 Thread Pere Roca Ristol
hi all, please correct me if I'm wrong. As far as I have investigated around, if I want to reproject all the layers, I have to first destroy the map, recreate it with options.projection=my_proj and recreate all the layers (when destroying the map, layers persist but params are deleted) and add t

[OpenLayers-Users] Access a Mapguide tile cache over multiple hostnames

2010-01-12 Thread GNEMMI Ludovic
Hi list, I would like to use multiple hostnames to load faster Mapguide tiles exposed directly via a webserver but it seems that a given tile is not loaded each time from the same hostname. There is the potential for the tile being cached 4 times when 4 hostnames are defined. I thought Openlayers