I'm really tired from looking into https://developers.google.com/maps/. I have no luck or I am blind i have no clue how to solve my problem.
So I want use reverse geocoding for more specific data in address_component:
https://maps.googleapis.com/maps/api/geocode/json?latlng=49.5014564,18.8833393&result_type=administrative_area_level_1&key=api_key - this works perfect, but I have no idea how to set optional result_type using geocoder API
geocoder.geocode ({
Location: latlng,
Result_type: "administrative_area_level_1" // ???? i just don't know
},
Function (results, status)
{
// check status etc...
} });
Thx for advice, or hint or whatever.