001package net.filebot.web;
002
003import java.util.Map;
004
005public interface Geocode {
006
007        Map<AddressComponent, String> locate(double latitude, double longitude) throws Exception;
008
009        enum AddressComponent {
010                country, administrative_area_level_1, administrative_area_level_2, administrative_area_level_3, administrative_area_level_4, sublocality, neighborhood, route;
011        }
012
013}