[OpenLayers-Users] swapping in custom panzoom images

Christopher Schmidt crschmidt at metacarta.com
Wed May 13 11:03:03 EDT 2009


On Wed, May 13, 2009 at 10:56:16AM -0400, Chris Abraham wrote:
> Hi,
> I know I can swap in custom images for the panzoom control by  
> replacing the image files in /img directory.  Is there a way to do  
> this without having to host my own copy of openlayers?  That is, can  
> I use custom images while still linking to http://openlayers.org/api/ 
> 2.8-rc2/OpenLayers.js ?

The CSS can be included in the page, and specify 'theme: null' to your
map options. The Image locations can be controlled via
OpenLayers.ImgPath.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list