Yes! I tried putting quotation but without result. I attach an example json file where you find encoded zip codes of three Italian cities (Rome, Genova, Bari): only for Rome I do not obtain any addresslatLng.

Giuseppe

----- Original Message ----- From: "David Huynh" <[EMAIL PROTECTED]>
To: "General List" <[email protected]>
Sent: Sunday, May 13, 2007 5:11 AM
Subject: Re: Rome addresslatLng?


Giuseppe,

How are you encoding 00100 in your JSON file? Have you tried putting
quotation marks around it so that it's interpreted as a string instead
of as the number 100?

David


Giuseppe Bux wrote:
Hi!
I'am looking up for addressLatlng of italian cities, by providing the
Schools.html in http://simile.mit.edu/wiki/Exhibit/Map_View  with
Json data of the Italian zip codes.

Zip codes of italian cities begin all with  a >0 number, (ex. Bari, I
70100)  except for Rome that has the  I 00100 zip code. It seems that
this exception is not managed by the function getLatLng (), because
only for Rome the function do not return any adressLatLng value: How
can I obtain it? I changed the accuracy level of geocoding but without
result.

Thanks in advance,
Giuseppe
------------------------------------------------------------------------

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
{
types: {
 "Location": {
   pluralLabel: "Locations"
       }
     },
      items: [
{ type: "Location",
              label:      "Rome",
              address:    "I 00100"
             },
{ type: "Location",
              label:      "Bari",
              address:    "I 70100"
             },
{ type: "Location",
              label:      "Genova",
              address:    "I 16100"
             }
           ]
         }
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to