I am trying to apply a pre-defined fill-style for my vector layer but I face an error. The firebug says the following:
SyntaxError: missing } after property liststyle:myStyleI tried to put a "}" afther the property list, but the debugger keeps saying the same. I also tried to check my Javascript code with JSHint, but it also says the same problem. Last but not least I tried to look for some solution in this site and stackoverflow too, but I could not find any for my case :\I am of the opinion that I put the "style: myStyle" line on a wrong place...Would anyone be so kind as to help me in this matter? Thanks in advance!
My source code:
.map { height: 400px; width: 100%; } OpenLayers 3 example My Map
أكثر...
SyntaxError: missing } after property liststyle:myStyleI tried to put a "}" afther the property list, but the debugger keeps saying the same. I also tried to check my Javascript code with JSHint, but it also says the same problem. Last but not least I tried to look for some solution in this site and stackoverflow too, but I could not find any for my case :\I am of the opinion that I put the "style: myStyle" line on a wrong place...Would anyone be so kind as to help me in this matter? Thanks in advance!
My source code:
.map { height: 400px; width: 100%; } OpenLayers 3 example My Map
أكثر...