I’ve been able to create our own MapKitTextStyles class with a few more types. Found this fairly easy using TextStyle, AreaStyle and Fill Brushes.
Now we are looking to create some more advanced labels. Maybe something like this:
Is there a way to custom draw this the AreaStyle’s border so it can look like the label above with the little blurb arrow? Perhaps a different background color in the first text row? I am guessing there must be a way to override the drawing routines, just not sure where to look for this info.
How to create more advanced TextStyles?
Hi Dave,
From the screenshot, it looks like a popup which is not for TextStyle. I can tell you that we can add a background mask for the text area but you may know that we don’t have a close button in textstyle.
If it is a popup, then I think it would be much easier by defining a custom popup control. We have a similar sample to show a custom popup, you can find the sample under Product Center=>Desktop Edition =>Project Templete => VehicleTracking, then run the sample and click on a vehicle, you will find:
Please let us know if any questions.
Thanks,
Troy
Thank you for the tip. I think a custom popup will work great. We are using 3rd Party DevExpress controls in our applications and they have many types of popup controls. I think this will work well.
Sounds great! Please let us know if any other questions.
Thanks,
Troy