Ok that did work but I should have been more clear on my ultimate
intentions. I'd also like to eventually extend this concept to the
other 25 locations so I'm assuming that I need to find a way to pass
the title to the function.

I declared a variable: var title = {title: 'GCE'}

and then added that variable to the function (in with the GMarker
part):

function createTabbedMarker(point,htmls,labels) {
        var marker = new GMarker(point, title);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowTabsHtml([new GInfoWindowTab(label1,html1),
new GInfoWindowTab(label2,html2)]);
        });
       return marker;
      }

Seemed logical, but what do I know ?! Now the map won't render
properly.



On Aug 3, 12:50 pm, Grok Lobster <[email protected]> wrote:
> It belongs in the createTabbedMarker function where the marker is
> created
>
> var marker = new GMarker(point);
>
> should be
>
> var marker = new GMarker(point, {title:GCE});
>
> On Aug 3, 9:33 am, JPC <[email protected]> wrote:
>
> > Hi Grok,
>
> > Thanks for the quick reply. I've tried it in two places:
>
> > map.addOverlay(marker9, {title: 'GCE'});
>
> > and
>
> > var marker9 = createTabbedMarker(point, [...], [...], {title:
> > 'GCE'});
>
> > Neither of which did it. Am I hot or cold?
>
> > On Aug 3, 12:06 pm, Grok Lobster <[email protected]> wrote:
>
> > > You've got the title for that marker in with the point declaration,
> > > not the marker.
>
> > > On Aug 3, 8:52 am, JPC <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I'm attempting to implement thetabbedinfo windows described at:
>
> > > >http://econym.org.uk/gmap/basic10.htm
>
> > > > It's working great (I've only incorporated it with one placemark. Use
> > > > the drop down list to zoom to Georgia Coastal Ecosystems (GCE)). The
> > > > exception is that the title will not display when using a rollover (as
> > > > with the other locations).
>
> > > > Here's my url:http://gce-lter.marsci.uga.edu/public/gis/LTERmaps.html
>
> > > > Does something extra need to be added to the function I'm calling?
>
> > > > Thanks- 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