[OpenLayers-Users] Using OpenLayers with Google, Vector and Geoscopio layers

2010-05-20 Thread Willy
Hi everyone, I would use OpenLayers with Google maps, Vector layers and Geoscopio layers. I think I've some trouble with projections. Geoscopio maps are available with projections EPSG:4326 and EPSG:3003. How can I set all parts to work together? If I use standard projection for google I'm using

Re: [OpenLayers-Users] Help with Strategy.save and protocol.http

2010-05-20 Thread Frank Broniewski
Hello Eric, all, The save strategy just calls protocol.commit(). See http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Strategy/Save.js#L178. The protocol's commit method looks at the states of the features and calls the appropriate method (update/create/delete). See

Re: [OpenLayers-Users] Help with Strategy.save and protocol.http

2010-05-20 Thread ngreen
I can appreciate that. I just thought it worth pointing out you can get by without it in case no-one can provide a better answer. I'm curious to see an answer to your question too. The save function I wrote is quite short and simple - it's just feature.attributes. = etc. and a couple of

Re: [OpenLayers-Users] Style issue with LayerSwitcher

2010-05-20 Thread ngreen
I've only played with this a little bit myself, but Mika's suggestion in this thread might be what you need. http://osgeo-org.1803224.n2.nabble.com/changing-fonts-in-the-layerswitcher-td3623357.html http://osgeo-org.1803224.n2.nabble.com/changing-fonts-in-the-layerswitcher-td3623357.html And

Re: [OpenLayers-Users] Help with Strategy.save and protocol.http

2010-05-20 Thread Eric Lemoine
On Thu, May 20, 2010 at 9:02 AM, Frank Broniewski b...@metrico.lu wrote: Hello Eric, all, The save strategy just calls protocol.commit(). See http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Strategy/Save.js#L178. The protocol's commit method looks at the states of the

[OpenLayers-Users] Dynamically adding Strategies to Layer ?

2010-05-20 Thread strk
Is there any standard way to add a Strategy to a Layer after the layer was created and placed on the map ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Dynamically adding Strategies to Layer ?

2010-05-20 Thread Bart van den Eijnden (OSGIS)
I think using setLayer and then activating the strategy, at least that what I did in my SOS Layer: http://trac.openlayers.org/attachment/ticket/2565/2565.patch Best regards, Bart Is there any standard way to add a Strategy to a Layer after the layer was created and placed on the map ?

Re: [OpenLayers-Users] this.div.appendChild is not a function OpenLayers.js (line 897)

2010-05-20 Thread Jan Henrik Øverland
Using OL 2.9.1 did not solve it. On Thu, May 20, 2010 at 2:30 PM, Jan Henrik Øverland janhenrik.overl...@gmail.com wrote: Hi, Firebug reports: this.div.appendChild is not a functionOpenLayers.js (line 897) - this.div.appendChild(this.element); By using alerts I can see that this

Re: [OpenLayers-Users] this.div.appendChild is not a function OpenLayers.js (line 897)

2010-05-20 Thread Bart van den Eijnden (OSGIS)
Hi, can you show us a *minimal* example to reproduce your issue? Best regards, Bart Using OL 2.9.1 did not solve it. On Thu, May 20, 2010 at 2:30 PM, Jan Henrik Øverland janhenrik.overl...@gmail.com wrote: Hi, Firebug reports: this.div.appendChild is not a function OpenLayers.js (line

[OpenLayers-Users] renderintent not persistent

2010-05-20 Thread Frank Broniewski
Hi, I have a modified ModifyFeature.handleKeypress function for deleting features from a layer. There I set the feature's state to deleted just as I do it with the renderIntent of the feature. Whenever I click into the map after deleting a feature, it appears back on the map because the

[OpenLayers-Users] GeoExt OpenLayers, IE8 vs other Browsers

2010-05-20 Thread Martin.L
Keywords: Openlayers, GeoExt, GeoServer, Browsers Hi at all! First of all..yep I know about similar problems in other threads and forums but I dont find a solution for this problem. I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my mapping-application. Here is the code

Re: [OpenLayers-Users] Using OpenLayers with Google, Vector and Geoscopio layers

2010-05-20 Thread cdobell
Your Tuscany Map url has SRS=EPSG:3003 which is not your map displayProjection. Change that to SRS=EPSG:4326. Also, WMS layers are base layers by default so you need to specify it is an overlay by writing isBaseLayer: false in your options. -- View this message in context:

Re: [OpenLayers-Users] Making vector layers.

2010-05-20 Thread cdobell
Try using featureName instead of typeName in your WFS Protocol parameters. Also, include featureNS even though it is technically optional. Also, you might want to explicitly declare your projection and displayProjection in your map options as it may help the community analyze your issue. --

Re: [OpenLayers-Users] wfs request in Openlayer from Geoserver gives NullPointerException

2010-05-20 Thread cdobell
I noticed the SRS value in the GetCapabilities return is messed up: SRSEPSG:EPSG:4269/SRS This might be a typo in your GeoServer layer. Try changing that first. In line with this, your WFS request has EPSG:4326 as SRS and your layer may not provide EPSG:4326. I can only see EPSG:4269 in

Re: [OpenLayers-Users] this.div.appendChild is not a function OpenLayers.js (line 897)

2010-05-20 Thread Jan Henrik Øverland
It was a jQuery $() problem. The noConflict method solved it. script type=text/javascript src=jquery-1.4.2.min.js/script script type=text/javascript$.noConflict();/script On Thu, May 20, 2010 at 3:42 PM, Bart van den Eijnden (OSGIS) bart...@osgis.nl wrote: Hi, can you show us a *minimal*

Re: [OpenLayers-Users] Dynamically adding Strategies to Layer ?

2010-05-20 Thread strk
On Thu, May 20, 2010 at 02:52:53PM +0200, Bart van den Eijnden (OSGIS) wrote: I think using setLayer and then activating the strategy, at least that what I did in my SOS Layer: http://trac.openlayers.org/attachment/ticket/2565/2565.patch Thanks, yes I've done something like that lately, but

Re: [OpenLayers-Users] GeoExt OpenLayers, IE8 vs other Browsers

2010-05-20 Thread cdobell
My first thought was that you needed to specify 'layers' and 'layerstoquery' parameters. Maybe IE8 somehow manages to set the top/current layer. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html Sent from the

Re: [OpenLayers-Users] GeoExt OpenLayers, IE8 vs other Browsers

2010-05-20 Thread Andreas Hocevar
To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin: http://localhost/ http://localhost:8080/ Other browsers don't. Some reading for the OP on this: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost

Re: [OpenLayers-Users] How to display a specific place ?

2010-05-20 Thread cdobell
First, make sure that you're adding your google layer to map. In one of your examples, you only added the wms layer. Second, since google maps are EPSG:900913, you'll need to pass it meters instead of a lon,lat. Set up a point or bounds you know (lon,lat) and then transform that point/bounds

Re: [OpenLayers-Users] How to display a specific place ?

2010-05-20 Thread Ravi Krishna
Thanks cdobell, It worked :) On Fri, May 21, 2010 at 12:22 AM, cdobell [via OSGeo.org] ml-node+5081089-668295985-541...@n2.nabble.comml-node%2b5081089-668295985-541...@n2.nabble.com wrote: First, make sure that you're adding your google layer to map. In one of your examples, you only added