MapView: Use enum class instead of plain enum.
Together with moving the enums from the MapView class into the Map namespace, this makes the enum a little shorter to type and increases type safety.