I encountered this when overriding MapRectangle.CreateGeometry(…)
It appears that to have any hope of doing anything useful in the overridden method, you need to have access to MapItem.RenderScaleFactor, but it is declared internal.
Obviously I can just redeclare it but if it changes I will have issues.
I am afraid your task is not clear to me. Would you please clarify which result you want to achieve by creating MapRectangle descendant? A sample project demonstrating your solution will be very helpful.
In my case I derived from MapRectangle so that I could draw centered on the item's location(due to be implemented in T288639) and also provide an x/y offset. To achieve this, I overrode CreateGeometry(…). It is all working so I do not need any assistance in that regard, it was more of an observation that you provide the ability to override that method, but it is almost guaranteed that if that is done access to RenderScaleFactor is required.
Thank you for the clarification. We will provide a way to change RenderScaleFactor. You will receive a notification when this functionality is implemented.
Thanks. Some clarification, while it may be beneficial to have the ability to change it, my issue (contrary to the title of the case) is that I can't even read(rather than change) it's value.
Thank you for your note. I have updated the subject accordingly.