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
parent
commit
8d7ee887b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/src/app/widget/lib/google-map.js
  2. 2
      ui/src/app/widget/lib/tencent-map.js

4
ui/src/app/widget/lib/google-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*/

2
ui/src/app/widget/lib/tencent-map.js

@ -379,7 +379,7 @@ export default class TbTencentMap {
fillColor: color,
strokeWeight: settings.polygonStrokeWeight
}
polygon.setOptions(options);
}
/* eslint-disable no-undef ,no-unused-vars*/

Loading…
Cancel
Save