modify polylin and polygon demo