In my scenario, Arcgis map server is need to log in by use token as the query parameter to access.
My graphic layer is contain the overlapping polyline on the street,
then the demand is when user click the colored-polyline, while user doesn't know about where is overlapping,
if there is, we'll show all the map object over the click map point.
While I use the graphiclayer.on("click") function, it only could get the top object on the map.
The under object overlapped by top object won't be choosed.
Then I found "IdentifyTask" could search by location.
by in my use, the line below will report a error call "Cannot read property 'path' of undefined".
identifyTask = new IdentifyTask(ServiceRootURL);
the problem on the IdentifyTask.js be liked:
constructor: function(d, a) {
this._url.path += "/identify"; //←the _url is null in "this"
this._handler = e.hitch(this, this._handler);
this.gdbVersion = a && a.gdbVersion;
this.registerConnectEvents()
},
should it be any wrong?
or in my case, how can I select all the object overlapping on same map point,
thanks for advanced.