Thank-you for this - your explanation regarding locations and adding
attributes makes a lot of good sense, and the JQuery Accordion menu is
just what I was looking for, and has been very easy to implement,
thank-you (working example, with a slightly tweaked video marker:
http://www.ucl.ac.uk/study/virtualtours).
If I was to go on to include additional content, such as images etc.,
would it be relatively easy to include additional icons too, so, for
example, on line 14 of the page code, you have
var camera;
..if I add:
var gallery;
and then at line 61 add 'icon: image' to the line:
var marker = new GMarker(point, {title: title, icon:camera,
icon:gallery});
and finally, around line 149 - 154, add another section:
gallery = new GIcon(G_DEFAULT_ICON);
gallery.image = "ucl-video.png";
gallery.iconSize = new GSize(32,37);
gallery.iconAnchor = new GPoint(16,35);
gallery.infoWindowAnchor = new GPoint(16,2);
addMarkersToMap();
Is it too long-winded to do it this way, or is thee a tidier way of
doing this?
Now that we are going into JQuery territory, would it be possible to
add tabs to this equation without knocking the code out:
http://econym.org.uk/gmap/example_map10.htm ?
At the beginning of this project, I had originally had only the UCL
Map visible, and had also limited the range of the map to stay within
the central London district of UCL (see the limit to range of zoom
levels here: http://econym.org.uk/gmap/example_range.htm), would it
still be possibel to do this with what we have now without upsetting
the smooth struture of code we have now?
Thanks
Gray
--
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.