Is there a way to save names for google map polygons/polylines?

Hi, I am wondering if there is a way to save names or IDs for google map polyelements. I would like to search a polygon/polyline collection to get a polygon/polyline by name/id.
Polygon/polyline has some UnicodeString data members: ID and DisplayName. ID is not accessible and DisplayName can not be assigned a value to it.
I don't want to make an derived class from polyelement if the existing polyelement has some data member I can use.
Thanks!

You can use the DataString property to assign a custom string to a polygon/polyline object.

Great! That works! Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.