[OpenLayers-Users] Styling - Set externalGraphic allong a pointRadius based feature
Filipe
filipesilva1 at gmail.com
Wed Jun 11 08:32:03 PDT 2014
Hello everyone.
Is there a way to define a style with both "externalGraphic" and a feature
with a given "pointRadius" ?
The end result i want is the externalGraphic with a circle feature arround.
Something like:
{
//properties for the externalGraphic
"externalGraphic": imgSrc,
"graphicXOffset": -15,
"graphicYOffset": -12.5,
"graphicWidth": 30,
"graphicHeight": 25,
//properties for the circle feature
"pointRadius": 50,
"fillColor": '#ff0000',
"fillOpacity": 0.5,
"strokeColor": '#000000',
"strokeWidth": 2,
"strokeOpacity": 1.0
}
they both work separately but i want them to wotk together.
One of the options is to have 2 diferent features with seperate styles but
that involve managing the show/hide on both of them.
Regards,
Filipe
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Styling-Set-externalGraphic-allong-a-pointRadius-based-feature-tp5145318.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list