Re: [OpenLayers-Users] Markers from text layers not appearing till zoom or pan

2007-12-05 Thread Lance Dyas
No I meed to WAIT til lI have had reasonable SLEEP before posting and no I cant explain much further than that ;-) Lance Dyas wrote: Do I need to wait for the load end to add it to the map?? help Lance Dyas wrote: I m desparate my brain is fried has anyone seen the problem where

[OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Gregor Mosheh
What methods are available to save the current map image elsewhere, say into a PDF or as a static image? I do hope that I'm wrong about it not being possible. :) -- Gregor Mosheh / Greg Allensworth System Administrator, HostGIS cartographic development hosting services http://www.HostGIS.com/

Re: [OpenLayers-Users] Switching to singleTile mode (and back) on the fly

2007-12-05 Thread Jon Blower
You can force this by doing layerswitcher_control.layerStates = []; to clear out the layerStates, which will cause it to redraw. Thanks Christopher, that worked a treat. To summarize, the code sequence that works is: myLayer.displayInLayerSwitcher = false; layerSwitcher.layerStates =

[OpenLayers-Users] MapTips

2007-12-05 Thread Matthew Atkins
OpenLayers Users, I am currently replacing an ArcIMS HTML Viewer application with a new OpenLayers interface which will be a great leap from what they have in general navigation usability. I think that I won't have much trouble replacing almost all of the other functionality (Identify,

Re: [OpenLayers-Users] character encoding

2007-12-05 Thread Arnd Wippermann
Hi, To declare your proxy, you set something like this: OpenLayers.ProxyHost = http://localhost/cgi-bin/proxy.cgi?url=;; If you use this function, the above script will used to retrieve the data OpenLayers.loadURL(url, '', this, setHTML); If you have the OpenLayers source, there is a python

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Christopher Schmidt
On Wed, Dec 05, 2007 at 03:40:43PM -0700, Gregor Mosheh wrote: What methods are available to save the current map image elsewhere, say into a PDF or as a static image? I do hope that I'm wrong about it not being possible. :) There is no cross-browser way to save the current view to a map

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Gregor Mosheh
Christopher Schmidt wrote: There is no cross-browser way to save the current view to a map image in the browser. Darn. Cuz trying to assemble the whole thing from little scraps of coordinates and all, yeek, I'm not looking forward to that. THanks for the clarification. -- Gregor Mosheh /

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread angus scown
You need to use a mapserver for this as the constraints of pdf are very different to a browser. Openlayer is for presentation of information in the browser. We use a php mapscript that takes the layers and then generates a single jpeg file. We send the script the current layers, the extents

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Gregor Mosheh
angus scown wrote: There are other examples to get you started if you search the mail list archive for pdf or printing. Thanks a lot. I think I'll be okay, though. I'm pretty handy with Mapserver. An extent, a layer list, etc. and I'll probably have it before long. -- Gregor Mosheh / Greg

Re: [OpenLayers-Users] the right way to refresh a text layer?

2007-12-05 Thread Eric Lemoine
On Dec 5, 2007 7:19 AM, Michal Rok [EMAIL PROTECTED] wrote: Would you try the attached patch (absolutely untested!)? This appears to destroy the same thing twice. The line: this.events.destroy(); in Marker.js causes a scripting error (this.events is null or not an object) - apparently

[OpenLayers-Users] WFS layer does not overlay with the WMS layer in Mozilla FF

2007-12-05 Thread goeserver developer
Hi, In my application (Using openlayers) I have the states layer displayed as a WMS layer. In search I query with WFS for particular state(eg: Texas). In IE it overlays correctly. But in Mozilla FF there is slight dislocation. How can it be corrected. Thanks, -- View this message in context:

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Eric Lemoine
On Dec 6, 2007 2:13 AM, angus scown [EMAIL PROTECTED] wrote: You need to use a mapserver for this as the constraints of pdf are very different to a browser. Openlayer is for presentation of information in the browser. We use a php mapscript that takes the layers and then generates a single

Re: [OpenLayers-Users] MapTips

2007-12-05 Thread Eric Lemoine
Hi Matthew, I see two main options: - use a WFS layer. Your hotspots are displayed as markers or vector geometries in a WFS layer on top of the WMS layer. If you pan the map new hotspots will be automatically downloaded from the WFS service. You can easily have popups on mouse over these