This enables Cross Origin Resource Sharing on the Map controller, by adding the @CrossOrigin annotation at the class level.
Before:
After: