Hmmm how can we allow triggering of events on a polyline? We may need a better way to identify a polyline than just a hash of its path.