[OpenLayers-Users] Vector file as base map

Christopher Schmidt crschmidt at metacarta.com
Sat Aug 15 17:11:05 EDT 2009


On Sat, Aug 15, 2009 at 08:15:42PM +1200, Jeremy Husmann wrote:
> 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?

Yes.

Just add an isBaseLayer: true option to the layer constructor.

-- Chris

>  
> 
> 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
> 
>  
> 
> 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