Is it possible to add a single overlay to a MapView without having to use the ItemizedOverlay class which seems a bit overkill for a single overlay?
Is it possible to add a single overlay to a MapView without having to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it is possible, you can create a sub-class that extends
Overlayandoverrideitsdraw()and add your stuff to show an Overlay.Hereis a complete example for the same.