Hi
It seems the styleOptions of geoJSON layer in map component doesn't work at all.
Thanks for reporting this issue. Currently the styleOptions at the root level will apply all of the Features in a FeatureCollection only if they have a styleOptions object. It’s a bug we’re aware of and would like to resolve. However, it may take some time until this gets worked on. We apologize for any inconvenience this may cause you.
In the meantime, you can try adding the styleOptions property to each of the Features in the “features” array as a temporary solution. The picture below gives a demonstration of how the root styleOptions is applied.
Please let me know if that works for you.
Thanks this will solve my problem for the moment.