asGeoJson method

String asGeoJson()

Implementation

String asGeoJson() {
  return "{\"type\":\"" +
      getGeoJsonType() +
      "\",\"coordinates\":" +
      getJsonCoordinatePairs() +
      "}";
}