On Nov 29, 9:23 am, Adam Davidson <[email protected]> wrote:
> So I need a seperate marker variable for each location?

or a createMarker function to give you function closure on the markers
variables.

>
> How would I better load multiple locations, each with a description
> and link?

I would use a createMarker function as illustrated in Mike Williams'
tutorial.  I would use xml as a data source and include the lat/lng
coordinates for each known location.

Take a look at some of the other examples in his tutorial.

>
> Apologies if these seem rather "basic" questions, as I'm new to the
> API, and so am muddling my way through from bits of code found on the
> internet.

No problem.

  -- Larry

>
> On Nov 29, 5:08 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Nov 29, 8:51 am, Adam Davidson <[email protected]> wrote:
>
> > > URL:http://www.ukgarrison.co.uk/_test/cal.php?mode=eventmap
>
> > > Hi,
>
> > > I'm trying to create a dynamic list of markers, which are pulled from
> > > my database using a PHP mysql lookup, then sent to AJAX to do a
> > > postcode search, and then fired into the map. The php aside, what is
> > > bothering me at the moment, is that when I try to draw multiple
> > > markers, it's putting them all in the right place, but using the title
> > > from the very last function call I make.
>
> > > I'm also trying to add hyperlinks to these markers, but couldn't
> > > figure that out either... I figured one step at a time, right?
>
> > > If anyone can help me with this, I would be eternally grateful. Any
> > > idas?
>
> > Sounds suspiciously like pitfall #3
> > The Basics - Part 1 Markers with info 
> > windowshttp://econym.org.uk/gmap/basic1.htm
>
> > also,  geocoding multiple points on page load is bad practice and
> > wastefull of google's resources.  geocoding is subject to quotas and a
> > rate limit, so may break unexpectedly.
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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