ViewMngrAPI.openFromFile

 

long openFromFile(string path)

This method creates a new view containing the map at the location in the file system given by the argument path.

The method returns 0 upon success, and returns an error code if path does not exist or does not identify a valid map dataset.