[OpenLayers-Users] Sizing background images and StyleMaps

Christopher Schmidt crschmidt at metacarta.com
Thu Feb 26 12:26:38 EST 2009


On Thu, Feb 26, 2009 at 12:16:05PM -0500, Nicholas Bergson-Shilcock wrote:
> Hello,
> 
> I'm pretty new to OpenLayers and I have a couple of questions.
> 
> 1) How can I set the size of a background graphic? I'm doing something similar
> to the marker shadow example here[1]. I guessed and used
> graphicWidth/graphicHeight to set the size of my marker image (which works),
> but neither backgroundGraphicWidth nor backgroundWidth seem to have any effect
> on my shadow image. What's the correct way to do this?
> 
> 2) Is there a place to look up all of the options for an OpenLayers.StyleMap
> object?

http://docs.openlayers.org/library/feature_styling#style-properties

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list