On Jul 28, 8:34 am, ss ss <[email protected]> wrote:
> Dear Larry,
>                 I am a bit cofuse actually it it that we can set accuracy or
> the google service will tell us what accuracy it has searched for us. I saw
> the different accuracy values at this link

What are you confused about?

If you use the GClientGeocoder.getLatLng:
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GClientGeocoder.getLatLng
you don't get that information.

If you use the GClientGeocoder.getLocations:
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GClientGeocoder.getLocations
"This response will contain a Status code, and if successful, one or
more Placemark objects."
The Placemark objects contain the Accuracy field:
    "Accuracy": 6,


  -- Larry


> http://code.google.com/apis/maps/documentation/javascript/v2/referenc...
> .Thank
> you.
>
> On Wed, Jul 28, 2010 at 2:48 AM, [email protected]
> <[email protected]>wrote:
>
>
>
> > On Jul 27, 10:08 am, ss ss <[email protected]> wrote:
> > > Dear Larry,
> > >                 Thank you for the link. I would like to find how can I
> > > include the accuracy value into this method. Thank you.
>
> >http://code.google.com/apis/maps/documentation/javascript/v2/referenc...
>
> > Allows access to that field (and can return either one or zero
> > results).
>
> >http://code.google.com/apis/maps/documentation/javascript/v2/referenc...
>
> > Does not (returns the first result of getLocations or null).
>
> >  -- Larry
>
> > > On Tue, Jul 27, 2010 at 11:45 PM, [email protected] <
> > [email protected]
>
> > > > wrote:
> > > > On Jul 27, 8:41 am, ss <[email protected]> wrote:
> > > > > Dear All,
> > > > >              I have been using the function below to focus my map to
> > > > > the searched address. It works well for most of the address
> > > > > surpisingly if I key address like Jalan SS23/11 or Jalan SS2 it give
> > > > > me address not found. But if I try the same address onhttp://
> > > > maps.google.com.my
> > > > > it shows. So what can be my problem? Thank you.
>
> > > >http://code.google.com/apis/maps/faq.html#geocoder_differences
>
> > > >  -- Larry
>
> > > > >               function showAddress() {
> > > > >               //alert("TEST:"+document.form2.address.value);
>
> > > > >               var inputAddress = document.form2.address.value;
> > > > >               if (geocoder) {
> > > > >                geocoder.getLatLng(
> > > > >                inputAddress,
> > > > >                function(point) {
> > > > >                if (!point) {
> > > > >                 alert(inputAddress + " not found");
> > > > >                } else {
> > > > >                     var pointString = point.toString();
> > > > >                     //alert("pointString : "+pointString);
> > > > >                     var arrayPoint1Split = pointString.split("(");
>
> > var
> > > > arrayPoint2Split=arrayPoint1Split[1].split(")");
>
> > var
> > > > arrayPoint3Split=arrayPoint2Split[0].split(",");
>
> > > > //alert("Point"+arrayPoint3Split[1]);
> > > > >                     map.setCenter(new
> > > > > OpenLayers.LonLat(arrayPoint3Split[1],
> > > > > arrayPoint3Split[0]).transform(srcEPSG, destEPSG), 15);
>
> > > > >                  }
> > > > >                 }
> > > > >               );
> > > > >              }
> > > > >             }
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Maps API" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-maps-api%2bunsubscr...@­googlegroups.com>
> > <google-maps-api%2bunsubscr...@­googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-maps-api?hl=en.-Hide quoted text
> > -
>
> > > - Show quoted text -
>
> > --
> >  You received this message because you are subscribed to the Google Groups
> > "Google Maps API" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-maps-api%2bunsubscr...@­googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to