create controller to handle map events.
fix: merge with master, fix style and refactor chart category service.