class LatLongEnhancer {

  public MapPoint getNyspPoint(Map<String, Object> geocodingResult, LatLongConfig config)
  {
    MapPoint mapPoint = new MapPoint();
    if (geocodingResult.containsKey(config.getXCoordInputName()) && geocodingResult.containsKey(config.getYCoordInputName()))
    {
      mapPoint.setX(doubleValueOf(geocodingResult.get(config.getXCoordInputName())));
      mapPoint.setY(doubleValueOf(geocodingResult.get(config.getYCoordInputName())));
    }
    return mapPoint;
  }

}