POST
|
Hi! I have a problem with an application that uses API 3.25, when we use it in a touch device (not mobile, only monitor computers) this doesn´t work with the pan or zoom using the fingers on the screen; this only occurs in Google Chrome. Previously, this worked fine and we don´t had any problem. We have another application that uses API 4.8 and this work fine. I have tried using: map.enablePinchZoom; And: map = new Map("map", { center: [-95, 30], zoom: 5, basemap: "streets", isPinchZoom: true }); And this doesn´t work. This problem is related to Google Chrome? or is something related to the API? Could you help me please? Thank you in advance. Regards.
... View more
08-14-2018
10:45 AM
|
0
|
16
|
5651
|
POST
|
Hi Robert, thank you for your response again. I have created a ShapeFileResult object, so I will keep searching the error. Regards!
... View more
02-04-2015
07:31 AM
|
0
|
0
|
367
|
POST
|
Thank you Robert for your response. Now I can create the FeatureLayer and add this to the map, but in the AttributeTable I can not see the Features, I attach a snapshot and the code, how can I see the Results in the Attribute Table? This is how I create the array of the results feature: var arrIdentify:Array = new Array();
for each (var identifyResult:IdentifyResult in identifyResults){
arrIdentify.push(identifyResult.feature);
.
.
.
} And this is where I create the FeatureLayer: var sfr:ShapeFileResult = new ShapeFileResult();
sfr.title = "Title";
var sms:SimpleMarkerSymbol = new SimpleMarkerSymbol();
sms.color = 0x0000FF;
sms.style = SimpleMarkerSymbol.STYLE_CIRCLE;
sms.size = 8;
sfr.symbol = sms;
sfr.extent = GraphicUtil.getGraphicsExtent(arrIdentify);
sfr.content = "Length: "+arrIdentify.length;
var featureSet:FeatureSet = new FeatureSet(arrIdentify);
var layerDetails:LayerDetails = creatLayerDetails(sfr, map.spatialReference); //sfr is my custom shapefile result object
var featureLayer:FeatureLayer = new FeatureLayer();
featureLayer.spatialReference = map.spatialReference;
featureLayer.name = "Identify Results";
featureLayer.mode = FeatureLayer.MODE_ON_DEMAND;
featureLayer.featureCollection = new FeatureCollection(featureSet, layerDetails);
featureLayer.renderer = new SimpleRenderer(new PictureMarkerSymbol("assets/images/i_target.png",30,30,0,0,0));
map.addLayer(featureLayer); The creatLayerDetails function is like yours. I will appreciate your help again
... View more
02-03-2015
02:59 PM
|
0
|
2
|
367
|
POST
|
Hello, I want to make a FeatureLayer from IdentifyResults because I want to see the Results in the AttributeTable, like as mentioned in this thread, how can I do that?: https://community.esri.com/thread/88653#367162 This have to do with the Dynamic Workspace? Robert Scheitlin, GISP I really will appreciate your help, regards.
... View more
01-30-2015
12:54 PM
|
0
|
4
|
4023
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|