Asiya20 / gmlibrary

Automatically exported from code.google.com/p/gmlibrary
0 stars 0 forks source link

TGeoResult.Geometry.LocationType is always gltNothing #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Geocode an address that you know has gltRooftop geocoding quality. 
2. Query the LocationType of the GeoResult.
3. It is always gltNothing.

The reason for this behaviour is that the function "StrToGeocoderLocationType" 
compares the String "GeocoderLocationType" to the (uppercase) strings 
"Approximate", "Geometric_Center", "Range_Interpolated" and so on. But Google 
does provide the LocationType as "gltApproximate", "gltGeometric_Center", 
"gltRange_Interpolated" etc. (see also the KML output of the result). So it's 
simply about adding the prefix "GLT" to the strings.

Original issue reported on code.google.com by ma...@chronicles-music.com on 27 Oct 2014 at 9:10

GoogleCodeExporter commented 8 years ago

Original comment by cadet...@gmail.com on 2 Nov 2014 at 9:52

GoogleCodeExporter commented 8 years ago
fixed into new release

Original comment by cadet...@gmail.com on 29 Jul 2015 at 9:47