[OpenLayers-Users] GIS Layer as baselayer?
Jeff Dege
jdege at korterra.com
Thu Jun 7 10:07:54 EDT 2007
Thanks. That works.
> -----Original Message-----
> From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
> Sent: Wednesday, June 06, 2007 6:19 PM
> To: Jeff Dege
> Cc: users at openlayers.org
> Subject: Re: [OpenLayers-Users] GIS Layer as baselayer?
>
> On Wed, Jun 06, 2007 at 05:12:45PM -0500, Jeff Dege wrote:
> > I'm trying to draw a very simple map from a GML file. One
> layer, three
> > features. About as simple as it gets.
> >
> > And it's not working, because Layer.GML is derived from
> Layer.Vector,
> > and Vector cannot be a baselayer.
>
> It can be a base layer, actually, it just isn't by default.
>
> http://crschmidt.net/~crschmidt/vector-features.html
>
> {'isBaseLayer':true} as an option on the layer should do it.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
More information about the Users
mailing list