I added the overlay element to my review, but it does not appear until I click on the map. I tried using mapView.performlick () but still not updating until I click mapView myself ... How do I do this?
I think a magic sauce that you might miss is:
mapView.invalidate();
I need more information, but if you are using ItemizedOverlay , be sure to call populate() after adding any elements to it.
ItemizedOverlay
populate()
Source: https://habr.com/ru/post/893434/More articles:Why are performance measurements different? - performanceAssigning data to an array using curly braces - cLLDB equivalent of `po` in GDB in Xcode4.1? - debuggingAndroid, messaging Handler - androidPossible error in MKMapView - iosComplex error function in Mathematica - wolfram-mathematicaMongoDB - PHP - MongoCursorException "No cursor found" - phpDefault constructor defined by default arguments outside the class definition, why does this work? and what happens to the templates? - c ++redirecting standard output to c and then resetting standard output to cIIS only requests credentials in a specific folder - http-status-code-401All Articles