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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to