Re: 'MarkerClusterer' is undefined
On Jul 20, 5:46 am, novitonics <novit...@gmail.com> wrote:
> Hello
>
> I'm trying to use this class to group many markers up. The problem
> is that when I make the call to initialize my marketCluster, the
> debugger comes back with a message saying:
> Error: 'MarkerCluster' is undefined
> It seems that the line which is giving the error is the constructor of
> MarkerCluster. It's as if it doesn't recognize the class and therefor
> can't create objects of the type MarkerCluster.
>
> My question is: do I have to Import/Include any library/reference to
> any specific API class in order to be able to use it?
Yes. The markerClusterer is not part of the API. You have to load
that script (after you load the API script).
-- Larry
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home