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