Improve code / xml formatting, closes #54
This commit is contained in:
@@ -18,18 +18,18 @@ package org.oscim.tiling.source.geojson;
|
||||
|
||||
public class Polygon extends Geometry<LineString> {
|
||||
|
||||
protected Polygon() {
|
||||
}
|
||||
protected Polygon() {
|
||||
}
|
||||
|
||||
public final native LineString getExteriorRing()/*-{
|
||||
return this[0];
|
||||
public final native LineString getExteriorRing()/*-{
|
||||
return this[0];
|
||||
}-*/;
|
||||
|
||||
public final native LineString getRing(int i) /*-{
|
||||
return this[i];
|
||||
public final native LineString getRing(int i) /*-{
|
||||
return this[i];
|
||||
}-*/;
|
||||
|
||||
public final native int getNumRings() /*-{
|
||||
public final native int getNumRings() /*-{
|
||||
return this.length;
|
||||
}-*/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user