|
POST
|
Hello jay i wa look at the part where you build the html,and was not able to understand where arr came from. try looking at that variable and see if something is wrong there. var i; var out = "<table id=t01>"; for(i = 0; i < uniqueName.length; i++) { out += "<tr><td>" + arr.id + "</td><td>" + arr.ObsID + "</td><td>" + arr.SppBova + "</td><td>" + arr.COMMON_NAME + "</td><td>" + arr.GENUS + "</td><td>" + arr.SPECIES + "</td><td>" + arr.Tier + "</td><td>" + arr.FedStatus + "</td><td>" + arr.TaxaGrp + "</td></tr>"; } out += "</table>"; document.getElementById("id01").innerHTML = out;
... View more
10-22-2015
09:38 AM
|
0
|
1
|
3904
|
|
POST
|
Alex, The jquery scripts should to added before adding the esri scripts. That should take care of the myultileDefine error. I am not able to look further as I dont have all the js files. Hope you should be able to take care of it. <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script> <script src="http://js.arcgis.com/3.14/"></script> regards, Theju
... View more
10-22-2015
06:05 AM
|
2
|
0
|
2439
|
|
POST
|
The Popup class has a highlight propertry which can be used to highlight the features or not.
... View more
10-13-2015
08:53 AM
|
1
|
0
|
1931
|
|
POST
|
you dont need "[". Just use Points1.push([list.d[CMt].EPolyLong, list.d[CMt].EPolyLat]); doesn't it work? again in AddPolygonGraphics you dont need to add "[" you are simply converting an array into string.
... View more
10-12-2015
10:28 AM
|
1
|
1
|
1695
|
|
POST
|
The addRing Method in the Polygon takes either a Point[] or Number[][]. whereas, you are providing it with a string value. That might be the cause of the problem. Try below code Points1= [];
while (CMt <= (list.d.length - 1)){
ar newPoint = new Point(list.d[CMt].EPolyLong, list.d[CMt].EPolyLat ,new SpatialReference({ wkid: 4326 }));
gname = list.d[CMt].EPolyGname;
GDesc = list.d[CMt].EPolyGDesc;
Points1.push(newPoint);
CMt = CMt + 1;
}; Or Points1= [];
while (CMt <= (list.d.length - 1)){
Point1.push([list.d[CMt].EPolyLong, list.d[CMt].EPolyLat]);
gname = list.d[CMt].EPolyGname;
GDesc = list.d[CMt].EPolyGDesc;
CMt = CMt + 1;
};
... View more
10-12-2015
06:33 AM
|
1
|
3
|
1695
|
|
POST
|
I agree with you. But, when it come to point all you can do is move it. If you check the example by switching off all the function except move at the top. you will find that none of the graphic/geometry types have any kind of highlight info on them while moving. I think there is no select handle for move function. I would suggest, to change the symbol/color of the graphic on mousedown and revert it on mouse up. Hope this was helpful.
... View more
10-08-2015
06:32 AM
|
0
|
1
|
2180
|
|
POST
|
Dont have a code snippet, logically you could calculate the zoom extent required. below are the steps, let me know if it makes sense. query all the points/features with the required speciality Find the nearest Feature to the center of current extent get the delta x & delta y between center of current extent and the feature/point Calculate the extent width and height where it is 2x delta values + some buffer distance.
... View more
10-06-2015
08:35 AM
|
1
|
0
|
1496
|
|
POST
|
There are some online tools which can do it for you. The idea is to convert the image into base64 string.
... View more
09-30-2015
11:32 AM
|
0
|
0
|
2658
|
|
POST
|
I assume you are generating the comma separated list of Counties. Cant you just add space between them? In any case its not the row property which is causing the text to get hidden, but the column properties. try these css on the column text-overflow:warp; white-space: normal;
... View more
09-28-2015
12:01 PM
|
1
|
0
|
2524
|
|
POST
|
If they are part of Featurelayer then you cannot use map.graphics.graphics. You would have to query or select feature with the methods in FeatureLayer var query = new Query(); query.geometry = evt.geomtry; query.outFields = [ "*" ]; // Query for the features with the given object ID featureLayer.queryFeatures(query, function(featureSet) { //TODO: use the features });
... View more
09-24-2015
11:33 AM
|
0
|
1
|
648
|
|
POST
|
I am wondering if you are targeting the correct layer. Please ensure the Graphics you intend to select are part of the map.graphics layer and not some other FeatureLayer/GraphicsLayer.
... View more
09-24-2015
09:49 AM
|
0
|
3
|
648
|
|
POST
|
You cannot create a Polygon by using var extentPoly = new polygon(evt.geometry); since there is no constructor for Polygon which takes geometry/Extent for parameter. Atleast as per documentation. The right way to do it is by using the fromExtent static method like this var extentPoly = Polygon.fromExtent(evt.geometry); Hope this helps
... View more
09-24-2015
06:20 AM
|
1
|
1
|
1560
|
|
POST
|
I dont understand, why you are having problem with placing a dgrid inside a dijit. I have done it in couple of application. The main thing is to add it in the code and not through html tags. you can just have a placeholder div in the html (template) and then create the grid during startup or create method. Check out the CMV framework.
... View more
09-22-2015
07:03 AM
|
0
|
0
|
2392
|
|
POST
|
I dont think there is any extent property for the GraphicsLayer but you can get the extent of graphics by using esri/graphicsUtils check it out.
... View more
09-21-2015
06:52 AM
|
0
|
0
|
4251
|
| 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
|