Wednesday, May 26, 2010

Re: Linking to specific marker/info window

Granted adapting to Mike's code is what I tried to do, so based on my
XML data, I used 'title' which is a unique identifier, so trued this
link:

http://www.ucl.ac.uk/admission/virtual-tours/googlemaps-test37.html?title=Bloomsbury%20Theatre

However this didn't work, so then I tried 'menu':

http://www.ucl.ac.uk/admission/virtual-tours/googlemaps-test37.html?menu=Gordon%20Square

I am trying to figure out how to create an alternate tag that will
work, but seem to be coming up against a wall. Any pointers from
anyone would be appreciated.

On May 26, 6:19 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > I have an XML file that has been created in the format below, and
> > would like to link to specific markers.  I have seen on Mike William's
> > page that you can use variables like: example_linktomarker.htm?
> > marker=1  , however, what happens when you don't have any <marker>
> > tags?
>
> If you can't tell one chunk of data from another, you have no way of
> linking to it.
> In your XML, you have an attribute called 'title'.  If that's always
> unique, you might use that instead.
> If 'title' isn't always unique, you are going to have to find or
> invent something that is.
> Mike's example is just that, an example ; most people would need to
> tailor it to fit their own application.

--
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