Skip to content

Commit

Permalink
feature request #683 (Android)
Browse files Browse the repository at this point in the history
  • Loading branch information
masashiGMS committed Mar 31, 2016
1 parent 8674385 commit 2ace768
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/android/plugin/google/maps/PluginPolygon.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ private void createPolygon(final JSONArray args, final CallbackContext callbackC

if (opts.has("holes")) {
JSONArray holes = opts.getJSONArray("holes");
int i, j;
int i;
JSONArray latLngArray;
JSONObject pointJSON;
for (i = 0; i < holes.length(); i++) {
latLngArray = holes.getJSONArray(i);
polygonOptions.addHole(PluginUtil.JSONArray2LatLngList(latLngArray));
Expand Down

0 comments on commit 2ace768

Please sign in to comment.