if (feature.getGeometry() instanceof LineString || feature.getGeometry() instanceof MultiLineString) {
style.merge(lineSelectStyle);
} else if (feature.getGeometry() instanceof Polygon || feature.getGeometry() instanceof MultiPolygon) {
style.merge(polygonSelectStyle);
} else if (feature.getGeometry() instanceof Point || feature.getGeometry() instanceof MultiPoint) {
style.merge(pointSelectStyle);
}
return style;
}
private boolean hasImageSymbol(Feature feature) {