POST
|
Thank you Xander, Your post did help me understand the situation.
... View more
11-19-2017
10:29 PM
|
0
|
0
|
1327
|
POST
|
Hello, I want to add xy to map popup window in WAB application for the map location where i clicked. Any help?
... View more
11-19-2017
04:16 AM
|
0
|
8
|
1822
|
POST
|
Thank you very much for the reference; It is working for me by adding the following code to the PopupManager.js line 91 onwords: var link = html.create("a", { "class": "action", "id": "submitBidLink", "innerHTML": "Submit Bid", //text that appears in the popup for the link "href": "javascript: void(0);" }, query(".actionList", this.popupUnion.bigScreen.domNode)[0]); //when the link is clicked register a function that will run on(link, "click", lang.hitch(this, this.redirectFunc)); //the redirection function redirectFunc: function () { var feature = this.mapManager.map.infoWindow.getSelectedFeature(); var fs = feature.attributes.ProjectNo; var xCoord = feature.attributes.Latitude; var yCoord = feature.attributes.Longitude; window.location.href = "http://----------------------/index.html?id=" + fs+"&x="+xCoord+"&y="+yCoord;},
... View more
11-19-2017
04:10 AM
|
0
|
0
|
228
|
POST
|
Dear All, Is it possible to view a CAD file in my javascript web application and by clicking a button it is exported or added to my geodatabase?
... View more
11-13-2017
09:31 PM
|
0
|
0
|
650
|
POST
|
How can i add additional link to popup window in WebAppBuilder application beside "Zoom To" link?
... View more
11-10-2017
03:00 AM
|
0
|
2
|
359
|
POST
|
Dear Robert, Thank you very much. I reason i was unable to see the labels was because of the scale dependency on the server side.
... View more
08-12-2017
10:16 PM
|
0
|
0
|
704
|
POST
|
Dear Robert, I still could not manage to label the points. Can you please review it once for me?? i really appreciate your help!
... View more
08-08-2017
04:34 AM
|
0
|
1
|
704
|
POST
|
Thank you Robert for you help and guide But still it don't show label for the points. Bellow is the result..
... View more
07-16-2017
12:23 AM
|
0
|
5
|
704
|
POST
|
I am trying to label graphics that is returned by a query task as points but could not success. Anyone can please help. here is my code: function zoompnt() { require(["dojo/parser", "esri/layers/LabelClass", 'esri/layers/LabelLayer',"esri/renderers/SimpleRenderer", "dojo/promise/all", "dojo/_base/connect", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/Color", "dojo/_base/array", "dojo/dom", "esri/symbols/TextSymbol","esri/InfoTemplate", "esri/config", "esri/map", "esri/geometry/Extent", "esri/layers/FeatureLayer", "esri/symbols/SimpleFillSymbol", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/tasks/query", "esri/tasks/QueryTask","esri/layers/GraphicsLayer", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojo/domReady!"], function (parser,LabelClass,LabelLayer,SimpleRenderer, all, connect, SimpleMarkerSymbol, SimpleLineSymbol, Color, arrayUtils, dom,TextSymbol,InfoTemplate, esriConfig, Map, Extent,FeatureLayer, SimpleFillSymbol, ArcGISDynamicMapServiceLayer, Query, QueryTask, GraphicsLayer) { var queryLayer = "http://00.000.00.00:6080/arcgis/rest/services/Operational_Test/MapServer/21"; var fir, sec; var graLayer; var labels; var selFeatureLayer; fir = document.getElementById("DropDownList2").value; sec = document.getElementById("DropDownList3").value; var qTask = new QueryTask("http://00.000.00.00:6080/arcgis/rest/services/Operational_Test/MapServer/21"); var query = new Query(); query.where = "SUBDIV_NO LIKE '%" + fir + "%' AND PARCEL_NO LIKE '" + sec + "'"; query.outFields = ["*"]; query.returnGeometry = true; qTask.execute(query, function (featureset) { var selSymbol = new SimpleMarkerSymbol().setStyle(SimpleMarkerSymbol.STYLE_DIAMOND).setColor(new Color([255, 0, 0, 0.5])); var selSymbol1 = new SimpleMarkerSymbol().setStyle(SimpleMarkerSymbol.STYLE_DIAMOND).setColor(new Color([255, 5, 5, 5.5])); // create a text symbol to define the style of labels var textColor = new Color("#666"); var textLabel = new TextSymbol().setColor(textColor); textLabel.font.setSize("8pt"); textLabel.font.setFamily("arial"); textLabelRenderer = new SimpleRenderer(textLabel); labels = new LabelLayer({ id: "labels" }); var gra = ""; var i; for (i = 0; i < featureset.features.length; i++) { gra = featureset.features; gra.setSymbol(selSymbol1); map.graphics.add(gra); graLayer = new GraphicsLayer(); var infoTemplate = new InfoTemplate("Serial_No", "District Name:${PARCEL_NO}"); graLayer.setInfoTemplate(infoTemplate); graLayer.add(gra); map.addLayer(graLayer); labels.addFeatureLayer(graLayer, textLabelRenderer, "${PARCEL_NO}"); map.addLayer(labels); gra++; } }); }); }
... View more
07-10-2017
10:26 PM
|
0
|
8
|
1835
|
POST
|
I deployed an application configured with webappbuilder in arcgis online on my local server, but i get the following error! Anybody knows the reason.. Thank you!
... View more
11-29-2016
12:09 AM
|
0
|
1
|
2252
|
POST
|
Dear Jeff, No errors happens, but the feature is not saved to the database. See the attached Screen shot.. Shall i send you the full code?.. Thank you!
... View more
11-24-2016
12:10 AM
|
0
|
0
|
353
|
POST
|
I have a simple geoprocessing service which append a feature set into an existing feature layer in geodatabase. I test the service with web appbuilder geoprocessing widget and it works. But i am unable to use it from my javascript app. My attempt it as followed. Can anyone guide me where i am wrong? Thank you.
... View more
11-23-2016
06:17 AM
|
0
|
2
|
1667
|
POST
|
Dear Robert, I have a simple geoprocessing service which append a feature set into an existing feature layer in geodatabase. I test the service with web appbuilder and works fine. But i am unable to use it from my javascript app. My attempt is attached. I wish this is the last time i am taking your precious time. Please let me know if you need full code or service link. Thank you!
... View more
11-23-2016
03:29 AM
|
0
|
1
|
370
|
POST
|
Thank you Robert, It is perfectly working as i was expecting. you were so helpful, Thanks again!!
... View more
11-18-2016
05:11 AM
|
0
|
0
|
370
|
Online Status |
Offline
|
Date Last Visited |
07-18-2023
12:35 PM
|