POST
|
Robert, I was afraid of it. Thank you very much for your help! Kind regards
... View more
04-07-2017
05:58 AM
|
0
|
0
|
1358
|
POST
|
I tried this before and I had the same problem. Thank you!
... View more
04-07-2017
05:34 AM
|
0
|
0
|
1358
|
POST
|
Hello Robert, Thank you very much for your response. I actually tried this before and I just did it again however I have the same result. Do you know if there is any limitations with the Esri server versions and Esri JS API 4.x? I tried the same token with 3.x and works fine. I am attaching an image with the object in 4.x that shows that the token is there. Thank you very much!
... View more
04-07-2017
05:34 AM
|
0
|
2
|
1358
|
POST
|
Help please! I am trying add a layer to a map using the JS API 4.x. This layer is a feature layer and it has a token to access to it. In the Esri Javascipt I was add the layer just by specifying the token in the URL. I am trying to do the same in 4.x however the app is always asking me for a user and password even if I already attached a valid token to the URL. var myUrl = 'www.randomAddress.com'; var token = 'xioxioxioxioxioxioxioxioxio............' var featureLayer = new FeatureLayer({ url: myURL + "?token=" + token }); Is there a new way to do this in 4.x? I am attaching the code of the app and also an screenshot. Thank you very much!
... View more
04-06-2017
12:59 PM
|
0
|
7
|
2686
|
POST
|
Hello, I have a problem with dynamic services. I am using ESRI Arcgis Server 10.3 and I have several layers as declared as 'ArcGISDynamicMapServiceLayer'. When the layers show in the API it has a white small halo in all the labels and it makes it very difficult to read. It is a normal map service and is published without halos. If I use the layers as 'FeatureLayer' the quality of the labels will be better and the halos won't show. Also if I want to change with setHaloColor() .setHaloSize( ) in 'ArcGISDynamicMapServiceLayer' it wont work. I am attaching an image with how it looks. Thank you very much!
... View more
10-13-2016
11:25 AM
|
0
|
1
|
560
|
POST
|
Using map.centerAndZoom is a good approach too. I am not sure if that is what you want. function onRowClickHandler(evt) {
var clickedTaxLotId = evt.grid.getItem(evt.rowIndex).MyID;
var selectedTaxLot = arrayUtils.filter(map.graphics.graphics, function (graphic) {
return ((graphic.attributes) && graphic.attributes.MyID === clickedTaxLotId);
});
//CREATE THE POINT WITH THE SELECTED ROW
var center2 = [selectedTaxLot[0].geometry.getLongitude(), selectedTaxLot[0].geometry.getLatitude()];
//ZOOM LEVEL
var zoom2 = 15;
//CENTER AND ZOOM
map.centerAndZoom(center2, zoom2);
}
... View more
03-31-2014
03:44 PM
|
2
|
1
|
708
|
Title | Kudos | Posted |
---|---|---|
2 | 03-31-2014 03:44 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|