I am trying to determine the marker/s currently shown in a mapview. I have researched the following the method:
self.mapView.bounds.contains(markers[0].position)
But the contains
command accepts CGPoint or CGRect. In other platforms except Swift, contains
can accept the marker's position.
How do I convert the marker's position to be accepted by contains
?