Class ST_GoogleMapLink
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.convert.ST_GoogleMapLink
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_GoogleMapLink extends org.h2gis.api.DeterministicScalarFunction- Author:
- Erwan Bocher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classST_GoogleMapLink.LayerTypeList of supported layers for Google Map
-
Constructor Summary
Constructors Constructor Description ST_GoogleMapLink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgenerateGMLink(org.locationtech.jts.geom.Geometry geom)Generate a Google Map link URL based on the center of the bounding box of the input geometrystatic StringgenerateGMLink(org.locationtech.jts.geom.Geometry geom, String layerType)Generate a Google Map link URL based on the center of the bounding box of the input geometry and set the layer typestatic StringgenerateGMLink(org.locationtech.jts.geom.Geometry geom, String layerType, int zoom)Generate a Google Map link URL based on the center of the bounding box of the input geometry.StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
generateGMLink
public static String generateGMLink(org.locationtech.jts.geom.Geometry geom)
Generate a Google Map link URL based on the center of the bounding box of the input geometry- Parameters:
geom-- Returns:
-
generateGMLink
public static String generateGMLink(org.locationtech.jts.geom.Geometry geom, String layerType)
Generate a Google Map link URL based on the center of the bounding box of the input geometry and set the layer type- Parameters:
geom-layerType-- Returns:
-
generateGMLink
public static String generateGMLink(org.locationtech.jts.geom.Geometry geom, String layerType, int zoom)
Generate a Google Map link URL based on the center of the bounding box of the input geometry. Set the layer type and the zoom level.- Parameters:
geom-layerType-zoom-- Returns:
-
-