use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class GriddedElevationModelLayer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
map.remove("querySupported");
map.remove("selectSupported");
map.remove("editable");
map.remove("readOnly");
addToMap(map, "url", this.url);
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class TiledMultipleGriddedElevationModelLayerRenderer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
final List<RasterizerGriddedElevationModelLayerRenderer> renderers = getRenderers();
if (!renderers.isEmpty()) {
final List<Map<String, Object>> rendererMaps = new ArrayList<>();
for (final RasterizerGriddedElevationModelLayerRenderer renderer : renderers) {
rendererMaps.add(renderer.toMap());
}
addToMap(map, "styles", rendererMaps);
}
addToMap(map, "minZ", this.minZ);
addToMap(map, "maxZ", this.maxZ);
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class BoundingBoxRecordLayer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
map.remove("style");
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class FileRecordLayer method toMap.
@Override
public MapEx toMap() {
final MapEx map = super.toMap();
addToMap(map, "url", this.url);
return map;
}
use of com.revolsys.collection.map.MapEx in project com.revolsys.open by revolsys.
the class RecordDefinitionSqlFilter method toMap.
@Override
public MapEx toMap() {
final MapEx map = new LinkedHashMapEx();
addTypeToMap(map, "sqlFilter");
map.put("query", this.query);
return map;
}
Aggregations