add map drawing tool

Adam's changes for drawing tool.