public final class OldAPILayerConverter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
convert(PJsonObject oldLayer,
OldApiConfig oldApi)
Convert a layer definition of the old API.
|
public static org.json.JSONObject convert(PJsonObject oldLayer, OldApiConfig oldApi) throws org.json.JSONException
oldLayer - the old layer definitionoldApi - configuration for oldApi to newAPI conversionorg.json.JSONException