Without knowing exactly what you're trying to do, it should be sufficient to 
call map.clearOverlays() and recall map.setCenter with your initial center 
point, zoom level and map type. If your map is more complex, you could just 
recall your initialization function. Use GEvent.addListener to establish your 
click listener. For more information about pretty much all of this, you can 
check in the docs:

http://code.google.com/apis/maps/documentation/reference.html

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Feb 20, 2010, at 8:20 AM, Nishit Soni wrote:

> Hi,
> 
> I want to reload the google map onclick event using javascript.
> 
> Please let me know what do I need to do.
> 
> 
> Thanks
> Nishit Soni
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to