Commit 44d70b9fdfe52f198b1a5ae1f501589b7cbcaf90

Authored by Maksym Dudnik
1 parent c5171f00

Google and tencent polygon color function fixed

... ... @@ -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
... ...
... ... @@ -379,7 +379,7 @@ export default class TbTencentMap {
379 379 fillColor: color,
380 380 strokeWeight: settings.polygonStrokeWeight
381 381 }
382   -
  382 + polygon.setOptions(options);
383 383 }
384 384 /* eslint-disable no-undef ,no-unused-vars*/
385 385
... ...