MapAttribution Class

  • java.lang.Object
    • com.azure.maps.render.models.MapAttribution

Implements

public final class MapAttribution
implements JsonSerializable<MapAttribution>

Copyright attribution for the requested section of a tileset.

Constructor Summary

Constructor Description
MapAttribution()

Creates an instance of MapAttribution class.

Method Summary

Modifier and Type Method and Description
static MapAttribution fromJson(JsonReader jsonReader)

Reads an instance of MapAttribution from the JsonReader.

List<String> getCopyrights()

Get the copyrights property: A list of copyright strings.

MapAttribution setCopyrights(List<String> copyrights)

Set the copyrights property: A list of copyright strings.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

MapAttribution

public MapAttribution()

Creates an instance of MapAttribution class.

Method Details

fromJson

public static MapAttribution fromJson(JsonReader jsonReader)

Reads an instance of MapAttribution from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MapAttribution if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MapAttribution.

getCopyrights

public List<String> getCopyrights()

Get the copyrights property: A list of copyright strings.

Returns:

the copyrights value.

setCopyrights

public MapAttribution setCopyrights(List<String> copyrights)

Set the copyrights property: A list of copyright strings.

Parameters:

copyrights - the copyrights value to set.

Returns:

the MapAttribution object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to