Interface GeoDataSerializer

    • Method Detail

      • serialize

        GeoDataOutput serialize​(GeoPoint point)
        Serialize the {@see GeoPoint} object into a formated string
        Parameters:
        point - a {@see GeoPoint} object
        Returns:
        a formatted string contains GeoPoint data, normally include just lng and lat values
      • serialize

        GeoDataOutput serialize​(GeoPath path)
        Serialize the the GeoPath object into formatted string.
        Parameters:
        path - a GeoPath object
        Returns:
        a formatted string contains an array of GeoPoint data
      • serialize

        GeoDataOutput serialize​(GeoPolygon polygon)
        Serialize the GeoPolygon object into a formatted string.
        Parameters:
        polygon - a GeoPolygon object
        Returns:
        a formatted string contains an array of rings of points.