[OpenLayers-Users] Vector file as base map

Marc Jansen jansen at terrestris.de
Sat Aug 15 04:35:51 EDT 2009


Hi Jeremy,

simply pass in

isBaseLayer: true

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** | WWW.CRITCHLOW.CO.NZ 
> <../../../../Ian/Application%20Data/Microsoft/Signatures/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
>   




More information about the Users mailing list