Re: [OpenLayers-Users] help(PostgreSQL)

2010-01-15 Thread Nicholas Efremov-Kendall
You probably want to look at Map or Geo servers respectively. goodluck! On Fri, Jan 15, 2010 at 9:22 PM, Ricardo Rodríguez wrote: > hello all, as you can add a layer "PostgreSQL" to the viewer or connect a > database. > > thanks for your answers by > > Ricardo Rodríguez > Ing. Topográfico > Un

Re: [OpenLayers-Users] ModifyFeature force selection, can't unselect

2010-01-15 Thread Eric Lemoine
On Fri, Jan 15, 2010 at 5:31 PM, Alexandre Dube wrote: > Hi, > >  I noticed something odd when using a ModifyFeature control.  If you > force the selection of a feature with > myModifyFeatureControl.selectControl.select(feature), you can't unselect > the feature by clicking away from it.  When usi

[OpenLayers-Users] help(PostgreSQL)

2010-01-15 Thread Ricardo Rodríguez
hello all, as you can add a layer "PostgreSQL" to the viewer or connect a database. thanks for your answers by Ricardo Rodríguez Ing. Topográfico Univalle ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] mouse-sensitive markers and navigate icon

2010-01-15 Thread Wendell Turner
I have a layer with mouse-sensitive markers on it. I'm also using the modify/draw/navigate buttons as in snapping.html. As it turns out, the Navigation control must be disabled and the SelectFeature control activated in order for the mouse-enabled markers to work. Navigation still works fine, but

Re: [OpenLayers-Users] Opacity of GoogleLayer, get selected layer

2010-01-15 Thread Dirk Tanneberger
Eric Lemoine schrieb: On Fri, Jan 15, 2010 at 12:05 PM, Dirk Tanneberger wrote: Hi Eric, thanks for the fast reply. With the baseLayer-object it works. I tried to apply the method directly to the layer, maybe that was the problem. But still I have the problem, when changing the baseLayer.

Re: [OpenLayers-Users] Opacity of GoogleLayer, get selected layer

2010-01-15 Thread Arnd Wippermann
Hi, OSM.setOpacity(0.1); map.addLayers([google, OSM, google_t]); google.setOpacity(0.1); google_t.setOpacity(0.1); The Google layers have to add to the map before you can change the opacity of the Google layers. For other layers it's possible before adding them to the map. Arn

Re: [OpenLayers-Users] help(upload and update files)

2010-01-15 Thread Arnd Wippermann
Hi, You have to have one baselayer, so try lindero.isBaseLayer=true; //after map.addLayer() To add vectorlayers to your map, you can try something like this: function addGMLlayer(title, url) { var Lindero = new OpenLayers.Layer.GML(title, url, { format: OpenLayers.Format.GML,

[OpenLayers-Users] ModifyFeature force selection, can't unselect

2010-01-15 Thread Alexandre Dube
Hi, I noticed something odd when using a ModifyFeature control. If you force the selection of a feature with myModifyFeatureControl.selectControl.select(feature), you can't unselect the feature by clicking away from it. When using the standard way of selecting a feature (I mean by clicking

Re: [OpenLayers-Users] StyleMap issue when modifying feature

2010-01-15 Thread Schmettermann
Hi Phil! I have the same problem, but still no solution in sight... Except the fact that you did not get any replys here as yet, did you find a solution to your problem? You can find me question here: http://n2.nabble.com/attributes-of-an-Vector-object-never-reach-the-StyleMap-tp4396806p4396806.

Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Alexandre Dube
Wendell, I have the same issue when doing this. I'll start an other thread about this. Regards, Alexandre Wendell Turner wrote: > Alexandre, > > Thank you. That works fine. The only side-effect is that > clicking away from the line doesn't de-activate it. To > de-activate it you need to

Re: [OpenLayers-Users] Opacity of GoogleLayer, get selected layer

2010-01-15 Thread Eric Lemoine
On Fri, Jan 15, 2010 at 12:05 PM, Dirk Tanneberger wrote: > Hi Eric,  thanks for the fast reply. > > With the baseLayer-object it works. I tried to apply the method directly to > the layer, maybe that was the problem. > But still I have the problem, when changing the baseLayer. In my case I got >

Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Wendell Turner
Alexandre, Thank you. That works fine. The only side-effect is that clicking away from the line doesn't de-activate it. To de-activate it you need to click on the navigate icon. Wendell On Fri, Jan 15, 2010 at 08:38:22AM -0500, Alexandre Dube wrote: > Wendell, > > You could register a "activ

[OpenLayers-Users] help(upload and update files)

2010-01-15 Thread Ricardo Rodríguez
hi all, there is some ecript to upload files and add them to the layers of the viewer openlayers thanks for any response Ricardo Rodríguez Ing. Topográfico Univalle ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/user

[OpenLayers-Users] help (add gml files)

2010-01-15 Thread Ricardo Rodríguez
hi all, I've had trouble adding layers with GML files and do not understand where he might be wrong, I'm doing wrong, I do not want to use adicionalmete MetaCarta layer, but only my files gml. this a fragment of what I'm doing: // create map map = new OpenLayers.Map("map",{

Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Alexandre Dube
Wendell, You could register a "activate" event on your ModifyFeature control to select the first feature of the layer as soon as it gets activated. Something like the following (untested) : yourModifyFeatureControl.events.on({ "activate": onModifyControlActivate, scope: yourModifyFeatureControl

Re: [OpenLayers-Users] Select more than the one Feature

2010-01-15 Thread Alexandre Dube
Tom, Try : sf.select(boxes.features[i]); Alexandre Tom Wasser wrote: > Hi all, > > i have a layer with a lot of Feature.Vectors on it. > > for (var i = 0; i < box_extents.length; i++) { > ext = box_extents[i]; > bounds = new OpenLayers.Bo

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

2010-01-15 Thread Alexandre Dube
Alauddin, I'm not sure. Did you take a look at these examples [1] [2]. I guess it could help. Regards, Alexandre [1] http://openlayers.org/dev/examples/sld.html [2] http://openlayers.org/dev/examples/WMSPost.html Alauddin Khan wrote: > thank you so much for ur help alexander i am savin

[OpenLayers-Users] Select more than the one Feature

2010-01-15 Thread Tom Wasser
Hi all, i have a layer with a lot of Feature.Vectors on it. for (var i = 0; i < box_extents.length; i++) { ext = box_extents[i]; bounds = new OpenLayers.Bounds(ext[0], ext[1], ext[2], ext[3]); box = new OpenLayers.Featur

Re: [OpenLayers-Users] Opacity of GoogleLayer, get selected layer

2010-01-15 Thread Dirk Tanneberger
Hi Eric, thanks for the fast reply. With the baseLayer-object it works. I tried to apply the method directly to the layer, maybe that was the problem. But still I have the problem, when changing the baseLayer. In my case I got three baseLayers and no matter which one is selected it should have