POI dict and polyline support

Added support for filter functions to return dicts.
Added support for filter functions to return a list of coordinates to
draw lines between when shown.