On Oct 2, 3:19 pm, moos3 <[EMAIL PROTECTED]> wrote:
> can't i use the points in the first set?

You can, but you probably want to do it inside your loop:
        map.addOverlay(marker);
                if (i==0) map.setCenter(point, 13);
As right now that is the only place that information exists (you will
probably want a global array of markers to implement the sidebar when
you get to it, as well as a global map variable).

  -- Larry

>
> On Oct 2, 10:50 am, Ralph Ames <[EMAIL PROTECTED]> wrote:
>
>
>
> > >that work now i just need to fix the centering on a first point on
> > >document
>
> > Change the coordinates on this line
> > map.setCenter(new GLatLng(37.4419, -122.1419), 13);
>
> > Remove this
> > map.setCenter(point[0],13);
>
> > Ralph- 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 [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