Hi,

I have a question regarding mike's tutorial on

http://econym.googlepages.com/example_categories.htm

I would like to know, in this part:

function createMarker(point,name,html,category) {
        var marker = new GMarker(point,gicons[category]);
        // === Store the category and name info as a marker properties
===
        marker.mycategory = category;
        marker.myname = name;
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        gmarkers.push(marker);
        return marker;
      }

is it possible if i use "somevariable.mycategory" if, say, that
somevariable is not GMarker, or GPolyline or other gmap classes.

Because i need to make some arrays that have multiple infos

Sorry if it's a bit confusing, hope you guys understand my question.
Thanks so much.

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