|
POST
|
When you define the template for the inforwindow, set the target for the hyperlink.
... View more
04-25-2016
08:16 AM
|
0
|
1
|
1855
|
|
POST
|
It depends on what you are trying to achieve. For e.g. If you want to round them in InfoWindow. The popup template has options which you can set to show only that number of places.
... View more
04-25-2016
08:13 AM
|
0
|
0
|
2080
|
|
POST
|
Unfortunately no, the featureLayer needs to process and maintain the selected information. it has function to change the color it selection color is set. On the plus side, it will do a client side query as it already has the graphic with it.
... View more
04-22-2016
01:30 PM
|
1
|
0
|
1617
|
|
POST
|
For the AttributeInspector to work you need the feature to be selected within the FeatureLayer. See the documentation The AttributeInspector displays the attributes of selected features from one or more feature layers. You could do one thing. use the ObjectID from the graphic returned from onclick and user query.objectIds instead of whereClause. But you must use FeatureLayer.selectFeatures to show the details in the AttributeInspector.
... View more
04-22-2016
01:03 PM
|
1
|
3
|
1617
|
|
POST
|
You could simplly create a new graphic. var newGraphic = new Graphic(oldGraphic.toJson());
... View more
04-21-2016
07:43 AM
|
2
|
1
|
3852
|
|
POST
|
This is a know issue and there is a Bug reported as well BUG-000085500 - The developer sample, "http://developers.arcgis.co.. Hopefully we should have it fixed in the 4.0 version.
... View more
04-21-2016
06:32 AM
|
1
|
0
|
1534
|
|
POST
|
Could you be more specific with you question. Esri JS API and dojo are both javascript frameworks. You use them in a web applicaiton it doesnt matter if it is java or .Net. its alway the same add the link to the scripts. If you are asking how to start using it then you should start with this tutorial Build your first application | Guide | ArcGIS API for JavaScript
... View more
04-20-2016
06:07 AM
|
1
|
0
|
712
|
|
POST
|
That is the behaviour of the the NumberTextBox dijit used within the AttributeInspector for all fields with data type as integer or double. Unfortunately, ESRI has not provided any options to format the displayed value. The PopupTemplate has option to format the values, but not with AttributeInspector. There are 2 options for you. One create your own AttributeInspector or hack into the AttributeInspector instance and update the dijit. To do the later, you need to know certain things. like the dijit is distoryed and create each time a new record is displayed so you would need to handle all possilble events like show, next, previous etc. the AttributeInspector has property layerInfos, which has the fieldInfos collection with dijit and other information related to the field. make sure you get the right control. var lInfo = attInspector.layerInfos[0]; // get the correct layerInfo
var f = lInfo.fieldInfos[4]; // get the required field from the LInfo.fieldInfos
if(f.dijit){
f.dijit.constraints && (f.dijit.constraints.pattern = "#");
f.dijit.setValue(feature.attributes[f.fieldName]);
} Once the pattern is changed, you need to set the value again so that it updates the formatting. Not a good solution but it works.
... View more
04-19-2016
07:20 AM
|
1
|
0
|
4462
|
|
POST
|
From what I can remember, Geocortex essentials is a configurable viewer. You should be able to look at the configuration and determine which layers has been added. If a layer has been added the it should be available in map.layerids or map.graphicsLayerIds. As long as you know their ids you should be able to get access to them. Check with their support, what kind of offline map features are available in the application.
... View more
04-15-2016
01:17 PM
|
1
|
0
|
1944
|
|
POST
|
I might have misunderstood what you were trying to do. The FeatureLayer has to be added to the map first, if you want to use it. Otherwise it will not contain any features or data to be able to query. Depending on the MODE set for the FeatureLayer, records are retrieved from the server and stored locally. which is then available for querying. As per the documentation for ArcGISDynamicMapServiceLayer Allows you to work with a dynamic map service resource exposed by the ArcGIS Server REST API. A dynamic map service generates images on the fly. For cached map services, see ArcGISTiledMapServiceLayer. The data does not exist for Such layers to be able to queried on the client. If the Layer has not been added. The best option is to user queryTask. Is there any particular reason you wouldnt want to get the result from the server?
... View more
04-15-2016
11:53 AM
|
0
|
0
|
1944
|
|
POST
|
If you Layer is of type ArcGISDynamicMapServiceLayer, then it has a property layerInfos. which is array of sublayers(LayerInfo) you can loop through this array and identify the layerid and use it to build the url. Hope this was helpful.
... View more
04-15-2016
10:31 AM
|
1
|
2
|
1944
|
|
POST
|
Would it be possible for you to share the complete code? or set up a jsBin
... View more
04-14-2016
06:37 AM
|
0
|
1
|
2253
|
|
POST
|
That's strange. The only thing I can now think of is somehow the map height & width is different than what is visible and the css is disabling the scroll-bar. Can you check if that is the case?
... View more
04-13-2016
08:32 AM
|
1
|
3
|
2253
|
|
POST
|
I have seen such behaviour, in case of tiled map service. But I still find your results odd for the fact that the feature is not centered. You would need to expand the extent of the graphic to ensure that your result will be always shown. var stateExtent = graphic.geometry.getExtent().expand(2); Another way it to set the level of the map, greater than the scale of the graphic extent.
... View more
04-13-2016
06:10 AM
|
0
|
2
|
2906
|
|
POST
|
The require list and the function parameter does not match. The ClassBreaksRenderer and domStyle is out of order. Hope this is helpful. I shall continue reviewing.
... View more
04-08-2016
07:50 AM
|
1
|
0
|
1339
|
| 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
|