|
POST
|
Its possible by both, but you need to set the x&y offset in the TextSymbol Class and not within the layer or LabelClass
... View more
07-20-2015
03:29 PM
|
1
|
0
|
2220
|
|
POST
|
I dont know why, but for some strange reason the Editor does not show the next previous button if the map.infoWindow is set to default i.e. Popup. If you change it to use InforWindow or InfoWindowLite, it starts showing the button. var infoWindow = new InfoWindow({}, domConstruct.create("div"));
infoWindow.startup();
map = new Map("map", {
basemap: "satellite",
center: [-96.541, 38.351],
zoom: 14,
slider: false,
infoWindow: infoWindow
}); If the way infowindow show is not a problem than the above code will work.
... View more
07-20-2015
02:07 PM
|
1
|
6
|
3034
|
|
POST
|
Can you share the code where selection is happening?
... View more
07-20-2015
10:26 AM
|
0
|
9
|
3034
|
|
POST
|
To be able to change the layer transparency at runtime. The map service should be enabled for Dynamic service. Please check the same.
... View more
07-20-2015
10:03 AM
|
0
|
0
|
2264
|
|
POST
|
Something like this // as an example, we'll draw a rectangle in the middle of the current extent
var rectangle = activeView.Extent;
rectangle.Expand(0.5, 0.5, true); // create a rectangle in the middle
var lineSymbol = new SimpleLineSymbolClass();
lineSymbol.Style = esriSimpleLineStyle.esriSLSSolid;
lineSymbol.Color = new RgbColorClass {Red = 0, Green = 0, Blue = 0};
var fillSymbol = new SimpleFillSymbolClass
{
Style = esriSimpleFillStyle.esriSFSSolid,
Outline = lineSymbol,
Color = new RgbColorClass { Red = 255, Green = 0, Blue = 0}
};
var screenDisplay = activeView.ScreenDisplay;
var transparencyDisplayFilter = new TransparencyDisplayFilterClass
{
Transparency = 127
};
try
{
screenDisplay.StartDrawing(0, (short)esriScreenCache.esriNoScreenCache);
screenDisplay.Filter = transparencyDisplayFilter;
screenDisplay.SetSymbol(fillSymbol);
screenDisplay.DrawRectangle(rectangle);
}
finally
{
screenDisplay.FinishDrawing();
}
... View more
07-20-2015
09:33 AM
|
1
|
1
|
1243
|
|
POST
|
If all the GraphicElement visible on the map are supposed to be transparent, then probably you could use the IDisplayFilter (TransparencyDisplayFilter) to set the transparency other than 0 or 255.
... View more
07-20-2015
08:51 AM
|
0
|
3
|
1243
|
|
POST
|
IColor has a Transparency property which you can use.
... View more
07-20-2015
08:32 AM
|
0
|
5
|
3763
|
|
POST
|
The multipoint geometry may be missing the Spatialreference information. try to initialize it like this var multiPoint = new Multipoint(new SpatialReference({ wkid:4326 })); with appropriate projection system value.
... View more
07-20-2015
07:33 AM
|
1
|
0
|
2847
|
|
POST
|
The app.fields does not contain sde.sde.AP_Const.asmbname. The dropdown is populated is being populated by below code and it used app.outFields to iterate through the app.fields collection. var fieldNames, fieldStore, fieldSelect; fieldNames = { "identifier": "value", "label": "name", "items": []}; arrayUtils.forEach(app.outFields, function(f) { if ( arrayUtils.indexOf(f.split("_"), "NAME") == -1 ) { // exclude attrs that contain "NAME" fieldNames.items.push({ "name": app.fields[f], "value": f }); } });
... View more
07-20-2015
06:35 AM
|
0
|
7
|
2469
|
|
POST
|
The error occurs when a amd module is being loaded before the esri init file is loaded. Check all your js files references/scripts tags. make sure the arcgis api is first loaded and if there is a script for dojoConfig. It should be before the esri api tag.
... View more
07-17-2015
02:17 PM
|
2
|
0
|
2423
|
|
POST
|
May be the LabelClass works for FeatureLayer if we set it before adding it/at the time of initializing it. Otherwise why would they provide a setLabelingInfo method.
... View more
07-17-2015
08:52 AM
|
1
|
4
|
4043
|
|
POST
|
QueryTask is limited by the configuration on the service. The most Ideal would be to let user enter atleast 3 charaters without trying to get auto complete values. When you have the first 3 Character, your result will be greatly reduces from 80000 to a couple of thousands and it would be easier to display them as suggestions. Hope this helps. PS: I would have some rest service to get me the values only.
... View more
07-17-2015
05:35 AM
|
2
|
0
|
1869
|
|
POST
|
I thought you are using QueryTask to get the results. Now I see you are using featureLayer. The FeatureLayer has fields property use that instead.
... View more
07-16-2015
01:57 PM
|
0
|
6
|
2420
|
|
POST
|
Have you tried to install 10.2 version on 10.0 & 10.1? Any results.
... View more
07-16-2015
01:51 PM
|
0
|
2
|
3238
|
|
POST
|
Ignore that as you might not have it. It is to be use when you have a subtypes in FeatureLayer. You can use the fields property of the query result. Select the field which has domain. var field = results.fields["< field name >"] var codedValueDomain = field.domain; and use this domain and get the code value, while looping through the features and prepare the data for grid.
... View more
07-16-2015
05:43 AM
|
1
|
8
|
2420
|
| 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 |
05-13-2026
09:55 AM
|