use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class SymbolGroup method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
addToMap(map, "groups", this.groups);
addToMap(map, "symbols", this.symbols);
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class ColorGriddedElevationModelRasterizer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
addToMap(map, "minColour", this.minColour);
addToMap(map, "maxColour", this.maxColour);
if (Double.isFinite(this.minZ)) {
double modelMinZ = Double.NaN;
double modelMaxZ = Double.NaN;
final GriddedElevationModel elevationModel = getElevationModel();
if (elevationModel != null) {
modelMinZ = elevationModel.getMinZ();
modelMaxZ = elevationModel.getMaxZ();
}
addToMap(map, "minZ", this.minZ, modelMinZ);
addToMap(map, "maxZ", this.maxZ, modelMaxZ);
}
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class HillShadeGriddedElevationModelRasterizer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
map.put("azimuthDegrees", this.azimuthDegrees);
map.put("zenithDegrees", this.zenithDegrees);
map.put("zFactor", this.zFactor);
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class GradientStop method toMap.
@Override
public MapEx toMap() {
final MapEx map = newTypeMap("gradientStop");
addToMap(map, "color", this.color);
if (Double.isFinite(this.value)) {
map.add("value", this.value);
}
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class ColorGradientGriddedElevationModelRasterizer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
addToMap(map, "gradient", this.gradient);
return map;
}
Aggregations