[OpenLayers-Users] Map Layer Requirements

Bill Thoen bthoen at gisnet.com
Wed Aug 13 18:47:45 EDT 2008


Thanks. I had to change the false to true, and then it worked.

Eric Lemoine wrote:
> Hi Bill. You need your vector layer be a base layer. By default vector
> layers aren't base layers so you need an explicit option for this at
> creation time: new OpenLayers.Layer.Vector("vector", {isBaseLayer:
> false}). Hope i am correct and this is helping :-) Eric
>
> 2008/8/13, Bill Thoen <bthoen at gisnet.com>:
>   
>> I'm trying to set up some little experimental maps in OpenLayers using
>> just a vector layer -- no base map. It's not working and I wondered is a
>> base map layer required, or can you supply all the necessary options
>> when you create the map object?
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>     
>
>   




More information about the Users mailing list