public void initialize(ClientMapInfo mapInfo) { pointStyle = mapInfo.getPointSelectStyle(); lineStyle = mapInfo.getLineSelectStyle(); ringStyle = mapInfo.getPolygonSelectStyle(); }
case MULTIPOLYGON: case POLYGON: selectStyle = mapInfo.getPolygonSelectStyle(); break; default:
case MULTIPOLYGON: case POLYGON: selectStyle = mapPresenter.getConfiguration().getServerConfiguration().getPolygonSelectStyle();
style = mergeStyle(style, map.getPolygonSelectStyle()); fillColor = context.getColor(style.getFillColor(), style.getFillOpacity()); strokeColor = context.getColor(style.getStrokeColor(), style.getStrokeOpacity());