Add getUri() function

use it for geoserver calling
remove console.log