POST
|
I am working on a story map. Initially all the slides had text in pop up but now i removed text from some. now when i view the story map a blank pop up is still showing. how can i hide or remove pop up when no text is there ?
... View more
03-19-2019
03:27 PM
|
0
|
0
|
190
|
POST
|
Thanks Andrzej !! I was having the same issue and tried to append f=json but that did not worked. Once I added "f=json&features=" as per your suggestion/post it worked !!
... View more
01-04-2017
09:06 AM
|
1
|
0
|
2325
|
POST
|
I found answer to this: first add event to populate ID, when editing begins dojo.connect(myFeatureLayer,"onEditsComplete",populateID); //then add function function populateID(addResults) { if (addResults.length > 0) { // this gets the corresponding graphic of the feature that was just added var graphic = myFeatureLayer.graphics[OccurrencesFL.graphics.length - 1]; var ID = 123 ; (your id value here) graphic.attributes["ID"] =parseInt(ID); myFeatureLayer.applyEdits(null, [graphic], null); }
... View more
11-25-2016
01:53 PM
|
0
|
0
|
150
|
POST
|
var responsePoints = new FeatureLayer("http://myorgxxx/arcgis/rest/services/Secure/FeatureLayerName/FeatureServer/0", { mode: FeatureLayer.MODE_ONDEMAND, outFields: ['*'] }); //apply sql filter var id= <%=GetID()%>; //this comes from Asp.net server side responsePoints.setDefinitionExpression("ID="+id); map.addLayers([responsePoints]);
... View more
11-25-2016
09:21 AM
|
0
|
1
|
1452
|
Title | Kudos | Posted |
---|---|---|
1 | 01-04-2017 09:06 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|