@Test public void testGetGeometryType() { assertTrue(Arrays.asList(polygonStyle.getGeometryType()).contains("Polygon")); assertTrue(Arrays.asList(polygonStyle.getGeometryType()).contains("MultiPolygon")); assertTrue(Arrays.asList(polygonStyle.getGeometryType()).contains("GeometryCollection")); assertEquals(3, polygonStyle.getGeometryType().length); }
@Override public String[] getGeometryType() { return GEOMETRY_TYPE; }
GeoJsonPolygonStyle extends Style implements GeoJsonStyle { @Override public String[] getGeometryType() { return GEOMETRY_TYPE; } }
GeoJsonPolygonStyle extends Style implements GeoJsonStyle { @Override public String[] getGeometryType() { return GEOMETRY_TYPE; } GeoJsonPolygonStyle(); }
GeoJsonPolygonStyle extends Style implements GeoJsonStyle { @Override public String[] getGeometryType() { return GEOMETRY_TYPE; } GeoJsonPolygonStyle(); @Override String[] getGeometryType(); int getFillColor(); void setFillColor(int fillColor); boolean isGeodesic(); void setGeodesic(boolean geodesic); int getStrokeColor(); void setStrokeColor(int strokeColor); int getStrokeJointType(); void setStrokeJointType(int strokeJointType); List<PatternItem> getStrokePattern(); void setStrokePattern(List<PatternItem> strokePattern); float getStrokeWidth(); void setStrokeWidth(float strokeWidth); float getZIndex(); void setZIndex(float zIndex); @Override boolean isVisible(); @Override void setVisible(boolean visible); PolygonOptions toPolygonOptions(); @Override String toString(); void setClickable(boolean clickable); boolean isClickable(); }
GeoJsonPolygonStyle extends Style implements GeoJsonStyle { @Override public String[] getGeometryType() { return GEOMETRY_TYPE; } GeoJsonPolygonStyle(); @Override String[] getGeometryType(); int getFillColor(); void setFillColor(int fillColor); boolean isGeodesic(); void setGeodesic(boolean geodesic); int getStrokeColor(); void setStrokeColor(int strokeColor); int getStrokeJointType(); void setStrokeJointType(int strokeJointType); List<PatternItem> getStrokePattern(); void setStrokePattern(List<PatternItem> strokePattern); float getStrokeWidth(); void setStrokeWidth(float strokeWidth); float getZIndex(); void setZIndex(float zIndex); @Override boolean isVisible(); @Override void setVisible(boolean visible); PolygonOptions toPolygonOptions(); @Override String toString(); void setClickable(boolean clickable); boolean isClickable();  }