I assume you tried adding "className": "psc-power"
to styleOptions already, and it didn't work?
I try both in styleOptions:
"className": "psc-power"
"className": "power"
Of course, if I write power class into the main style of map component it works but I want to specify this class to only selected plotlines not all of them.
I believe behind the sense, there is no binding for className in styleOptions.
Please add this option, it really gives a cool effect to map objects.
Thanks for trying, Nader. We will look into it.
I try to render a simple Geojdon Point on the map with a custom icon and color but it seems the color property of the object doesn't work and my icon renders in black:
here is the Geojson object. I try to put color everywhere to figure out the correct syntax as there is no manual for Point.
{
"styleOptions": {
"color": "#FFFFFF",
"opacity": 1,
"fill": true,
"fillColor": "#FFFFFF",
"fillOpacity": 1,
},
"geometry": {
"coordinates": [
8.097570419,
57.17465592745406
],
"type": "Point"
},
"type": "Feature",
"marker": {
"render": "icon",
"icon": {
"path": "map/chopper",
"color": "#FFFFFF",
"size": {
"width": 12,
"height": 12
},
"style": {
"color": "#FFFFFF"
}
}
}
}
You referring to your original post?
This was fixed in 8.1.28.
No this is new in version 8.1.39.
If you just copy my JSON into the Geojson layer you will see it is not possible to change the color of the Point(Marker).
I see what you're saying. We will take care of that as well. Thanks, Nader.
This has been resolved with Ignition 8.1.42, released today.
It doesn't work for me, I've tried putting the color in different places but it still doesn't change.
I'm using version 8.1.43
I'm also having the same issue, I can't change the colour of any markers created from GeoJSON. I've tried using both the fill and color properties, in many places, but nothing seems to work, see the screen shot below. I've also create a style class and tried to apply that, but also doesn't work.
I'm using 8.1.44.