It is explained in the source code of this link.

http://www.replyat.com/gadgetintro.asp




On Thu, Apr 11, 2013 at 11:40 AM, Developer <[email protected]> wrote:

> Thank you very much! It worked!
>
> El miércoles, 10 de abril de 2013 22:18:44 UTC+2, barryhunter escribió:
>>
>> See the documentation for the geocoder
>>
>> https://developers.google.com/**maps/documentation/javascript/**
>> geocoding#GeocodingResults<https://developers.google.com/maps/documentation/javascript/geocoding#GeocodingResults>
>>
>> the 'codeAddress' function on that page also almost the same as your
>> function.
>>
>>
>> (dont see a getPosition function in relation to the geocoder)
>>
>>
>>
>> On Wed, Apr 10, 2013 at 5:05 PM, Developer <[email protected]> wrote:
>>
>>> Hello,
>>> I've migrated almost everything to V3 but I don't know how to migrate this 
>>> code. I know I have to replace getLatLng for getPosition but I have 
>>> problems replacing function(point) to the apropiated code.
>>>
>>> Can someone help me, please?
>>>
>>> function showAddress(address) {
>>>   if (geocoder) {
>>>     geocoder.getLatLng(
>>>       address,
>>>       function(point) {
>>>         if (!point) {
>>>           //alert(address + " not found");
>>>         } else {
>>>           var zoom = 15;
>>>           map.setCenter(point, zoom);
>>>           var marker = new GMarker(point);
>>>           map.addOverlay(marker);
>>>           marker.openInfoWindowHtml("**Some text");
>>>
>>>         }
>>>       }
>>>     );
>>>   }
>>> }
>>>
>>> Thank you in advance.
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Maps API V2" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-maps-a...@**googlegroups.com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to