Hey all, Is there a way to find out the type (ie GPolygon, GPolyline, GLatLng, etc.) from a layer? I grab layers from a list, but I need to process them differently based on their type. I have seen something similar in GoogleEarth's KML (getType) and I was hoping there was an equivalent over on this side, or some other simple way to do this. Any help would be greatly appreciated :)
I couldn't find anything in the API that looked like it did this (and I didn't see any topics that looked like they fit the question, but my Google Fu is notoriously weak), but I wanted to ask in case I was completely missing something. Sorry if I'm being a pest! Thanks! -- 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=.
