[vector-api] Minor additions to dragzoom example

This PR suggests minor changes to the dragzoom example.