Of course, I am just not sure where to start.

Much of the documentation says that I should use the client-side
geocoding to avoid the daily 2500 request limit.

Sometimes I see examples like this:

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 14);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              marker.openInfoWindowHtml(address + "<br>Long: " +
point.x + "<br>Lati:  " + point.y);

              document.getElementById("show_x").innerHTML = point.x;
                  document.getElementById("show_y").innerHTML = point.y;
                  document.getElementById("zoom_new").innerHTML = 14;
            }
          }
        );
      }
    }

but it doesn't seem to work for me.  The marker from the passed
address never gets displayed if I call this function from initialize()
Is there something that needs to get configured to make it work?

Thanks,
Alex

On Dec 21, 12:10 am, Rossko <[email protected]> wrote:
> > I have been looking for examples, but they mostly involve relatively
> > complex AJAX an JSON code.
>
> geocoding is an AJAX based process.  JSON is a convenient way to
> present its results.  Getting the data to your database is probably
> going to be an AJAX process.
>
> Don't be put off because the examples contain techniques that may not
> be familiar to you (yet), just learn to use them.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to