Hi,
How would I go about adding a text-based adornment layer? I want to include some copyright information on my maps for the data currently in view. The text will change as the user pans around the map so it's not practical to create a set of static images and use the existing MapTools.Logo property.
I guess I could create images on the fly and point the MapTools.Logo.ImageUri property to an HTTP handler that delivers up the text as an image, but this seems a bit clunky.
I found the "Graphic Logo for Web" sample in the code community which seems like a good starting point for a solution, but I'm unsure how to go about calculating the height and width of the text and rendering it out on both types of canvas.
I had a search through the forums but couldn't see an obvious solution. I'm surprised it hasn't been asked before as including copyright information is often a condition on most commercial map licenses.
Best regards,
Gary