Importing a Map twice with a Layer configured as Locator: On the second Import, when the first Map is still loaded in the project, the Locator of the second map gets not imported. This seems to be a Bug.
Steps to reproduce:
If the import is done on an empty project (no other map) the locator is visible
We are aware of this behavior and will try to address the problem as soon as we can. In the meantime, I would suggest creating a Project Template ( the button is next to Map File on the Share tab) instead of the Map File and use the Project Template to create projects from that contains the feature and layer provider. See the following help topics:
Thanks for the Reply. Because we alter the map template dynamically, we can't use the project template. As a workaround it would be sufficiant beeing able to add the Layer-Locator from Code, but i did not find any interface or samples doing this. This would help us a lot. I tried using the LocatorConfigurationManager but was not successful in using it.