[OpenLayers-Users] map scope problem

2008-10-21 Thread S.Reena
I have used AJAX to load a php file "showmap.php" which makes a database table based on selections . I have used that table to create a layer in init() function itself which makes the map and rendered it false there using wms[8].setVisibility(false). I want that in openmap() function I just make

Re: [OpenLayers-Users] layer options

2008-10-21 Thread Lukasz Szybalski
On Tue, Oct 21, 2008 at 6:14 PM, Christian López Espínola <[EMAIL PROTECTED]> wrote: > On Tue, Oct 21, 2008 at 10:17 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: >> Hello, >> What I meant is that there is a layers basic and there is a layers >> landsat7? what other layers are there? What is the

Re: [OpenLayers-Users] layer options

2008-10-21 Thread Christian López Espínola
On Tue, Oct 21, 2008 at 10:17 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: > Hello, > What I meant is that there is a layers basic and there is a layers > landsat7? what other layers are there? What is the layer format for > mapnik server? > >>> layers : basic >>> layers: landsat7 >>> what other

Re: [OpenLayers-Users] layer options

2008-10-21 Thread Lukasz Szybalski
Hello, What I meant is that there is a layers basic and there is a layers landsat7? what other layers are there? What is the layer format for mapnik server? >> layers : basic >> layers: landsat7 >> what other options are there? > Lucas ___ Users mailin

Re: [OpenLayers-Users] layer options

2008-10-21 Thread Christian López Espínola
Hi Lukasz, On Tue, Oct 21, 2008 at 9:48 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: > Hello, > I am working with a turbogears widget for openlayers and I was > wondering if you could point me to documentation on layers options: BTW, this summer a Google Summer of Code student has been working

[OpenLayers-Users] layer options

2008-10-21 Thread Lukasz Szybalski
Hello, I am working with a turbogears widget for openlayers and I was wondering if you could point me to documentation on layers options: ol = WMS(name="OpenLayers WMS", url=["http://labs.metacarta.com/wms/vmap0";], options = {'layers':'basic'}) layers : basic layers: landsat7 wh

Re: [OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

2008-10-21 Thread Roosh
Unfortunately I don't, the code is hosted on a localhost server on my machine so I wouldn't be able to send the code directly. Christopher Schmidt-4 wrote: > > On Tue, Oct 21, 2008 at 11:07:31AM -0700, Roosh wrote: >> >> Hi Christopher, >> >> Yes, we are both trying to view the same page. It

Re: [OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

2008-10-21 Thread Christopher Schmidt
On Tue, Oct 21, 2008 at 11:07:31AM -0700, Roosh wrote: > > Hi Christopher, > > Yes, we are both trying to view the same page. It is a bunch of sample code > which > was written by someone else and is stored on a server. I am not sure what to > do, I can > try and reinstall Firefox, but I am not s

Re: [OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

2008-10-21 Thread Roosh
Hi Christopher, Yes, we are both trying to view the same page. It is a bunch of sample code which was written by someone else and is stored on a server. I am not sure what to do, I can try and reinstall Firefox, but I am not sure if that will help or not. Christopher Schmidt-4 wrote: > > On Tu

Re: [OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

2008-10-21 Thread Christopher Schmidt
On Tue, Oct 21, 2008 at 09:18:49AM -0700, Roosh wrote: > > Hi Everyone, > > I am having trouble viewing most of the OpenLayers demos in the latest > version of Firefox (3.0.3). I specifically get this error: > > OpenLayers.Control.MouseDefaults is not a constructor > > This happens every time t

Re: [OpenLayers-Users] BBOX like + filters how ?

2008-10-21 Thread Eric Lemoine
Hi. I think you can do it with GeoServer (with CQL). You can do it with the refactor branch of FeatureServer (unless it's in trunk). And if your features are in PostGIS you can also have that with MapFish Server, with a little bit of Python programming to implement the filter logic. MapFish Server

[OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

2008-10-21 Thread Roosh
Hi Everyone, I am having trouble viewing most of the OpenLayers demos in the latest version of Firefox (3.0.3). I specifically get this error: OpenLayers.Control.MouseDefaults is not a constructor This happens every time this line of code in the script is encountered: map.addControl(new OpenLa

Re: [OpenLayers-Users] Problem with Protocol HTTP and vector layer

2008-10-21 Thread Eric Lemoine
On Tue, Oct 21, 2008 at 1:41 PM, Jérome Freyre <[EMAIL PROTECTED]> wrote: > [...] > > Based on the example > (http://openlayers.org/dev/examples/protocol-gears.html), I create a method > called sync : > > function sync() { > resp = view.protocol.read(); > if (!resp.success()) { >

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Jacolin Yves
Le Tuesday 21 October 2008 16:46:21 Eric Lemoine, vous avez écrit : > [..] > Doesn't work. OpenLayers.js cannot be loaded, isn't > www.lpdipro2.dev.local on a private network? > > -- > Eric he he ;) sorry, I changed all wrong url. Y. -- Yves Jacolin --- http://softlibre.gloobe.org _

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Eric Lemoine
On Tue, Oct 21, 2008 at 2:23 PM, Jacolin Yves <[EMAIL PROTECTED]> wrote: > Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : >> Hi Yves. I don't see anything wrong with what you're doing. So you're >> saying you are adding two features (far from each other), and >> nevertheless s

[OpenLayers-Users] BBOX like + filters how ?

2008-10-21 Thread Volodymer Grigorenko
Hi list in my OL app i need to filter features by it attributes the easiest way as i think is to make the filer job on a server side and control it through url Some thing like BBOX( as i get this right this mean query by extent ) + Filter(=,>,< in attributes ) . As for now i find out that mapser

Re: [OpenLayers-Users] getCenter + reprojection

2008-10-21 Thread Volodymer Grigorenko
nope and by the way adding map.addControl(new OpenLayers.Control.MousePosition()); don't cause such behaver On Thu, Oct 16, 2008 at 7:16 PM, Eric Lemoine <[EMAIL PROTECTED]> wrote: > Units must be "m" with 900913. This may not be related to your > particular issue though. > > Eric > > 2008/10/16,

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Jacolin Yves
Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : > Hi Yves. I don't see anything wrong with what you're doing. So you're > saying you are adding two features (far from each other), and > nevertheless see only one of the two on the map, right? Could you cook > up a small example

[OpenLayers-Users] Problem with Protocol HTTP and vector layer

2008-10-21 Thread Jérome Freyre
Hi all, Firstly, sorry for my english... I'm working since few month with Open Layer and I think it is really fun Currently, I have a map with my own WMS server and a vector layer based on strategies and protocol (HTTP) like that : function init() { . var myprotocol = new OpenLayers.Prot