semi working state for maps directive
almost have map working