Re: [OpenLayers-Users] How to calculate Bounds for Image Layer Example?

2009-06-24 Thread Ilya Braude
Andreas Hocevar wrote: Problem is how to calculate OpenLayers.Bounds? Simply replacing new OpenLayers.Bounds(-180, -88.759, 180, 88.759), by new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34) did not work. (It just blows up a single pixel to cover the whole map-div.)

[OpenLayers-Users] Displaying a bunch of short line segments

2009-06-24 Thread Alexandru IOVANOVICI
Hello, I'm working on a project in which i have to display a lot of short line segments on a map. Actually they will represent some average speed on the segment of road. My question is: which is the best way of doing that. In my database i can obtain fast the two (Lon,Lat) points that define a

Re: [OpenLayers-Users] How to calculate Bounds for Image Layer Example?

2009-06-24 Thread Andreas Hocevar
Hi, the image layer was not made for displaying non-geographic images, but for maps. It seems you want to use OpenLayers to display images in the map pane, and for this we may have a better solution for you. Have a look at http://www.openlayers.org/dev/examples/georss-flickr.html This example

Re: [OpenLayers-Users] How to calculate Bounds for Image Layer Example?

2009-06-24 Thread Jan Martin
Me again, I gave your hint a try, but it didn't work. Seems to be projection related. As soon as there is an OSM Layer it seems one needs to project the Church picture. Anyway, I gave up on that idea, and started moving the map to another div, and then display the Church picture instead, like

Re: [OpenLayers-Users] Buffer objects (parcels, buildings, streets, etc)

2009-06-24 Thread Andreas Hocevar
Hi, On Tue, Jun 23, 2009 at 5:11 PM, soatleysh...@niagarafalls.ca wrote: Is there a method that exists that will allow a user to click on the map and then 'buffer' the object by a certain distance? If you want to do this on the client side: Tim Schaub has developed basic buffering in a

[OpenLayers-Users] Selected items visually return to default state upon zooming or other refreshing of the viewport

2009-06-24 Thread sendeman
Hi all, After a lot of work and questions on this list (thanks for all the help!), I currently have a viewport that has two wfs layers in it, that display properly in all browsers. Phew! It has been a steep learning curve. I have one more question though, it's about selecting and styles. I have

[OpenLayers-Users] Troubleshot with PanZoomBar

2009-06-24 Thread Prigent, Glenn
Hello, I have trouble with the PanZoomBar. It comes when we click on the PanZoomBar and move the slider. If we move the mouse keeping the button clicked, over the top or above the bottom of the slider outside the PanZoomBar div and we drop the button, it has no effect, the zoom level returns

Re: [OpenLayers-Users] Selected items visually return to default state upon zooming or other refreshing of the viewport

2009-06-24 Thread sendeman
p.s. On a sidenote: something strange happens when I subsequently do this: -select a polygon feature in wfs; -unselect it; -move cursor from within unselected polygon over a point from wfs2 that lies within the bounds of the polygon the cursor is in. What happens is that the point I'm hovering

Re: [OpenLayers-Users] Selected items visually return to default state upon zooming or other refreshing of the viewport

2009-06-24 Thread sendeman
Excuse me, that wasn't entirely right. It should be these steps: -select a polygon feature in wfs; -unselect it; -move cursor over a point from wfs2 -move cursor out of the point from wfs2 -move cursor over the point from wfs2 again This (not entirely predictably) visually selects the

[OpenLayers-Users] How to rotate a PanZoomBar

2009-06-24 Thread tschobber tschöbbi
Dear Openlayers list, I have a simple question: I've installed Openlayers with the PanZoomBar feature but I'm not able to make this thing horizontally ... it's always shown vertically... I hope you can give me some advice on this issue. Thanks in advance, martin -- GRATIS für alle

Re: [OpenLayers-Users] How to show nothing when a tile is not found with TileCache

2009-06-24 Thread Kenneth Skovhede, GEOGRAF A/S
You can override the function: OpenLayers.Util.onImageLoadError and make it do something else, like show a specific blank tile. Regards, Kenneth Skovhede, GEOGRAF A/S Linde Ackermans skrev: Hi all, I defined my layers with OpenLayers.TileCache f.i. var l1= new

Re: [OpenLayers-Users] [OpenLayers-Dev] InfoWindow

2009-06-24 Thread Christopher Schmidt
On Tue, Jun 23, 2009 at 03:58:59PM -0700, Sam Mor wrote: Hi Guys We Would like to ask you a question: do you have InfoWindow or infobox ( it's what google call it) ? when u use openInfoWindow it display a box with information on the map (Please send followups to the users list.) Yes, it's

[OpenLayers-Users] Control.WMSGetFeatureInfo styles are undefined

2009-06-24 Thread Frank Broniewski
Hello list, I have a problem with my Mapserver WMS server and the OpenLayers.Control.WMSGetFeatureInfo. When the query url is constructed by Control.WMSGetFeatureInfo, the styles parameter is a list of undefined styles: styles=undefined,undefined,undefinded,undefined. And my mapserver chokes

Re: [OpenLayers-Users] Google in greyscale

2009-06-24 Thread Frederic Junod
Hi, Not directly with OpenLayers, but you can change the layer opacity, see http://openlayers.org/dev/examples/layer-opacity.html. fredj On Wed, Jun 24, 2009 at 3:35 PM, pribram pribrampribramprib...@post.cz wrote: Hi, is there any way how to display Google G_NORMAL_MAP layer in greyscale?

Re: [OpenLayers-Users] Google in greyscale

2009-06-24 Thread pribram pribram
Thank you, Frederic, but this is not what I need. I would like to convert G_NORMAL_MAP to greyscale on demand. Pribram Původní zpráva Od: Frederic Junod frederic.ju...@camptocamp.com Předmět: Re: [OpenLayers-Users] Google in greyscale Datum: 24.6.2009 16:04:35

Re: [OpenLayers-Users] Google in greyscale

2009-06-24 Thread Nathan Gerber
Can you even do this on Google Maps itself? I am not seeing the option on their website, but then again I'm not looking at the API. -- Nathan Gerber 2009/6/24 pribram pribram pribramprib...@post.cz Thank you, Frederic, but this is not what I need. I would like to convert G_NORMAL_MAP to

[OpenLayers-Users] Adjust sensitivity of keyboard control and mouse wheel

2009-06-24 Thread soatley
Hello, Is there anyway to adjust the sensitivity of the keyboard controls (panning) and the mouse wheel (zooming)? It would be nice if panning would pan a little more for each key press and the zoom wheel would be a little less sensitive. Shawn -- View this message in context:

[OpenLayers-Users] Spatial constraints of a WFS GetFeature request

2009-06-24 Thread Tom B
Hi all, I'm trying to allows users to click on a WMS overlay and get a popup showing a list of features at the location they clicked. It's a setup similar to http://trac.openlayers.org/wiki/GetFeatureInfo, but instead of a WMS GetFeatureInfo request, I'm using WFS GetFeature, since it allows me

Re: [OpenLayers-Users] Adjust sensitivity of keyboard control and mouse wheel

2009-06-24 Thread Andreas Hocevar
Hi, On Wed, Jun 24, 2009 at 6:27 PM, soatleysh...@niagarafalls.ca wrote: Is there anyway to adjust the sensitivity of the keyboard controls (panning) and the mouse wheel (zooming)?  It would be nice if panning would pan a little more for each key press and the zoom wheel would be a little less

Re: [OpenLayers-Users] Spatial constraints of a WFS GetFeature request

2009-06-24 Thread Andreas Hocevar
Hi, On Wed, Jun 24, 2009 at 7:36 PM, Tom Bseil...@gmail.com wrote: I'm trying to allows users to click on a WMS overlay and get a popup showing a list of features at the location they clicked.  It's a setup similar to http://trac.openlayers.org/wiki/GetFeatureInfo, but instead of a WMS

Re: [OpenLayers-Users] Adjust sensitivity of keyboard control and mouse wheel

2009-06-24 Thread soatley
Wow! That is perfect! This is exactly it. Thank you! Shawn Andreas Hocevar-2 wrote: Hi, On Wed, Jun 24, 2009 at 6:27 PM, soatleysh...@niagarafalls.ca wrote: Is there anyway to adjust the sensitivity of the keyboard controls (panning) and the mouse wheel (zooming)?  It would be nice

Re: [OpenLayers-Users] Control.WMSGetFeatureInfo styles are undefined

2009-06-24 Thread Andreas Hocevar
Hi, On Wed, Jun 24, 2009 at 3:48 PM, Frank Broniewskib...@metrico.lu wrote: I have a problem with my Mapserver WMS server and the OpenLayers.Control.WMSGetFeatureInfo. When the query url is constructed by Control.WMSGetFeatureInfo, the styles parameter is a list of undefined styles:

Re: [OpenLayers-Users] Google in greyscale

2009-06-24 Thread pribram pribram
Hi Nathan, I have tried to find it at http://code.google.com/intl/cs/apis/maps/documentation/reference.html. No success. Thanks, Pribram ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Spatial constraints of a WFS GetFeature request

2009-06-24 Thread Tom B
Hi Andreas, Thanks for the help. I should've mentioned that the map also has features that are points, and GetFeatureInfo's tolerance wasn't quite wide enough for how we are displaying them; that was the big impetus for using GetFeature. Additionally, the user will be dynamically adding and