com.maxmind.geoip

## Class Location

- java.lang.Object
- - com.maxmind.geoip.Location

-     public class Location
      extends Object

  Represents geographical location data including coordinates and address information.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `area_code`
    `String` | `city`
    `String` | `countryCode`
    `String` | `countryName`
    `int` | `dma_code`
    `float` | `latitude`
    `float` | `longitude`
    `int` | `metro_code`
    `String` | `postalCode`
    `String` | `region`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Location()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `distance(Location loc)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### area_code

          public int area_code

    - #### city

          public String city

    - #### countryCode

          public String countryCode

    - #### countryName

          public String countryName

    - #### dma_code

          public int dma_code

    - #### latitude

          public float latitude

    - #### longitude

          public float longitude

    - #### metro_code

          public int metro_code

    - #### postalCode

          public String postalCode

    - #### region

          public String region

  - ### Constructor Detail

    - #### Location

          public Location()

  - ### Method Detail

    - #### distance

          public double distance(Location loc)