added functionality to polygon maps