Re: [OpenLayers-Users] how could i see wms request in openlayers ?

2010-08-02 Thread Andreas Hocevar
Hi, On Aug 2, 2010, at 06:10 , rakesh.modi1585 wrote: hi, how could i see wms request in openlayers Hard to tell from this short sentence what you actually want to know. If you want to see what GetMap request was sent to the server, and if you don't have a debugging console, the

Re: [OpenLayers-Users] how could i see wms request in openlayers ?

2010-08-02 Thread rakesh.modi1585
thnx Andreas now i can see wms request with roght clik on tile. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-could-i-see-wms-request-in-openlayers-tp5362739p5362983.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] Howto extract document attributes(name/description) from KML Layer

2010-08-02 Thread Sven Geggus
Arnd Wippermann arnd.wipperm...@web.de wrote: As you have set extractAttributes to true you can do something like this: var fts = brewpub_layer.features; var theHTML = ; for(var i=0;ifts.length;i++) { theHTML = fts[i].attributes.name + , + fts[i].attributes.description + br; }

[OpenLayers-Users] moving panzoombar?

2010-08-02 Thread Imran Rajjad
Hi list, I have been looking around in user discusion list and cannot find a way to repoistion the pan zoom bar, I`m trying to align it with the right side of map instead of left. Now i did this through firebug by changing the style. but those variables seem to be coming out of some js file

[OpenLayers-Users] How to use control OpenLayers.Control.Measure

2010-08-02 Thread Vu Hong Thuan
Hi all, I add OpenLayers.Control.Measure to the map, but I can't see any button which allows to measure. var measure=new OpenLayers.Control.Measure(); map.addControl(measure); measure.activate(); Have you ever used OpenLayers.Control.Measure? Any suggestion?

Re: [OpenLayers-Users] How to use control OpenLayers.Control.Measure

2010-08-02 Thread Bart van den Eijnden (OSGIS)
Check examples/measure.html in the OpenLayers examples directory. Best regards, Bart Hi all, I add OpenLayers.Control.Measure to the map, but I can't see any button which allows to measure. var measure=new OpenLayers.Control.Measure(); map.addControl(measure);

Re: [OpenLayers-Users] Howto extract documentattributes(name/description) from KML Layer

2010-08-02 Thread Arnd Wippermann
register 'loadend' for your layer and declare there your function brewpub_layer.events.register(loadend, brewpub_layer, function (e) { var fts = this.features; for(var i=0;ifts.length;i++) { theHTML = fts[i].attributes.name + , +

Re: [OpenLayers-Users] moving panzoombar?

2010-08-02 Thread Arnd Wippermann
Try this map.addControl( new OpenLayers.Control.PanZoomBar(), new OpenLayers.Pixel(300,0) ); Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Imran Rajjad Gesendet: Montag, 2. August 2010 11:56 An:

[OpenLayers-Users] with kml error : mismatched tag. expected /body

2010-08-02 Thread rakesh.modi1585
hi, i am using kml layer. when i add kml layer on button click, some times kml layer is display but some time it is not display and give error : mismatched tag. expected /body http://198.1.1.23/webgis/webgis.php

[OpenLayers-Users] with kml error : mismatched tag. expected /body

2010-08-02 Thread rakesh.modi1585
hi, i am using kml layer. when i add kml layer on button click, some times kml layer is display but some time it is not display and give error : mismatched tag. expected /body http://198.1.1.23/webgis/webgis.php

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread ulao
Can anyone take a stab at this, or at least confirm the approach is correct? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/labels-on-feature-help-tp5355089p5363880.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] DragFeature Label

2010-08-02 Thread Thomas PAPIN
Hi all, I would like to be able to drag drop a text on openlayers. To do that, I have point with label (using KML/placemark) The point is hidden (using StyleMap; Opacity : 0) So the user can just see the Label. Now if I activate the DragFeature, the user must put the cursor on the hidden

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread christopher.schmidt
On Aug 2, 2010, at 8:20 AM, ext ulao wrote: Can anyone take a stab at this, or at least confirm the approach is correct? Looking at http://osgeo-org.1803224.n2.nabble.com/labels-on-feature-help-td5355089.html#a5363880, I don't see anything wrong with that particular bit of code. However,

Re: [OpenLayers-Users] moving panzoombar?

2010-08-02 Thread Imran Rajjad
hi, I kind of acheived what i was trying to do but puting the panZoom in an external div and then assigning top and right (instead of left) to that div, it worked for me but I will certainly this. i put this in my main div div id=panZoomCont style=position:absolute;top:125px;right:0px/div

Re: [OpenLayers-Users] moving panzoombar?

2010-08-02 Thread tino . desjardins
Hey Imran, I think you need a solution to control the PanZoomBar with a css-style. The PanZoomBar inherits from PanZoom, which getting a absolute position with top:4px and left:4px in the constructor. A solution is to create an own Control, which inherits from OpenLayers.Control.PanZoomBar. In

Re: [OpenLayers-Users] DragFeature Label

2010-08-02 Thread Thomas PAPIN
Thanks ! It's work. No prevent question like this in the future :) is there another documentation that the class document to help me ? Because lot of information is missing there. For exemple for http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/StyleMap-js.html

Re: [OpenLayers-Users] DragFeature Label

2010-08-02 Thread Thomas PAPIN
I finally found a list of options here: http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Feature/Vector-js.html but it will be a good idea for the openlayers team to link pages in order to found this information in the stylemap page 2010/8/2 Thomas PAPIN

Re: [OpenLayers-Users] DragFeature Label

2010-08-02 Thread christopher.schmidt
On Aug 2, 2010, at 9:24 AM, ext Thomas PAPIN wrote: Thanks ! It's work. No prevent question like this in the future :) is there another documentation that the class document to help me ?

[OpenLayers-Users] Click propagation problem

2010-08-02 Thread fooquency
Hi, I wonder if someone could help me out with some pointers or a code solution with this OpenLayers problem I've run into. I've been going round for hours trying to work out what's wrong, and I've not come across an obvious solution in the documentation. The working example is at

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread ulao
christopher.schm...@nokia.com wrote: Looking at http://osgeo-org.1803224.n2.nabble.com/labels-on-feature-help-td5355089.html#a5363880, I don't see anything wrong with that particular bit of code. Did you mean to link this thread to itself? I will see if I can cut it down to a single

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread christopher.schmidt
On Aug 2, 2010, at 10:28 AM, ext ulao wrote: christopher.schm...@nokia.com wrote: Looking at http://osgeo-org.1803224.n2.nabble.com/labels-on-feature-help-td5355089.html#a5363880, I don't see anything wrong with that particular bit of code. Did you mean to link this thread to

Re: [OpenLayers-Users] Howto extract documentattributes(name/description) from KML Layer

2010-08-02 Thread Sven Geggus
Arnd Wippermann arnd.wipperm...@web.de wrote: brewpub_layer.events.register(loadend, brewpub_layer, function (e) { var fts = this.features; for(var i=0;ifts.length;i++) { theHTML = fts[i].attributes.name + , + fts[i].attributes.description + br;

[OpenLayers-Users] Problem change from Spherical Mercator to WGS84 layers

2010-08-02 Thread Stephen Woodbridge
Hi all, I have a site using OL 2.9.1: http://www.routeloops.com/?zoom=11lat=39.92454lon=-83.82143layers=B00TTll=-83.8127%2039.924536len=7.5rs=0.17704576380180836al=0%2C1u=Ecw=1 When I switch layers using the layer switcher everything looks ok, except when I change from a Google layer to either

Re: [OpenLayers-Users] Howto extract documentattributes(name/description) from KML Layer

2010-08-02 Thread christopher.schmidt
On Aug 2, 2010, at 11:07 AM, ext Sven Geggus wrote: Arnd Wippermann arnd.wipperm...@web.de wrote: brewpub_layer.events.register(loadend, brewpub_layer, function (e) { var fts = this.features; for(var i=0;ifts.length;i++) { theHTML = fts[i].attributes.name +

Re: [OpenLayers-Users] RE [Polluriel potentiel] WMS getFeatureInfo Popup

2010-08-02 Thread Kiks
yes, if I do not specify any url parameter, it shows me an empty popup. Does it mean that there is something wrong at the MapServer side? Isn't it? thanks a lot, Kiks -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-getFeatureInfo-Popup-tp5355333p5364516.html Sent

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread ulao
I tried to make a simple app and now I have a strange issue. See the alert. The strange thing is this code works in the live example so it must be a typeO or html error I can not spot. html xmlns=http://www.w3.org/1999/xhtml; head titletest/title script

Re: [OpenLayers-Users] RE [Polluriel potentiel] WMS getFeatureInfo Popup

2010-08-02 Thread Steve . Toutant
Hard to tell, you said that the getFeatureInfo request in the browser was returning data. So I guess mapServer is ok. Explore your Apache Access and Error log steve Kiks enrico.o...@gmail.com@openlayers.org Envoyé par : users-boun...@openlayers.org 02/08/2010 11:27 AM A

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread ulao
Ok I sort of see whats is causing the issues but need some help understanding why. If I draw a few features and use something simple like: newFeature.style = { strokeWidth: 4 }; I 'm able to draw many shapes. but as soon as I draw a feature with newFeature.style = {

[OpenLayers-Users] clickTolerance on selectFeature?

2010-08-02 Thread Alex Brandsen
Hi all, is it possible to set the clickTolerance on a selectFeature control? I can find the clickTolerance on the getFeature control : ( http://dev.openlayers.org/docs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance ) but not in the documentation of

[OpenLayers-Users] A problem about overlayers

2010-08-02 Thread geekjack
I have got 2 layer groups(group A and B): The Group A(the overlayer) can match to the Google Sattelite Map(the Baselayer) perfectly,but when I change the Group B as the overlayers to the Google Sattelite Map,it just work like that: http://geekjack.hostesr.com/bate.png (The blue surface and