[OpenLayers-Users] Scalebar doesn't work

2010-04-30 Thread Rahn Hanno (rahn)
Hello, I try to make a scalebar but without success. My scalebar doesn't show the lines. Bild (Metafile) This is my code. var scalebar = new OpenLayers.Control.ScaleBar({ div: document.getElementById(kartenElemente), displaySystem: 'metric',

[OpenLayers-Users] IE6 / OpenLayers / Path DrawFeature and DoubleClicks

2010-04-30 Thread james.sew...@lisasoft.com
Greetings, I am working with OpenLayers and IE6 (which is the required SOE for the project) and have noticed that mouse doubleclicks are not being captured correctly when drawing a Path from an OpenLayers.Control.DrawFeature if another element is drawn to any layer from a sketchmodified

[OpenLayers-Users] IE6 / OpenLayers / FeatureModified

2010-04-30 Thread james.sew...@lisasoft.com
Greetings, I am working with OpenLayers and IE6 (which is the required SOE for the project) and have noticed that I can't have more than one active OpenLayers.Control.ModifyFeature at any time. The code works as expected in Chrome. I am creating a ModifyFeature for each layer and then

[OpenLayers-Users] Click to Add a feature with Custom Icon and Label

2010-04-30 Thread Subhani Minhas
Hello, i am new to openlayers and work by experimenting in the code in examples. I had already posted my request twice but no response came :-(, may be my question was t basic. However i tried , and after release of 2.9 i was able to get some success. basically combining the code of Click

Re: [OpenLayers-Users] Click to Add a feature with Custom Icon and Label

2010-04-30 Thread Eric Lemoine
On Friday, April 30, 2010, Subhani Minhas subhanimin...@gmail.com wrote: Hello, i am new to openlayers and work by experimenting in the code in examples. I had already posted my request twice but no response came :-(, may be my question was t basic. However i tried , and after release of

Re: [OpenLayers-Users] IE6 / OpenLayers / FeatureModified

2010-04-30 Thread Andreas Hocevar
Hi, On Fri, Apr 30, 2010 at 8:23 AM, james.sew...@lisasoft.com james.sew...@lisasoft.com wrote: I am working with OpenLayers and IE6 (which is the required SOE for the project) and have noticed that I can’t have more than one active OpenLayers.Control.ModifyFeature at any time.  The code works

Re: [OpenLayers-Users] IE6 / OpenLayers / Path DrawFeature and DoubleClicks

2010-04-30 Thread Andreas Hocevar
Hi, On Fri, Apr 30, 2010 at 8:23 AM, james.sew...@lisasoft.com james.sew...@lisasoft.com wrote: I am working with OpenLayers and IE6 (which is the required SOE for the project) and have noticed that mouse doubleclicks are not being captured correctly when drawing a Path from an

Re: [OpenLayers-Users] scaleline in lon/lat projection

2010-04-30 Thread Jan Burdziej
Hi Andreas, With the new patch I attached to #1890, you should see the behavior you would expect. The reason is that we now measure in W-E direction, which makes more sense for most projections I have applied your patch and now it works great. Thanks a lot for your kind support! My

Re: [OpenLayers-Users] Spatial Filter parameter for WFS GetFeature

2010-04-30 Thread sunny74
Hi, The Spatial filters are not working within WFS. How come nobody knows how to make it work? How can I give the data for DWITHIN filter? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Spatial-Filter-parameter-for-WFS-GetFeature-tp4968446p4985464.html Sent from the

Re: [OpenLayers-Users] scaleline in lon/lat projection

2010-04-30 Thread Andreas Hocevar
Hi, On Fri, Apr 30, 2010 at 2:02 PM, Jan Burdziej j...@umk.pl wrote: See the discussion in #2600. My new patch adds a getGeodesicPixelSize method to the map. Width and height of the geodesic measurement of this pixel will be different. OpenLayers.INCHES_PER_UNIT is a global constant which

[OpenLayers-Users] show only specific objects, wms

2010-04-30 Thread t...@f!t
Hy all, I use GeoServer with OpenLayers. I have a WMS Layer with many kinds types of objects. How can I show only for example object whose attribut has a special value? I know I can create SLD so that it shows what I need. But the problem ist that I have about 1000 different attribut values. And

Re: [OpenLayers-Users] show only specific objects, wms

2010-04-30 Thread Arnd Wippermann
Hi, You can do it on runtime with layerWMS.mergeNewParams({ SLD_BODY : ...sld_body... }); I use this way to highlight a choosen country http://gis.ibbeck.de/OLClient/examples/wms_sld_world.asp Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org

[OpenLayers-Users] KML over VirtualEarth Map doesn't display or has a shift

2010-04-30 Thread Stefan Keller
Hi! I'm trying to lay an KML over VirtualEarth Map in OpenLayers, but it either does'nt display anything or KML points have a shift of 100m. I guess it has to be something with the projection. Map: var options = { controls: [ new OpenLayers.Control.KeyboardDefaults(), new

Re: [OpenLayers-Users] KML over VirtualEarth Map doesn't display or hasa shift

2010-04-30 Thread Arnd Wippermann
Hi, I think, you have add 'sphericalMercator' to your layer. var vehyb = new OpenLayers.Layer.VirtualEarth( Virtual Earth Hybrid, {'type': VEMapStyle.Hybrid, 'sphericalMercator': true} ); Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org

Re: [OpenLayers-Users] show only specific objects, wms

2010-04-30 Thread Gabriel Nolasco
David, You can use Geoserver WMS vendor parameters for GetMap requests: http://geoserver.org/display/GEOSDOC/WMS+vendor+parameters See how it is done in Geoserver Layer Preview page. Best regards, Gabriel Nolasco Hy all, I use GeoServer with OpenLayers. I have a WMS Layer with many kinds types