Hello Larry,

thanks for all your help.
I've managed to geocode the city, country with the script bellow. The point
variable gives me the latitude and longitude value, but I can“t find a way
to send that value into my database.
How can I pass that point variable value to ASP so I can insert it in my
database.
Once again, if you could help me out I would apreciate.


*<script src="
http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAUP45hVJHIvR5fcNuYCRsmxRHf3y43ZI-p_2SAeiMWxM_190nbBRn7NZuvHVl2XgH1VwYlop2fyPnNQ";
type="text/javascript"></script>

    <script type="text/javascript">

    var map = null;
    var geocoder = null;

    function initialize(address) {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
        geocoder = new GClientGeocoder();

    if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 10);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              alert(point);
            }
          }
        );
      }
      }
    }

    initialize('<%=cidade%>, <%=pais%>')

    </script>*

--

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=.


Reply via email to