defaultDataLayer must not be a remote layer
Do not use remote layer as possible feature layer