You need at least one base layer. That might be your problem.

Either you set the isBaseLayer option to true on at least one of your
layer, or you set allOverlays to true on your map.

HTH,
F.

On Sat, Jul 4, 2009 at 3:29 PM, Admin
TrouveTonGull.info<[email protected]> wrote:
> Hello,
>
> I don't want use a osm layer (i have my own gml layer) and when i remove
> "OpenLayers.Layer.OSM.Mapnik" , my map doesn't work :(
>
> It is impossible to not use a osm/gg/yahoo layer?
>
> Bye,
> Fred
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to