@Kyle,Here's some input from one of our developers on this...it may help.Thanks,Mike
I don't think there's a way to not request geometry, but I would ask him to confirm that maxAllowableOffset is being set and specified when his service is queried to ensure that a generalized geometry is being returned. He might need to upgrade the version of the API his template is using if he downloaded it months ago.He can check that maxOffset is being sent by looking at the request in chrome dev tools, see attached screen shot.
function setinfoWindow(objects){ var ft = []; for (var cyc = 0; cyc < objects.length; cyc++){ var feature = objects[cyc].feature; var hidden = "<a onclick = 'showDetails("+cyc+")'> �?од�?обно ... </a>"; var template = new esri.InfoTemplate(null, '${'+objects[cyc].displayFieldName+'}'+hidden); feature.setInfoTemplate(template); ft.push(feature); } alert(ft.length); // THIS WILL DISPLAY 5. not too much to display running timeout map.infoWindow.show(mousePoint); map.infoWindow.setFeatures(ft); // HERE IS A PROBLEM }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.