After the map is successfully painted, writeAlgorithmThe above implementation can be turned around like a horse lamp, but the algorithm is not very difficult. However, it takes a lot of effort to draw the person's position and the person's icon. I tried the effect repeatedly with words and icons, and then tried how to draw the picture clearly when the characters overlap, how to maintain the position at different locations. In this case, the effect test and computation take a long time to get in touch with the icons in the .9.png format. After learning the meaning and principle of the .9.png image, I did not understand the specific meaning when I used it for the first time. I saved it without editing. As a result, an error is reported when the image is loaded, after careful comparison, I finally learned how to stretch and zoom. The text is also clear.
When the information of different people is switchedCodeI made a new adjustment, mainly for the view display, because the original degree of familiarity with the view is not enough, resulting in the feeling of code expansion when drawing a picture. Therefore, we need to refactor it.