Commit 44d70b9fdfe52f198b1a5ae1f501589b7cbcaf90
1 parent
c5171f00
Google and tencent polygon color function fixed
Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -367,8 +367,8 @@ export default class TbGoogleMap { |
367 | 367 | strokeColor: color, |
368 | 368 | fillColor: color, |
369 | 369 | strokeWeight: settings.polygonStrokeWeight |
370 | - } | |
371 | - | |
370 | + }; | |
371 | + polygon.setOptions(options); | |
372 | 372 | } |
373 | 373 | /* eslint-disable no-undef ,no-unused-vars*/ |
374 | 374 | ... | ... |