On Nov 7, 7:55 pm, Junsuk Bang <
jsb...@sphinfo.co.kr> wrote:
> Hi,
>
> During making an example using markerclusterer library, I found that any of
> functions in this object was not working.
>
> Here is my example, which allows you to set a marker at the point you
> clicked.
> Then, What I'm trying is that markerclusterer automatically clusts all the
> points User clicked.
>
>
http://www.sphinfo.co.kr/sample/2011-11-07_Marker_clustering_example....
>
> However, My Google Chrome devepoling tool said that functions I used, such
> as addMarker() and clearMarkers(), cannot be called.
That is because the one that you declare in your initialize function
is local to the initialize function (the "var" keyword in there re-
declares it in the local scope).
-- Larry
>
> "Cannot call method "addMarker" of undefined" This is what it exactly said.
>
> FYI, I have used libraries for v3,
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker...,