public class GoogleMapsUtils
extends java.lang.Object
| Constructor and Description |
|---|
GoogleMapsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.math.BigDecimal |
calculateHaversineDistance(double userLat,
double userLng,
double venueLat,
double venueLng) |
static DrivingDirections |
getDrivingDirections(org.tiogasolutions.dev.domain.locality.LatLng locationA,
org.tiogasolutions.dev.domain.locality.LatLng locationB) |
static org.tiogasolutions.dev.domain.locality.LatLng |
getLatLng(java.lang.String address,
java.lang.String city,
org.tiogasolutions.dev.domain.locality.State state,
java.lang.String zip) |
static org.tiogasolutions.dev.domain.locality.LatLng |
getLatLng(java.lang.String address,
java.lang.String city,
java.lang.String state,
java.lang.String zip) |
static java.math.BigDecimal |
getMilesByGoogle(org.tiogasolutions.dev.domain.locality.LatLng locationA,
org.tiogasolutions.dev.domain.locality.LatLng locationB) |
static java.math.BigDecimal |
getMilesByLatLng(org.tiogasolutions.dev.domain.locality.LatLng locationA,
org.tiogasolutions.dev.domain.locality.LatLng locationB) |
public static java.math.BigDecimal getMilesByGoogle(org.tiogasolutions.dev.domain.locality.LatLng locationA,
org.tiogasolutions.dev.domain.locality.LatLng locationB)
throws java.io.IOException
java.io.IOExceptionpublic static java.math.BigDecimal getMilesByLatLng(org.tiogasolutions.dev.domain.locality.LatLng locationA,
org.tiogasolutions.dev.domain.locality.LatLng locationB)
public static DrivingDirections getDrivingDirections(org.tiogasolutions.dev.domain.locality.LatLng locationA, org.tiogasolutions.dev.domain.locality.LatLng locationB) throws java.io.IOException
java.io.IOExceptionpublic static java.math.BigDecimal calculateHaversineDistance(double userLat,
double userLng,
double venueLat,
double venueLng)
public static org.tiogasolutions.dev.domain.locality.LatLng getLatLng(java.lang.String address,
java.lang.String city,
org.tiogasolutions.dev.domain.locality.State state,
java.lang.String zip)
throws java.io.IOException
java.io.IOExceptionpublic static org.tiogasolutions.dev.domain.locality.LatLng getLatLng(java.lang.String address,
java.lang.String city,
java.lang.String state,
java.lang.String zip)
throws java.io.IOException
java.io.IOException