Skip to main content
2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Check my answer on stackoverflow on this subject. You have to switch extractStyles to false and work with the extracted attributes. Also, you need to map styles on a stylemap, I've put a lengthy answer in there with rules.

Glenn Plas
  • 914
  • 5
  • 9