Hi. The patch has just been committed into trunk, it will therefore be in 2.8.
Cheers, Eric 2009/3/4, Nicholas Bergson-Shilcock <[email protected]>: > Excerpts from Nicholas Bergson-Shilcock's message of Tue Mar 03 18:58:45 > -0500 2009: >> Excerpts from Ivan Grcic's message of Thu Feb 26 16:36:23 -0500 2009: >> > ooops sorry, i didnt see you said background image size. i dont know >> > if there is such an option in api now...but if u find something you >> > can put it in the docs ;) >> > >> >> I spoke with Tim Schwab about this and it turns out the current release >> does >> not support setting the width/height of background graphics separately. At >> present, the background graphic's size is set to be the same as the >> foreground >> graphic's. >> > > My apologies, I meant Tim Schaub :) > > -Nick > >> There's a patch to allow setting the background width and height on their >> own >> here: http://trac.openlayers.org/ticket/1968 >> >> -Nick >> >> > cheers >> > >> > On 2/26/09, Ivan Grcic <[email protected]> wrote: >> > > # >> > > >> > > externalGraphic >> > > >> > > An external image to be used to represent a point. >> > > >> > > # >> > > >> > > graphicWidth, graphicHeight >> > > >> > > 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 >> > > Y direction. >> > > >> > > # >> > > >> > > graphicOpacity >> > > >> > > Opacity of an external graphic. >> > > >> > > # >> > > >> > > graphicXOffset, graphicYOffset >> > > >> > > Where the ‘center’ of an externalGraphic should be. >> > > >> > > # >> > > >> > > graphicName >> > > >> > > Name of a type of symbol to be used for a point mark. >> > > >> > > cheers >> > > >> > > On 2/26/09, Nicholas Bergson-Shilcock <[email protected]> >> > > wrote: >> > >> Excerpts from Christopher Schmidt's message of Thu Feb 26 12:26:38 >> > >> -0500 >> > >> 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 >> > >> >> > >> Ah, thanks for pointing me towards these. This is just the type of >> > >> doc I >> > >> was >> > >> looking for, however, I don't see any options relating to background >> > >> images. >> > >> Do >> > >> you know if it's possible to explicitly set the size of a background >> > >> image? >> > >> >> > >> Thanks for the help and a great product, >> > >> -Nick >> > >> >> > >>> >> > >>> Regards, >> > >> _______________________________________________ >> > >> Users mailing list >> > >> [email protected] >> > >> http://openlayers.org/mailman/listinfo/users >> > >> >> > > >> > > >> > > -- >> > > Ivan Grcic >> > > >> > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Envoyé avec mon mobile _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
