Polygon admin boundaries in GS7 workaround

Polygon admin boundaries in GS7 workaround

GS7 currently does not support polygon boundaries for admin areas returned in the response.

Currently the work around to retrieve the admin boundaries is to make an additional call to the map attributes API with the coordinates returned by the geocoder and retrieve all of the admin polygons - for example:

https://smap.hereapi.com/v8/maps/attributes?layers=ADMIN_POLY_0,ADMIN_POLY_1,ADMIN_POLY_2,ADMIN_POLY_8,ADMIN_POLY_9∈=proximity:52.47892,-1.90592;r=300&apikey=API_KEY

The result with then have to be parsed and the names of the admins inspected to see which one matches the result in the geocoder response.