|
POST
|
What is the Geometry type of the Layer in question?
... View more
12-01-2016
09:15 AM
|
2
|
4
|
2128
|
|
POST
|
From what I can see you have just shared the json that you use to create the Renderer. Is that correct? In that case, type and style does not have valid values. Here is a sample json format for SimpleMarkerSymbol. { "color": [ 255, 255, 255, 64 ], "size": 12, "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriSMS", "style": "esriSMSCircle", "outline": { "color": [ 255, 255, 0, 255 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" } } Here is a playground provided by ESRI where you can generate any symbols.
... View more
12-01-2016
09:09 AM
|
2
|
1
|
2128
|
|
POST
|
Please share the code, how you are creating the UniqueValueRenderer. It would help us to understand what might be the issue.
... View more
12-01-2016
08:40 AM
|
3
|
7
|
2128
|
|
POST
|
You usually get this error when a html response is returned when, a json response is expected. Check the request and response in the Network tab and see if it gives a clue what's going wrong.
... View more
11-29-2016
07:21 AM
|
1
|
2
|
2701
|
|
POST
|
Could you be more specific. what kind of coordinates do you wish to see? Map extent or current mouse-locations or map clicks?
... View more
11-16-2016
06:44 AM
|
0
|
0
|
545
|
|
POST
|
You can restore the original symbology / renderer etc by setting the LayerDrawingOptions to null. var layerOptions = [];
layerOptions[subLayerId] = null;
dynamiclayer.setLayerDrawingOptions(layerOptions);
... View more
11-10-2016
06:28 AM
|
2
|
1
|
1732
|
|
POST
|
view.extent property should give you the current extents of the map. extent Extent The extent represents the visible portion of a map within the view as an instance of Extent.
... View more
10-14-2016
01:54 PM
|
1
|
0
|
3987
|
|
POST
|
All the basemaps hosted on Arcgis Online are Cached services. That means you cannot use it with a spatial reference other than it is defined. If you would like to show the map in a custom spatial reference than you would have to create your own map service for basemap.
... View more
10-04-2016
06:10 AM
|
1
|
0
|
797
|
|
POST
|
In the second option, you cannot use the fdp_cad as a parameter for Map options, as it is expecting string value. Use map.setBasemap method instead. require(["esri/layers/ArcGISDynamicMapServiceLayer", "esri/dijit/Basemap", "esri/geometry/Extent", "esri/map",
"dojo/domReady!"
], function (MapImageLayer, Basemap, Extent, Map){
var layer_cad = new MapImageLayer(
"https://lacarto.ledepartement82.fr/arcgis/rest/services/Raster_WGS84/Cadastre/MapServer",
{
id : j
}
);
var fdp_cad = new Basemap({
id: j,
layers: [ layer_cad ],
title: liste_fdp[i][j].nom
});
//Définition de l'extent par défaut
var extent_standard = new Extent(0.725180211, 43.758998916, 2.007557285, 44.405176623);
var map = new Map("maCarte", {
extent: extent_standard,
fitExtent:true
});
map.setBasemap(fdp_cad);
});
... View more
09-27-2016
06:58 AM
|
0
|
1
|
2097
|
|
POST
|
In 3.17, below is the snippet to create a Basemap. var basemap = new Basemap({
layers: [ new BasemapLayer({
url:"http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyBasemap/MapServer"})],
title: "Public Safety",
});
... View more
09-27-2016
05:54 AM
|
1
|
3
|
2097
|
|
POST
|
Yes, you can do that with Basemap and BasemapLayer. By setting the isReference = true will make the layer to be visible on top of all the other layers. checkout the constructor parameters for BasemapLayer BasemapLayer | API Reference | ArcGIS API for JavaScript 3.17 Set to true if the layer is a reference layer and should be drawn on top of all other layers in the map.
... View more
09-20-2016
06:05 AM
|
1
|
0
|
1288
|
|
POST
|
The GraphicsLayer has add method, whereas, the graphicslayer.graphics is just an array. User GraphicsLayer.add theLayer.add(gra);
... View more
09-15-2016
11:05 AM
|
1
|
0
|
3982
|
|
POST
|
You could add multiple actions like this. var template = { // autocasts as new PopupTemplate()
title: "Trail run",
content: "{name}",
actions: [measureThisAction, someotherAction]
};
... View more
09-13-2016
06:27 AM
|
1
|
0
|
940
|
|
POST
|
Hello Shaikh, The information provided by you is insufficient. You are just sharing a code where you are calling applyEdits. We are not sure how your edit-complete event is setup. Also are you listening for error event? Is there any error there or in the console. It would be really helpful if you could setup as jsfiddler, where we can see the behaviour. Thanks, Thejus
... View more
09-09-2016
06:31 AM
|
0
|
0
|
2358
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-24-2017 07:15 AM | |
| 1 | 09-13-2016 06:27 AM | |
| 1 | 05-21-2015 08:06 AM | |
| 1 | 12-16-2015 05:43 AM | |
| 1 | 07-20-2015 09:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-29-2024
02:34 AM
|