Hi,
 
it's not isBaselayer but isBaseLayer:true. Correct the typo and all should
be nice.
 
an example with two vector layers as baselayers:
http://gis.ibbeck.de//ginfo/apps/OLExamples/OL212/BaseLayers/vectorBaseLayer
.asp

 
Arnd
 
  _____  

Von: openlayers-users-boun...@lists.osgeo.org
[mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von Gaëtan
Palka
Gesendet: Dienstag, 7. Mai 2013 16:49
An: openlayers-users
Betreff: [OpenLayers-Users] GML vector layer as baselayer, possible or not ?


Hello,


for a project, I have to change the baselayer but I have 2 constraints :

- I can't use mapserver or geoserver

- I have to use specific baselayer that I have to create (roads, city
limits, ...)


Using GML data, I tried to used the isBaselayer property of .Layer.Vertor
but without success :

alea = new OpenLayers.Layer.Vector("alea", {
        isBaselayer: true,
        protocol: new OpenLayers.Protocol.HTTP({
            url: "./Data/Alea_37/alea_37_wgs84.gml", 
            format: new OpenLayers.Format.GML()
        }),
        strategies: [new OpenLayers.Strategy.Fixed()]
    });


I have found three messages with the same topic but none response.


Thanks by advance.

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to