Package io.goobi.viewer.model.maps
Class Location
java.lang.Object
io.goobi.viewer.model.maps.Location
- All Implemented Interfaces:
Serializable
A location on a map. Contains a long/lat points, a label and a link
- Author:
- Florian Alpers
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Location
- Parameters:
area- geographic area of the locationlabel- display label for the locationuri- URI linking to the associated record or resource
-
-
Method Details
-
getRecordURI
- Parameters:
pi- persistent identifier of the recordpageType- viewer page type for the generated URIurlBuilder- If not null, the URL will be build using the URL builder, otherwise manually- Returns:
URI
-
getArea
-
getLabel
-
getLink
-
getGeoJson
-
equals
-
hashCode
public int hashCode()
-