[OpenLayers-Users] OpenLayers.Marker icon css properties

Jan Hartmann j.l.h.hartmann at uva.nl
Mon Sep 30 08:51:17 PDT 2013


No, it is for jpeg images used as marker icons. I found out how to their 
styles like this:

marker.icon.imageDiv.style...

On 30-9-2013 17:42, Mark Prins wrote:
> 2013/9/26 Jan Hartmann<j.l.h.hartmann at uva.nl>:
>> How do I access the css properties of an image, defined as an icon in an
>> OpenLayers.Marker item?
> In your map there may not actually be a DOM image, this depends on the
> renderer. eg. when using SVG renderer it will be an<image>  element as
> part of a larger SVG document, HTML rules don't apply there in most
> browsers, if you really wan't this to work you'd need to use a DOM
> renderer only.
>
>
>
>> I would like to et the marker show all kind of
>> transition effects, as described for example in:
>>
>> https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions
>>
>> Jan
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>


More information about the Users mailing list