I am displaying custom roads on the map and to display details about road, I need to display annotation with custom images (a shield).

But now I want to display shields with road numbers. As there are so many different roads, I cannot add all these shield with numbers in app. I want to keep only one shield image in app and write number on the shield dynamically while setting as annotation image.

There is a IconGenerator library in Google Maps API which can do this task. So I want to do the same with MKMapKit in my iOS Swift application.

Thanks in advance.