Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #2631 - Adding alpha() test for PolygonOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege authored and Leith Bade committed Oct 22, 2015
1 parent ace137b commit 2452aab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ private void addPolygon() {
opts.add(new PolygonOptions()
.add(latLngs)
.strokeColor(Color.MAGENTA)
.fillColor(Color.BLUE));
.fillColor(Color.BLUE).alpha(0.5f));
map.addPolygons(opts).get(0);
} catch (Exception e) {
Log.e(TAG, "Error adding Polygon: " + e);
Expand Down

0 comments on commit 2452aab

Please sign in to comment.