/** * Gets the z index of the GeoJsonLineString * * @return z index of the GeoJsonLineString */ public float getZIndex() { return mPolylineOptions.getZIndex(); }
public void testZIndex() throws Exception { lineStringStyle.setZIndex(50.78f); assertEquals(50.78f, lineStringStyle.getZIndex()); assertEquals(50.78f, lineStringStyle.toPolylineOptions().getZIndex()); }
/** * Gets a new PolylineOptions object containing styles for the GeoJsonLineString * * @return new PolylineOptions object */ public PolylineOptions toPolylineOptions() { PolylineOptions polylineOptions = new PolylineOptions(); polylineOptions.color(mPolylineOptions.getColor()); polylineOptions.clickable(mPolylineOptions.isClickable()); polylineOptions.geodesic(mPolylineOptions.isGeodesic()); polylineOptions.visible(mPolylineOptions.isVisible()); polylineOptions.width(mPolylineOptions.getWidth()); polylineOptions.zIndex(mPolylineOptions.getZIndex()); polylineOptions.pattern(getPattern()); return polylineOptions; }
public void testDefaultGetPolylineOptions() throws Exception { assertEquals(Color.BLACK, lineStringStyle.toPolylineOptions().getColor()); assertFalse(lineStringStyle.toPolylineOptions().isGeodesic()); assertTrue(lineStringStyle.toPolylineOptions().isVisible()); assertEquals(10.0f, lineStringStyle.toPolylineOptions().getWidth()); assertEquals(0.0f, lineStringStyle.toPolylineOptions().getZIndex()); } }
/** * Gets the z index of the GeoJsonLineString * * @return z index of the GeoJsonLineString */ public float getZIndex() { return mPolylineOptions.getZIndex(); }
public float getZIndex() { return real.getZIndex(); }
public float getZIndex() { return real.getZIndex(); }
/** * Gets a new PolylineOptions object containing styles for the GeoJsonLineString * * @return new PolylineOptions object */ public PolylineOptions toPolylineOptions() { PolylineOptions polylineOptions = new PolylineOptions(); polylineOptions.color(mPolylineOptions.getColor()); polylineOptions.clickable(mPolylineOptions.isClickable()); polylineOptions.geodesic(mPolylineOptions.isGeodesic()); polylineOptions.visible(mPolylineOptions.isVisible()); polylineOptions.width(mPolylineOptions.getWidth()); polylineOptions.zIndex(mPolylineOptions.getZIndex()); return polylineOptions; }