changes for having multiple polygon and marker tools in the toolbar