POST
|
Hi all, I have one issue on my JavaScript API map, I want ta add feature layers from server, some of them I can add without problem, but some of them I can't. Those I can't add as feature layer, but as MapImageLayer I can add without any issue. All this layer are in same .MXD file I have shared on server, they have same Spatial Reference 32638 (32638). Any idea what is might be problem? I need this layers as FeatureLayers on my map. Thank you.
... View more
02-19-2021
02:07 AM
|
0
|
0
|
519
|
POST
|
Thanks for the nudge in the right direction. I didn’t think about the fact that the highlight method is returning a value that I can use. On to the next ArcGIS problem.
... View more
01-12-2021
11:41 PM
|
0
|
0
|
3493
|
POST
|
Never tried any of this but here is more on customization... Customize popup | Guide | ArcGIS API for JavaScript 3.34
... View more
10-22-2020
01:21 PM
|
0
|
0
|
1841
|
POST
|
The QueryTask is limited to the max amount of records that the service is configured to return (i.e. 1000 records by default). So if your service has more than 1000 or what ever the max records for your service is then your auto complete will not have all the records in it. In that case you will have to write code to handle the paging/multiple querytasks to get all your records.
... View more
09-23-2020
04:02 PM
|
2
|
0
|
1170
|
POST
|
Hi guys, I have autocomplete search widget generated from JQUERY. Autocomplete works for some features ( it is street names ), but some features didn't appears in autocomplete, while if i write in text field name of a street manually ( it should be full name, including , . ! etc) it finds the street. When i check it on server side it does the same, if GEOMETRY is TRUE some features is missing, if FALSE again some features is still missing, no full features is responsed. Here is a code i use: //Autocomplete
$(function () {
var array = []
queryTask = new QueryTask(myURL);
query = new Query();
query.returnGeometry = false;
query.outFields = ["street_names"];
query.where = "1=1";
queryTask.execute(query).then(showResults);
function showResults(results) {
// Collect the results
var resultItems = [];
var resultCount = results.features.length;
for (var i = 0; i < resultCount; i++) {
var featureAttributes = results.features[i].attributes;
for (var attr in featureAttributes) {
// Convert the attribute to a string. Null Values create an extra comma which stops the widget from functioning.
tags = String(featureAttributes[attr]);
// push the attributes tothe blank array
resultItems.push(tags);
}
}
// Sort the array
sorted = resultItems.sort()
// Remove Duplicates
var uniqueNames = [];
$.each(sorted, function (i, el) {
if ($.inArray(el, uniqueNames) === -1) uniqueNames.push(el);
});
// Set the varrible array
array = uniqueNames
// This is your AutoComplete Widget
var availableTags = array;
// Reference the div id which you want the autocomplete list to appear (in this case tag)(appear only 30 records)
$("#searchInput").autocomplete({
source: function (request, response) {
var results = $.ui.autocomplete.filter(availableTags, request.term);
response(results.slice(0, 20)); // მიუთითე რამდენი ჩანაწერი გინდა რომ გამოჩნდეს autocomplete- ში ერთდროულად.
}
});
}
});
... View more
09-23-2020
12:39 AM
|
0
|
0
|
576
|
POST
|
Include a spatial reference: Geometry objects—Common Data Types | ArcGIS for Developers Point A point contains x and y fields along with a spatialReference field. A point can also contain m and z fields. A point is empty when its x field is present and has the value null or the string "NaN". An empty point has no location in space.
... View more
09-04-2020
06:46 AM
|
2
|
0
|
1001
|
POST
|
Thanks Robert, i guessed what was my problem. Great!
... View more
08-24-2020
03:15 AM
|
0
|
0
|
1937
|
POST
|
Hi guys, After i ApplyEdits to my featureLayer it updates, but without refresh page i can't see changes in popup. I have not checked in the beginning, but i think It started after i change HTML to PHP. Any ideas what is wrong? Thank you
... View more
08-17-2020
04:27 AM
|
0
|
0
|
566
|
POST
|
Thanks Robert, i thought the same, just needed to be sure from more competent person. I opened new question and check it too please. Thanks.
... View more
07-26-2020
11:12 PM
|
0
|
0
|
604
|
POST
|
Vakhtang, In today's world of higher internet security using a shared folder as a hyperlink is NOT an option browsers do not support this. You will have to setup a virtual directory in IIS (if that is you web server) and get an actual url to use in your hyperlink.
... View more
06-30-2020
05:13 AM
|
1
|
0
|
506
|
POST
|
Hi guys, I am using default editor widget, what i want is that, when i click another feature (one is already selected) i want to edit it's attributes to be appeared immediately in attributes window. Default action is to hit BACK arrow in widget and select another feature, i do not want this BACK arrow, i want to directly select another feature. Is there any way to do it so? Thanks in advance
... View more
05-15-2020
06:57 AM
|
0
|
0
|
338
|
POST
|
Aaah, i used 4.14 version, switch to 4.15 it works. Thanks my friend
... View more
05-05-2020
05:52 AM
|
0
|
0
|
904
|
POST
|
Hi, I wonder if you already tried the steps described on this article: How To: Add an image at the top of pop-up windows in ArcGIS Online
... View more
04-29-2020
08:29 PM
|
2
|
0
|
572
|
Title | Kudos | Posted |
---|---|---|
1 | 08-22-2022 11:57 PM | |
1 | 08-31-2022 12:41 AM | |
1 | 08-23-2022 02:49 AM | |
1 | 05-10-2022 05:12 AM | |
1 | 01-13-2022 10:03 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|