Dear gurus
I used the SampleMarkOverlay Class to show the picture as below one (size is 40*40). The requirements are to show several triangles with different rotated angle, which are defined in file, at the same point. And the triangles keep the same size with the map’s zoom in/out.
Since the picture in the SampleMarkOverlay class is central rotation, so I create a template picture (size also is 40*40) which has only one rectangle and its background is transparent. I put the template picture at the display point and then I rotate it with required angle. By this way, I put several template pictures at the same point and rotate them, the results are perfect.
Now my question is when I click it, I can only get one picture (or one id). In fact there are several template pictures are completely covered at the same point. How could I get them all? Or is there any setting in SampleMarkOverlay class to let the pictures rotatable center is not at the template picture center? Then I can create a small template with the different directions and select every template picture by clicking different triangles.
I had no idea on SampleMarkOverlay to resolve the problem. Would you please give me some other way to implement it? Many thanks!
Best Regards
YuPing
1.txt (1.76 KB)