|
POST
|
I add bing map layer on run time in my application as a base map.in my application i want t0 add new point of interest in my extent.whenever i add the point it add the point outside from my extent.as per my information i think it is due to bing map layer.please help me how to solve this problem. code is given below. Before i was doing like this pt = new Point(txtLong, txtLat, map.spatialReference); i changed it with below line. pt = new Point(txtLong, txtLat, new SpatialReference({ wkid: 4326 })); but i found same result always in both statments. Point is always outside from my area of extent. Please help.
... View more
03-05-2016
01:23 AM
|
0
|
1
|
2515
|
|
POST
|
dear robert my code below, pt = new Point(txtLong, txtLat, map.spatialReference); queryTask = new esri.tasks.QueryTask(RestServiceUrl + "/4"); query = new esri.tasks.Query(); query.geometry = pt; // query.spatialRelationship = Query.SPATIAL_REL_INTERSECTS; query.spatialRelationship = Query.SPATIAL_REL_WITHIN; i check both query option.but same result. pls help.
... View more
03-03-2016
02:02 AM
|
0
|
2
|
657
|
|
POST
|
Dear all, i am facing problem to check weather my point inside the one polygon layer extent are it is outside.i draw the point from my input coordinates paramter.in the map i have another layer which is polygon.i add the point on map and i can see it is inside.but my code always retur point outside from polygon extent layer.please help. thanks
... View more
03-02-2016
11:01 AM
|
0
|
4
|
1800
|
|
POST
|
i have publish my arcgis server website.my website and resources are visible on my local network.when i access my website from local ip like 172.16.72.63 it comes and every thing works for me.but when i access it from my public ip like 212.26.42.75.iit shows only our logo and header part of application.when i inspect it shows some libraries not loading specially arcgis libraires.how to sole this issue. please help .thanks and regards.
... View more
02-25-2016
03:04 AM
|
0
|
1
|
1866
|
|
POST
|
Dear All on my button click event i am drawing one graphic.and from feature layer selection i am getting one feature that inside on that graphic.i want to open attribute inspector on that featre .my feature is point feature.My programm works fine.but when info window open it shows no feature selected.i am already get the feature from feature layer select feature.so how this feature should open in attarbute inspector..please help.result is shown in attached image. Thanks map.on("load", function (evt) { var layerInfos; var attInspector; $("#myButton").click(function () { pt = new Point("45.42", "23.24", map.SpatialReference); circle = pt; circle = new Circle({ center: pt, geodesic: true, radius: 0.25, radiusUnit: "esriMiles" }); map.graphics.clear(); map.infoWindow.hide(); var graphic = new Graphic(circle, circleSymb); map.graphics.add(graphic); var query = new Query(); query.geometry = circle.getExtent(); teamsFL.selectFeatures(query, FeatureLayer.SELECTION_NEW, function (features) { if (features.length > 0) { //store the current feature updateFeature = features[0]; //-----------------------------------------------------------------------// layerInfos = [ { "featureLayer": teamsFL, 'showAttachments': true, 'showDeleteButton': true, 'isEditable': true, "fieldInfos": [ { 'fieldName': 'SIREN_NO', 'isEditable': false, 'tooltip': 'Siren Number', 'label': 'Siren Number:' }, { 'fieldName': 'Reg_A', 'isEditable': false, 'tooltip': 'Region In Arabic', 'label': 'Region In Arabic:' }, { 'fieldName': 'Reg_E', 'isEditable': false, 'tooltip': 'Region In English', 'label': 'Region In English:' }, { 'fieldName': 'Prov_A', 'isEditable': false, 'tooltip': 'Governorate Arabic', 'label': 'Governorate In Arabic:' }, { 'fieldName': 'Prov_E', 'isEditable': false, 'tooltip': 'Governorate English', 'label': 'Governorate In English:' }, { 'fieldName': 'City_A', 'isEditable': false, 'tooltip': 'City In Arabic', 'label': 'City In Arabic:' }, { 'fieldName': 'City_E', 'isEditable': false, 'tooltip': 'City In English', 'label': 'City In English:' }, { 'fieldName': 'Feature_Ty', 'isEditable': true, 'tooltip': 'Featue Type', 'label': 'Feature Type:' }, { 'fieldName': 'Descriptio', 'isEditable': true, 'tooltip': 'Description For Sirens', 'label': 'Description For Sirens:' }, { 'fieldName': 'Location', 'isEditable': true, 'tooltip': 'Location', 'label': 'Location:' }, { 'fieldName': 'POINT_X', 'isEditable': true, 'tooltip': 'Longitude', 'label': 'Longitude:' }, { 'fieldName': 'POINT_Y', 'isEditable': true, 'tooltip': 'Latitude', 'label': 'Latitude:' }, { 'fieldName': 'Zone_No', 'isEditable': true, 'tooltip': 'Zone Number', 'label': 'Zone Number:' } ] } ]; attInspector = new AttributeInspector({ layerInfos: layerInfos }, domConstruct.create("div")); //add a save button next to the delete button var saveButton = new Button({ label: "Save", "class": "saveButton atiButton" }, domConstruct.create("div")); domConstruct.place(saveButton.domNode, attInspector.deleteBtn.domNode, "after"); saveButton.on("click", function () { updateFeature.getLayer().applyEdits(null, [updateFeature], null); }); attInspector.on("attribute-change", function (evt) { //store the updates to apply when the save button is clicked updateFeature.attributes[evt.fieldName] = evt.fieldValue; }); attInspector.on("next", function (evt) { updateFeature = evt.feature; console.log("Next " + updateFeature.attributes.objectid); }); attInspector.on("delete", function (evt) { evt.feature.getLayer().applyEdits(null, null, [evt.feature]); map.infoWindow.hide(); }); map.infoWindow.setContent(attInspector.domNode); map.infoWindow.resize(350, 240); //----------------------------------------------------------------------------------// map.infoWindow.setTitle(updateFeature.getLayer().name); map.infoWindow.show(pt, map.getInfoWindowAnchor(pt)); } else { map.infoWindow.hide(); } }); });//button click });
... View more
02-04-2016
04:33 AM
|
0
|
1
|
2812
|
|
POST
|
Dear all on my page load event i create one circle graphic element.by using below code. in page load event i add one feature layer. map.addLayers([myFeatureLayer]); map.on("layers-add-result", drawCircle(evt)); function drawCircle(evt){ var ptLayer = evt.layers[0].layer; var pt = new Point("45.42", "23.24", map.SpatialReference); var selectQuery = new Query(); circle = new Circle({ center: pt, geodesic: true, radius: 500, radiusUnit: "esriMiles" }); map.graphics.clear(); var graphic = new Graphic(circle, circleSymb); map.graphics.add(graphic); var selectQuery= new Query(); selectQuery.geometry = circle.getExtent(); selectQuery.distance = 500; selectQuery.units = "miles"; selectQuery.returnGeometry = true; ptLayer .selectFeatures(selectQuery, FeatureLayer.SELECTION_NEW, function (features) { if (features.length > 0) { updateFeature = features[0]; map.infoWindow.setTitle("Editor"); // map.infoWindow.show(evt.screenPoint, map.getInfoWindowAnchor(evt.screenPoint)); map.infoWindow.show(pt, map.getInfoWindowAnchor(pt)); } else { map.infoWindow.hide(); } }); } if i call this function on map click event it return features.But if i call this on page load event.no feature returns.what can be the reason.please help.i have to use this code my production part. thanks once again.
... View more
01-31-2016
10:05 PM
|
0
|
1
|
2118
|
|
POST
|
Dear All, i want to call attribute inspector on button click event.my customer want two extra text fields and two commands button in attribute inspector.On this he will take decision enable or disable feature layer attribute fields.by default all the attribute fields will be disable. please help.how can this acheive. thanks.
... View more
01-31-2016
01:17 AM
|
0
|
0
|
2021
|
|
POST
|
Dear All. Thanks for your cooperation.i solved the issue by replacing machine name with IP address in arcgis api files. Thanks,
... View more
01-31-2016
01:05 AM
|
0
|
0
|
2369
|
|
POST
|
Dear Robert; After solving network related jssues, fallowing error are coming. 1--Failed to resource net::ERR_Connection_Refused https://js.arcgis.com/3.15/esri/css/esri.css 2-Failed to resource ::ERR_Connection_Refused https://js.arcgis.com/3.15/dijit/themes/tundra/tundra.css 3-Failed to resource ::ERR_Connection_Refused https://js.arcgis.com/3.15/dijit/themes/claro/claro.css 4-Failed to resource ::ERR_Connection_Refused http//js.arcgis.com 5-Uncaught Reference Error::require is not defined http/localhost/ this is shown in fallowing error.
... View more
01-27-2016
12:57 AM
|
0
|
3
|
2369
|
|
POST
|
Dear Robert, i change the references from local to esri server and my website is working properly on local pc.i have already done every thing with web adapter and my services are working properly with IIS on local machine.but when i want to access from other machine. Network Error (tcp_error) A communication error occurred: "Operation timed out" The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. the above error come.but from ping i can connect the remote machine.it gives me response.i also check the firewall setting and its correct there. what can the reason please help. Thanks in advance.
... View more
01-26-2016
11:26 PM
|
0
|
0
|
2369
|
|
POST
|
Dear All, i am facing problem publishing website.on my server where i published the website working very well.but when i see the website on intranet my main page load.but the navigation page only shows labels.not shows the icons.image 2 show this status. when i go to inspect from google chrome.i find errors .image 1 and 1_1 shows the error.i am using arcgis library from my local machine. Please help. Thanks in advance.
... View more
01-25-2016
11:08 PM
|
0
|
6
|
4324
|
|
POST
|
dear All, I am facing problem when i update arcgis server 10.0 to arcgis server 10.2.2.installation competed successfully.but when i create the site i get fallowing error Failed to create the site. Failed to create the cluster 'default'. One or more server machines could not be started. please help to solve this. Thanks in advance.
... View more
01-18-2016
11:56 AM
|
0
|
3
|
3602
|
|
POST
|
Dear All i have one layer with some attributes.one attribute is its image.so how can i store this image for each feature.because for each feature i have one image.Other task is that i have to create web application for this data.i have to give editing option on this app.so that user can add new features from that app.if i will use feature template for adding new features.so for each feature i have also attach an image for new feature.i want browse option should be there on editor template.so please help in this matter. thanks.
... View more
01-16-2016
09:16 PM
|
0
|
1
|
2531
|
|
POST
|
Re: image file storage. dear jayanta.poddar thanks for your reply.but i think you did not under stand my question.i have one layer with some attributes.one attribute is its image.so how can i store this image for each feature.because for each feature i have one image.Other task is that i have to create webapplication for this data.i have to give editing option on this app.so that user can add new features from that app.if i will use feature template for adding new features.so foreach feature ihave also attach an image for new feature.i want browse option should be there on editor template.so please help in this matter. thanks.
... View more
01-14-2016
03:38 AM
|
0
|
1
|
734
|
|
POST
|
Dear All, i have one point layer.in this layer i have some buissness attributes and one attribute is image file for that point in png format.i have to make arcgis server application in future.i have to give the user editing option from arcgis server app.user can add new point from arcgis server app.and also add image for new points.where should i place this image file.make attribute column for this and store image data in the feature class.or just store the path in geodatabase.i want editor template there should browse option when user add the new points.so please advised me for the better option. thanks in advance.
... View more
01-14-2016
02:47 AM
|
0
|
3
|
2661
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-04-2020 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-30-2023
10:23 PM
|