Browse Source
Merge pull request #1519 from MrKartoshka/polygon_hotfix_google
Google and tencent polygon color function fixed
pull/1524/head
Igor Kulikov
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
ui/src/app/widget/lib/google-map.js
-
ui/src/app/widget/lib/tencent-map.js
|
|
|
@ -367,8 +367,8 @@ export default class TbGoogleMap { |
|
|
|
strokeColor: color, |
|
|
|
fillColor: color, |
|
|
|
strokeWeight: settings.polygonStrokeWeight |
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
polygon.setOptions(options); |
|
|
|
} |
|
|
|
/* eslint-disable no-undef ,no-unused-vars*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -379,7 +379,7 @@ export default class TbTencentMap { |
|
|
|
fillColor: color, |
|
|
|
strokeWeight: settings.polygonStrokeWeight |
|
|
|
} |
|
|
|
|
|
|
|
polygon.setOptions(options); |
|
|
|
} |
|
|
|
/* eslint-disable no-undef ,no-unused-vars*/ |
|
|
|
|
|
|
|
|