gives the country entity for the current setting for $GeoLocation.


open allclose all

Basic Examples  (1)

Find your geodetic coordinates:

Show the country for those coordinates:

Draw a map:

Applications  (2)

Find the distance from your current location to the border of the country, returned as a negative value:

Find the first-level administrative divisions of the country of your current location:

Find more data about the country:

Properties & Relations  (3)

$GeoLocationCountry gives the nearest country to your current $GeoLocation:

$GeoLocationCity gives the nearest city to your current $GeoLocation:

$GeoLocationCountry performs a GeoNearest call to find the nearest country to your current location:

Block temporarily the value of $GeoLocation to simulate that you are located at that position:

$GeoLocationCountry is automatically set, even if $GeoLocation is at sea:

Reset your current $GeoLocation:

Possible Issues  (1)

$GeoLocationCountry cannot be set independently of $GeoLocation:

Instead, set $GeoLocation to a location included in that country:

Then $GeoLocationCountry will be automatically set:

Restore your current $GeoLocation:

Introduced in 2014