[OpenLayers-Users] Vector file as base map

Eric Lemoine eric.lemoine at camptocamp.com
Sat Aug 15 08:59:59 EDT 2009


On Saturday, August 15, 2009, Marc Jansen <jansen at terrestris.de> wrote:
> Hi Jeremy,
>
> simply pass in
>
> isBaseLayer: true

if you have OL 2.8 you can also use allOverlays true in the map options.

Cheers,

>
> as a part of the options-Object when constructing your vector layer.
>
> Regards,
> Marc
>
>
> Jeremy Husmann schrieb:
>>
>> Hello everyone,
>>
>> Just a quick question.
>>
>> Im wanting to stand up a basic webpage using standard OpenLayers, but
>> I want to be displaying a default KML or GML. But without any base map
>> underneath – i.e. the vector file to be the base map. Is this
>> possible? And if so how would you recommend starting this?
>>
>> Cheers,
>>
>> Jeremy
>>
>> *JEREMY HUSMANN***
>>
>> SOFTWARE ENGINEER
>>
>> Jeremy.Husmann at critchlow.co.nz
>>
>> * *
>>
>> *CRITCHLOW LTD***
>>
>> LEVEL 2, 22 THE TERRACE, PO BOX 4103
>>
>> WELLINGTON, NEW ZEALAND
>>
>> FREE PHONE: 0800 627 746
>>
>> DIRECT DIAL: +64 4 910 6208
>>
>> TEL: +64 4 472 8244
>>
>> FAX: +64 4 472 6695
>>
>> _ _
>>
>> *KNOW WHERE** | http://WWW.CRITCHLOW.CO.NZ
>> <../../../../Ian/Application%20Data/Microsoft/Signatures/http://WWW.CRITCHLOW.CO.NZ>*
>>
>> * *
>>
>> WARNING - THIS EMAIL TRANSMISSION IS CONFIDENTIAL
>>
>> This email transmission (including any accompanying attachments)
>> contains confidential information, which may be subject to legal
>> privilege intended for the named addressee. If any other reader is not
>> the intended recipient, you are hereby notified that any use,
>>
>> dissemination, distribution or reproduction of this email is
>> prohibited. If you have received this email in error please contact us
>> immediately.
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list