Pinpoint
Pinpoint
Type: public
class
A class that defines a pinpoint
Pinpoint(int id, @NonNull String name, @NonNull Coordinates coordinates)
Type: public
Create a Wemap Pinpoint
Parameter Name | Type | Description |
---|---|---|
id | int | the pinpoint id |
name | @NonNull | the pinpoint name |
coordinates | @NonNull | the pinpoint coordinates |
Pinpoint(int id, @NonNull String name, @NonNull Coordinates coordinates, @Nullable String description, @Nullable String imageUrl, @Nullable String linkUrl, @Nullable String [] tags)
Type: public
Create a Wemap Pinpoint
Parameter Name | Type | Description |
---|---|---|
id | int | the pinpoint id |
name | @NonNull | the pinpoint name |
coordinates | @NonNull | the pinpoint coordinates |
description | @Nullable | the pinpoint description |
imageUrl | @Nullable | the pinpoint image url |
linkUrl | @Nullable | the pinpoint link url |
tags | @Nullable | the pinpoint tags |
Pinpoint(int id, @NonNull String name, @NonNull Coordinates coordinates, @Nullable String description, @Nullable String imageUrl, @Nullable String linkUrl, @Nullable String [] tags, @Nullable JSONObject externalData)
Type: public
Create a Wemap Pinpoint
Parameter Name | Type | Description |
---|---|---|
id | int | the pinpoint id |
name | @NonNull | the pinpoint name |
coordinates | @NonNull | the pinpoint coordinates |
description | @Nullable | the pinpoint description |
imageUrl | @Nullable | the pinpoint image url |
linkUrl | @Nullable | the pinpoint link url |
tags | @Nullable | the pinpoint tags |
externalData | @Nullable | the pinpoint externalData |
getId()
Type: public
int
Get the pinpoint id.
Returned Value: the id
getName()
Type: @NonNull
public
[String](https://developer.android.com/reference/java/lang/String)
Get the pinpoint name.
Returned Value: the name
getLatLngAlt()
Type: @NonNull
public
[Coordinates](/docs/android/Model/Coordinates)
Get the pinpoint coordinates.
Returned Value: the coordinates
getAddress()
Type: @Nullable
public
[String](https://developer.android.com/reference/java/lang/String)
Get the pinpoint address.
Returned Value: the address
getDescription()
Type: @Nullable
public
[String](https://developer.android.com/reference/java/lang/String)
Get the pinpoint description.
Returned Value: the description
getImageUrl()
Type: @Nullable
public
[String](https://developer.android.com/reference/java/lang/String)
Get image url
Returned Value: the image url
getLinkUrl()
Type: @Nullable
public
[String](https://developer.android.com/reference/java/lang/String)
Get link url
Returned Value: the link url
getTags()
Type: @NonNull
public
Get the tags
Returned Value: the pinpoint tags
getExternalData()
Type: @NonNull
public
JSONObject
Get the external data.
Returned Value: the external data.
getGeoEntityShape()
Type: @Nullable
public
JSONObject
Get the geo entity shape
Returned Value: the geo entity shape