MapContext relative location resources
Layer's ressource can be linked by using relative path ex: new URI(data/myresources.shp)
Use relative path of files on map context save