[OpenLayers-Users] Sizing background images and StyleMaps
ivan.grcic at geofoto.hr
Thu Feb 26 16:09:09 EST 2009
An external image to be used to represent a point.
These properties define the height and width of an
externalGraphic. This is an alternative to the pointRadius symbolizer
property to be used when your graphic has different sizes in the X and
Opacity of an external graphic.
Where the ‘center’ of an externalGraphic should be.
Name of a type of symbol to be used for a point mark.
On 2/26/09, Nicholas Bergson-Shilcock <nicholasbs at openplans.org> wrote:
> Excerpts from Christopher Schmidt's message of Thu Feb 26 12:26:38 -0500
>> 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. 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?
> Ah, thanks for pointing me towards these. This is just the type of doc I
> looking for, however, I don't see any options relating to background images.
> you know if it's possible to explicitly set the size of a background image?
> Thanks for the help and a great product,
> Users mailing list
> Users at openlayers.org
More information about the Users