add behavior on maps