instead of passing raw "baseUrlPath" and "serviceUrl", why not pass preconfigured url templates like "legendIconUrlTemplate" and "qrcodeUrlTemplate" ?