POST
|
I am trying to use the geoprocessor in the java script API to create drive time polygons around a certain point. There is a proxy server to the geoprocessor service which works well on our internal staging machine (HTTP) but I get the above error on our production server (HTTPS). Has anyone ever seen this error and know how to get around it?
... View more
05-03-2017
07:32 AM
|
0
|
0
|
780
|
POST
|
I am trying to create drive time areas for a point. When I call the routine that calls the code I get the following error: string.substitute could not find key "layername" in template. I am following the scarce documentation for this so this is what I am doing var params = { id: "analysisTool", inputLayer: myLayer, portalUrl: "https://www.arcgis.com", showHelp: false, map: map, } var analysisTool = new CreateDriveTimeAreas(params, "driveTimesDiv"); The code breaks when it calls the instantiation of the CreateDriveTimesAreas. Can anyone please tell me what I am doing wrong here?
... View more
04-10-2017
06:37 AM
|
0
|
2
|
830
|
POST
|
I do not think that will help me. What I want is to have the user have different color/size of labels of the feature layer based on the class breaks. An example is this If a county in the USA has a population less than 50,000 then make the label color red and 8pt font, else color the label from the feature layer green and make 10 pt. Again the color/size will come from the end user. I just need to find a way to change the feature layers label based on the end users input.
... View more
09-02-2016
08:31 AM
|
0
|
0
|
304
|
POST
|
I am new to the javascript api. For my project I need to be able to change the font size, font color and the font family for a label based on the class break. I could do this via css but the end user will be the one to choose the font color, size, and family, so I have no idea of those values before hand. Has any one done anything like this before?
... View more
08-25-2016
10:37 AM
|
0
|
2
|
1198
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|