Package world.mappable.mapkit

Class Attribution

java.lang.Object
    ↳ world.mappable.mapkit.Attribution

class Attribution implements Serializable

Details about the source of information.

Nested Class Summary

Modifier and Type

Interface

Description

static

Author

static

Link

Summary

Constructors

Signature and Description

Attribution()
Use constructor with parameters in your code.

Attribution(@Nullable Author author,
            @Nullable Link link,
            @Nullable Image avatarImage)

Methods

Type and modifiers

Method and Description

synchronized Author

getAuthor()
Additional information about the author.

synchronized Link

getLink()
Link to a specific page on the author's site.

synchronized Image

getAvatarImage()
Optional field, can be null.

void

serialize(world.mappable.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

Attribution

Attribution()

Use constructor with parameters in your code.

This one is for serialization only!


Attribution(@Nullable Author author,
            @Nullable Link link,
            @Nullable Image avatarImage)


Methods

getAuthor

@Nullable
Author getAuthor()

Additional information about the author.

Optional field, can be null.


@Nullable
Link getLink()

Link to a specific page on the author's site.

To link to the website as a whole, use author.uri.

Optional field, can be null.


getAvatarImage

@Nullable
Image getAvatarImage()

Optional field, can be null.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()