public class GeoService extends Service
A GeoJSON service (http://iiif.io/api/annex/services/#geojson).
Initialize it either with an URL to a GeoJSON resource that identifies the linked location, or pass a Feature object that defines the location.
| Constructor and Description |
|---|
GeoService() |
GeoService(org.geojson.Feature feature) |
GeoService(String identifier) |
GeoService(String identifier,
org.geojson.Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
org.geojson.Feature |
getFeature() |
String |
getType() |
addProfile, addProfile, getContext, getIdentifier, getLabel, getLabelString, getProfiles, setContext, setIdentifier, setLabel, setLabel, setProfilespublic static final String CONTEXT
public GeoService()
public GeoService(String identifier)
public GeoService(org.geojson.Feature feature)
public GeoService(String identifier, org.geojson.Feature feature)
public String getType()
public org.geojson.Feature getFeature()
Copyright © 2018. All rights reserved.