|
POST
|
you can also continue to use the webmap loading pattern and just define yours in JSON rather than authoring in arcgis.com
... View more
08-16-2013
09:57 AM
|
0
|
0
|
722
|
|
POST
|
passing specific layerIds to imageParameters is a technique to restrict the layers from the original service that are drawn in your appl;ication. you can either skip supplying the imageParameters in your ArcGISDynamicMapService layer constructor if you'd like all the layers in the service to display, or add all the individual layerIds you want to the array and continue to include it in the constructor.
//imageParameters.layerIds = [0,1,2];
layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer");
... View more
08-16-2013
08:03 AM
|
0
|
0
|
1648
|
|
POST
|
please compare and contrast my working sample linked above with your own app to try and determine the cause of the problem. if you can't find it i'd be happy to take a look at your own code if you provide it.
... View more
08-15-2013
02:06 PM
|
0
|
0
|
1648
|
|
POST
|
i just caught a typo in the url in my earlier code snippet. you aren't supposed to include the "/0"
imageParameters.layerIds = [1];
layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer", {
"imageParameters" : imageParameters
});
check out this fiddle for a complete working example.
... View more
08-15-2013
12:18 PM
|
0
|
0
|
2318
|
|
POST
|
it shouldnt matter what order you decide to load the geocoder widget and dynamic map service layer. perhaps it would be helpful to substitute a public service like the one i tried to confirm that your syntax is correct? imageParameters.layerIds = [0];
layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0", {
"imageParameters" : imageParameters
}); does substituting the code above allow you to see the block group points in your map?
... View more
08-15-2013
10:54 AM
|
0
|
0
|
2318
|
|
POST
|
the change is made at the system level for a specific user on the computer itself. its not something that is specific to ArcGIS Server, its just important to make the changes while logged into the arcgis account so that the changes will be picked up when ArcGIS Server is running. some example steps on Windows 7: 1. logon to computer using ArcGIS service account credentials 2. Start > Devices and Printers 3. Right-click default printer (indicated by green checkmark) and select "Printing Preferences" > Advanced 4. Select a larger paper size than letter
... View more
08-15-2013
10:45 AM
|
0
|
0
|
2263
|
|
POST
|
you are correct. maxRecordCount is a property set at the map service level at the time of publishing. i found a couple other properties whose description seems to be a little ambiguous about the fact that the property is determined by the service itself. if anyone else was confused by another one. id love to hear about it. FeatureLayer.hasAttachments FeatureLayer.hasAttributionData FeatureLayer.supportsStatistics FeatureLayer.supportsAdvancedQueries
... View more
08-15-2013
10:15 AM
|
0
|
0
|
859
|
|
POST
|
@Jason. thanks for the feedback. i took a look at the documentation for some other popular classes and it seems that in most other similar instances, the description makes it a little clearer when a property is determined by the service itself. i'm under the impression that we don't denote "read-only" for properties in the API because the concept is not actually enforced, but i agree with you that providing additional information to developers regarding individual properties is warranted. the only other potential candidate i have found so far is Layer.capabilities. can you think of any others for me to include in my request to the development team?
... View more
08-15-2013
09:49 AM
|
0
|
0
|
859
|
|
POST
|
jason, in the API reference optional parameters for contructors and methods are typically denoted with a '?' i can't think of an occasion when i attempted to set a property on an object and found that it was 'read-only'. can you share an example?
... View more
08-15-2013
08:19 AM
|
0
|
0
|
3035
|
|
POST
|
does it happen in more than one browser? does clearing the browser cache make any difference?
... View more
08-15-2013
07:57 AM
|
0
|
0
|
1826
|
|
POST
|
its probably causing problems that you use the same variable name for your array of locators and the widget itself. you also need to use an equal sign when instantiating an empty array. so...
//was
var geocoder []
//should be
var geocoderz = [];
... View more
08-14-2013
04:12 PM
|
0
|
0
|
1066
|
|
POST
|
even with the sample I mentioned what sample did you mention?
... View more
08-14-2013
03:59 PM
|
0
|
0
|
1826
|
|
POST
|
ah, the wonders of complex SQL expressions..
"FIELD_NAME = 'value 1' OR FIELD_NAME = 'value 2'"
... View more
08-14-2013
03:47 PM
|
0
|
0
|
1087
|
|
POST
|
sounds reasonable to me. loading an ArcGISTiledMapServiceLayer first sets up LODs for you automatically. if you can't cache your own basemap and you need it to load by default, you'll probably want to check into setting LODs manually.
... View more
08-14-2013
03:44 PM
|
0
|
0
|
863
|
|
POST
|
cool. feel free to check out the forum thread i linked to before in order to learn more about this innocuous error.
... View more
08-14-2013
03:13 PM
|
0
|
0
|
1321
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|