|
POST
|
Nadir, This is what you want. <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" /> <title>Intro to FeatureLayer - 4.11</title> <link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/themes/light/main.css" /> <script src="https://js.arcgis.com/4.11/"></script> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } </style> <script> require([ "esri/Map", "esri/views/MapView", "esri/layers/FeatureLayer" ], function(Map, MapView, FeatureLayer) { var map = new Map({ basemap: "" }); var view = new MapView({ container: "viewDiv", map: map, extent: { // autocasts as new Extent() xmin: -9177811, ymin: 4247000, xmax: -9176791, ymax: 4247784, spatialReference: 102100 } }); /******************** * Add feature layer ********************/ // Carbon storage of trees in Warren Wilson College. var featureLayer = new FeatureLayer({ url: "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Landscape_Trees/FeatureServer/0" }); map.add(featureLayer); }); </script> </head> <body> <div id="viewDiv"></div> </body> </html>
... View more
06-11-2019
11:54 PM
|
0
|
2
|
863
|
|
POST
|
Share what you are working on so people can understand more clearly what you exactly asking.
... View more
06-10-2019
09:13 PM
|
0
|
0
|
619
|
|
POST
|
Thanks Undral, Can you show some working samples of this!! as it is difficult to understand for me.
... View more
06-10-2019
12:21 AM
|
0
|
0
|
1934
|
|
POST
|
Thanks Robert, Can you show some working examples of this!! as it is difficult to understand for me.
... View more
06-10-2019
12:20 AM
|
0
|
1
|
1934
|
|
POST
|
Hello. i'm using arcgis api 4.10 where i want to show the total num of count, let's suppose i have a Map Server service (http://...:.../...//MapServer/13) of customers so i want to show the total number of customers by using service and relevant field like (Number_of_SUM) of this service, how can i do this!!
... View more
05-14-2019
10:42 PM
|
0
|
5
|
2183
|
|
POST
|
I solve this issue, we just need to update cedar libraries and charts will start working again.
... View more
04-25-2019
12:18 AM
|
0
|
0
|
609
|
|
POST
|
Hello, I am using cedar charts in my application and it was working fine, but from tomorrow while i was working on some other part of my application charts stop working itself. Is there any issue occured in cedar libraries !! Anyone has idea what happen ?
... View more
04-24-2019
03:16 AM
|
0
|
1
|
718
|
|
POST
|
I was also looking for this but i think there is no solution available for this in 4.x yet, So i switched to 3.x and i found this. Have a look ,it might be helpful for you.
... View more
02-21-2019
08:18 PM
|
0
|
0
|
2295
|
|
POST
|
Hi,i have two different services which are related to each other, when i click on the layer of one service the popup generates now i want to show the popup of same service and also a link button in popup to show the data of second service. I want to show the related table data/record on popup.How can i do this?? I'm using arcgis api for JS 4.9 version. For clear understanding of this question, i attached picture of popup with the link button which show related records on click. And the second picture is of records/data which will show when the button click.
... View more
02-12-2019
03:42 AM
|
0
|
0
|
940
|
|
POST
|
In your service define any field name let's suppose Image_URL and set it's property as (<img alt="File" src="YOUR_SERVICE_HERE"/>) and call that field in popup as below. Hope it work for you { fieldName: "Image_URL", label: "Image URL", visible: true, format: { digitSeparator: true, places: 0 } }
... View more
02-11-2019
10:55 PM
|
0
|
0
|
1558
|
|
POST
|
sir i already posted the code above which i used to set extend.
... View more
12-24-2018
04:54 AM
|
0
|
2
|
1146
|
|
POST
|
sir i did the same as above but still it is still not working!!
... View more
12-24-2018
04:52 AM
|
0
|
2
|
1426
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-12-2019 06:08 AM | |
| 2 | 02-12-2020 06:02 AM | |
| 1 | 10-08-2018 10:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-27-2021
04:56 AM
|