Thursday, October 15, 2009

Re: Plot points when user zooms in

On Oct 15, 6:44 am, aidema <idesd...@gmail.com> wrote:
> The html is fine but thank you for the validator.  That is off topic
> so we can address that once I'm out of test mode.  The html doesn't
> impact the topic at hand.
>
> Thank you for identifying what is wrong but I'm not sure this helps.
> I need to understand why CreateGSMarkers isn't returning anything.

That is what you wrote it to do. It does create a global array that
you could return a reference to or pass in to the mgr.addMarkers call:

CreateGSMarkers();
mgr.addMarkers(guideservice_markers, 9);

-- Larry


>
> On Oct 14, 3:50 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
>
> > On Oct 14, 2:04 pm, aidema <idesd...@gmail.com> wrote:
>
> > > I have the min and max working correctly now.  (Searched the Maps API
> > > group and found solution)
>
> > > However, I declared the array globally and still do not have any
> > > points plotting correctly.  There are no errors being thrown by the
> > > browser so I'm not sure how to proceed.
>
> > your html is completely invalid:http://validator.w3.org/check?uri=http%3A%2F%2F199.134.225.62%2Fiteam...
>
> > 1. Nothing calls FFCMapMarkers
> > 2. Once you do call it, CreateGSMarkers() doesn't return anything so
> > this line fails:
> > mgr.addMarkers(CreateGSMarkers(), 9);
>
> >   -- Larry
>
> > > On Oct 14, 2:52 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
>
> > > > > 1 - The pins I've plotted are not displaying
>
> > > > function CreateGSMarkers() {
> > > >     var guideservice_markers = [];
>
> > > > That array only has meaningful existence within the function; it is a
> > > > local variable.  As you want to use this array once it is populated in
> > > > the manager, you probably want to set it as a global variable like you
> > > > did with 'map'.http://econym.org.uk/gmap/scope.htm
>
> > > > > 2 - I tried to control the max and min zoom with mgr = new
> > > > > MarkerManager(map, mgrOptions);
>
> > > > The options are not currently present in your example.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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


Real Estate