Re: [OpenLayers-Users] Layer.Text

2008-07-23 Thread Eric Lemoine
Hello. You need to create a GML layer object by passing the constructor the url to your text file and in the options object the text format class to be used for parsing (format:OpenLayers.Format.Text)You're right that having an example on that would be useful. A ticket and a patch for that would

[OpenLayers-Users] Panning Zooming don't work

2008-07-23 Thread papillona
Hello all, I've the problem, when I try to zoom nothing happens. Also when I pan I can pull the map but when I release the mousebutton it skips back to the initial state. I use umn mapserver as wms server (not as client) and my getmap-request looks very good in the browser. So I don't have any

[OpenLayers-Users] Problem with marker in GeoRSS

2008-07-23 Thread Marcello Brunaldi
Hello everyone I have a problem to change the icon and the size of the marker when I use OpenLayers.Layer.GeoRSS, any size and any icon cheque with OpenLayers.Icon is not taken. Show always the marker by default. This is my code : yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));

Re: [OpenLayers-Users] OpenLayers.Request.POST

2008-07-23 Thread Fabio D'Ovidio
Hi Eric, Eric Lemoine ha scritto: Question: does it work better without the Content-Type header? Eric No, it doesn't work.. Thank you for the replay! Fabio ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] IE panning problem

2008-07-23 Thread lukast
Hi, This page also work slower in IE than in FF: http://openlayers.org/dev/examples/fullScreen.html As you can see in FF one can pan even if some tiles are still not loaded. IE seems to wait and stop panning until all visible tiles are loded already. Why ? Is there any way to change this

[OpenLayers-Users] proj4js question

2008-07-23 Thread bartvde
Hi list, I am transforming a geometry from EPSG:28992 to EPSG:4326, and after that to EPSG:23031. In the last step the geometry does not transform anymore. if (point.transformed) { this.log(point already transformed); return; } Apparently proj4js thinks the

Re: [OpenLayers-Users] proj4js question

2008-07-23 Thread bartvde
Hi Patrick, I am using the transform function of OpenLayers, which in its turn calls proj4js, should it change the transformed property for all the points in a geometry in your opinion? That does not seem effective does it? Best regards, Bart On Wednesday 23 July 2008 14.46:22 [EMAIL

Re: [OpenLayers-Users] proj4js question

2008-07-23 Thread bartvde
Yeah, that's what I was thinking as well (and what I changed in my version of proj4js), the transformed check is doing more bad than good IMHO, so I got rid of it. Hopefully Mike can comment on this. Best regards, Bart On Wed, Jul 23, 2008 at 02:55:43PM +0200, Patrick Valsecchi wrote: On

Re: [OpenLayers-Users] Howto change style for 1 feature

2008-07-23 Thread Ivan Grcic
Hi maybe this works: http://www.nabble.com/Change-style-only-for-one-feature-on-a-layer-td18349180.html On Wed, Jul 23, 2008 at 5:29 PM, Volodymer Grigorenko [EMAIL PROTECTED] wrote: Hi list ,so: How to do it ,or just say how to redraw() only one feture not the whole layer ,or (thats not so

[OpenLayers-Users] specifying options for OL class properties--when to use quotes?

2008-07-23 Thread Mike Quentel
In some of the examples, when adding a Layer, I see some properties (options) have quotes (single or double). What is the general rule for using quotes on the properties? Is this correct: {buffer: 2, gutter: 15, sphericalMercator: true, attribution: some label} or should it be this:

Re: [OpenLayers-Users] specifying options for OL class properties--when to use quotes?

2008-07-23 Thread Christopher Schmidt
On Wed, Jul 23, 2008 at 12:42:35PM -0400, Mike Quentel wrote: In some of the examples, when adding a Layer, I see some properties (options) have quotes (single or double). What is the general rule for using quotes on the properties? Is this correct: {buffer: 2, gutter: 15,

Re: [OpenLayers-Users] specifying options for OL class properties--when to use quotes?

2008-07-23 Thread Eric Lemoine
Likewise you cannot do myobject.key if key is a reserved js word, you'll do myobject['key'] instead. Example: myobject['delete'] Cheers. eric 2008/7/23, Christopher Schmidt [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 12:42:35PM -0400, Mike Quentel wrote: In some of the examples, when adding a

[OpenLayers-Users] Question about LayerSwitcher

2008-07-23 Thread Frédéric Therrien
Hey, I have a pretty simple question. My customer want me to customize the LayerSwitcher. Do you think it's possible ? In fact, here is want I want to do: In the layer switcher you have a list of baseLayer associated with a radiobutton and a list of the other layers associated with a checkbox.

Re: [OpenLayers-Users] proj4js question

2008-07-23 Thread Chris Adams
Christopher Schmidt wrote: On Wed, Jul 23, 2008 at 10:15:43AM -0400, Mike Adair wrote: Yes that check was put in there for the case where the last point in a polygon is the same object as the first one to prevent it from getting transformed again. It is safe to remove that, but that

Re: [OpenLayers-Users] Resizeable popup?

2008-07-23 Thread Eric Lemoine
OpenLayers popups don't support this. You're basically on your own here. Sorry. Eric 2008/7/23, Alexander Petkov [EMAIL PROTECTED]: Is it possible to resize a popup based on user action (ie when the edge is dragged with the mouse)? TIA, Alex ___

Re: [OpenLayers-Users] proj4js question

2008-07-23 Thread Christopher Schmidt
On Wed, Jul 23, 2008 at 08:34:10PM +0200, Patrick Valsecchi wrote: Hi Bart, On Wednesday 23 July 2008, you wrote: I am using the transform function of OpenLayers, which in its turn calls proj4js, should it change the transformed property for all the points in a geometry in your opinion?

[OpenLayers-Users] Getting jumbled tiles from tilecache server

2008-07-23 Thread Sanjiv Singh
Hi all, I have setup a tilecache server which serves OpenStreetMap Data using Mapnik. I am using the following code to read from the tilecache server: function init(){ map = new OpenLayers.Map('map', { projection: new OpenLayers.Projection(EPSG:900913),

Re: [OpenLayers-Users] Getting jumbled tiles from tilecache server

2008-07-23 Thread Christopher Schmidt
On Thu, Jul 24, 2008 at 12:45:40AM +0530, Sanjiv Singh wrote: Hi all, I have setup a tilecache server which serves OpenStreetMap Data using Mapnik. I am using the following code to read from the tilecache server: Do you have the 'tms_type=google' option on? If so, turn it off... Otherwise,

Re: [OpenLayers-Users] removeFeatures vs. destroyFeatures behavior

2008-07-23 Thread Ian
Hi Eric. Thank you for the response. From what you said my understanding of removeFeatures and destroyFeatures is correct, and this appears to be a bug. Using the code from my original post I verified this incorrect destroyFeatures() behavior again today, and will file a bug ticket. Thanks, Ian

Re: [OpenLayers-Users] Override 256x256 HEIGHT WIDTH in Layer.WMS

2008-07-23 Thread Yingqi
Or you can choose not to tiles, instead you set singleTile = true. Ryan Hofschneider wrote: On Jul 18, 2008, at 12:37 PM, Don Sullivan wrote: How do I override the HEIGHT=256,WIDTH=256 in OpenLayers. Layer.WMS call to OGC WMS server ? Through the tileSize property: