Re: [OpenLayers-Users] Single vector layer

2009-01-02 Thread Lehtonen, Mika
Hi Eric, yes I had that 'isBaseLayer: true' in my vector layer options, but obviously there was something wrong with the syntax. I rewrote my vector layer definition from the scratch including that 'isBaseLayer' and now it's working. Thanks. - mika Eric Lemoine kirjoitti: > On Fri, Jan 2, 200

Re: [OpenLayers-Users] Single vector layer

2009-01-02 Thread Eric Lemoine
On Fri, Jan 2, 2009 at 9:55 AM, Lehtonen, Mika wrote: > Hi, > > is it possible to consruct a map with only one layer, which is vector > layer? I noticed that vector layer has a property 'isBaseLayer'. However > trying to consruct a map having a single and only layer as vector layer > fails. I get

[OpenLayers-Users] Single vector layer

2009-01-02 Thread Lehtonen, Mika
Hi, is it possible to consruct a map with only one layer, which is vector layer? I noticed that vector layer has a property 'isBaseLayer'. However trying to consruct a map having a single and only layer as vector layer fails. I get some this.baseLayer is null warnings. If I add e.g. google lay