I have two overlays that I am using to display and allow editing of some features. I need to allow dragging of the features to allow the users to edit location as well as object details. To do this I am currently using a simplemarkeroverlay to do the draggable markers, then I have an inmemoryfeatureoverlay with a duplicate feature source. When the user clicks a marker, i look up the feature details in inmemoryfeatureoverlay and populate text boxes for editing.
This has worked, although I am sure hogs up a additional resources with two overlays. This is not my issue, but if there is a better way to do this, I would love to hear about it.
My issue now is that I would like to only display the markers below a certain zoom level. I can do this with the inmemoryfeaturelayer.zoomlevelset, but I am not sure how to do this with a simple marker overlay. I don't care what type of overlay I am using, I just need to combine drag functionality and the ability to control visibility/clickability by zoom level.
Thanks in advance for your help!