On Oct 15, 5:33 am, cjs <[email protected]> wrote:
>
> //functions that handle the general locator buttons
> function someButton() {
> //need to set the lat/long values!!!!
> map.addOverlay(marker);
> }

Because you haven't provided a link to your page, we can't see how you
are calling "someButton"; but this would work, assuming you can pass
parameters:

function someButton(lat,lng) {
  marker.setLatLng(lat,lng);
  map.addOverlay(marker);
  }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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