smidwin / gmaps-api-as3

Automatically exported from code.google.com/p/gmaps-api-as3
0 stars 0 forks source link

GeocoderResult.geometry.location.lat() always returns NaN #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Modify the example provided in Main.as
2. In method addFinded, try to print the latitude of any given GeocodeResult

What is the expected output?
The longitude of the GeocodeResult entry

What do you see instead?
NaN

What version of the product are you using? On what operating system?
Maps_beta_2.swc (Aug 8)

Please provide any additional information below.
The longitude method works.
trace(results[0].geometry.location.lat()); // NaN
trace(results[0].geometry.location.lng()); // the longitude value

Original issue reported on code.google.com by tabonecl...@gmail.com on 11 Jan 2013 at 5:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Environment details for this issue: CS5.5 running on AIR for Android (AIR 3.5, 
Android 2.3.7)

Also discovered that results[0].geometry.location.lng() actually returns 
returns the latitude value instead of the longitude.

Original comment by tabonecl...@gmail.com on 11 Jan 2013 at 5:12

GoogleCodeExporter commented 8 years ago
Hello sir, 

When i find latitude and longitude of particular address , it will return 
always NULL. 

Please suggest me of any alternative solution exit or issue solutions. 

Original comment by patida...@gmail.com on 4 Apr 2013 at 5:41