[OpenLayers-Dev] can't show externalGraphics for vectors
crschmidt at metacarta.com
Thu Nov 22 15:49:38 EST 2007
On Thu, Nov 22, 2007 at 06:22:28PM +0100, Eric Lemoine wrote:
> On Nov 22, 2007 3:57 PM, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> > On Thu, Nov 22, 2007 at 02:55:54PM +0000, Val Cartei wrote:
> > > Hi there,
> > > I am trying to attach an image to a Point. The idea would be to extend
> > > the class so that the style with the attribute externalGraphic gets
> > > applied, but it doesn't seem to work.
> > > The problem is that it still shows the default style, although if i do
> > > an alert (style.externalGraphic), the property exists, it just doesn'y
> > > display.
> > What version of OL? OL.Util.extend didn't return the object until very
> > recently...
> Chris, just a comment: aren't you mixing up with
> OpenLayers.Util.applyDefaults()? I think OpenLayers.Util.extend() has
> always returned the dest object.
Hm, has it? Okay. Nevermind then! :)
More information about the Dev