| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -620,7 +620,13 @@ class VectorLayer extends GDBInfo { | |||
| 620 | 620 | */ | |
| 621 | 621 | getLayerInfo(gdbpUrl, onSuccess, onError, encryptPassword) { | |
| 622 | 622 | var me = this; | |
| 623 | - me.partUrl = 'layerinfo?gdbpUrl=' + gdbpUrl + '&f=json' + '&encryptPassword=' + encryptPassword + '&proj=' + this.proj; | ||
| 623 | + me.partUrl = 'layerinfo?gdbpUrl=' + gdbpUrl + '&f=json'; | ||
| 624 | + if (encryptPassword) { | ||
| 625 | + me.partUrl += '&encryptPassword=' + encryptPassword; | ||
| 626 | + } | ||
| 627 | + if (this.proj) { | ||
| 628 | + me.partUrl += '&proj=' + this.proj; | ||
| 629 | + } | ||
| 624 | 630 | var url = me.getFullUrl(); | |
| 625 | 631 | var service = new IgsServiceBase(url, { | |
| 626 | 632 | eventListeners: { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments