POST
|
Greetings Robert, I have copied your code above to no avail. Perhaps I over looked an important step? I created a sample map (plants) with some sample points: https://www.trdsysmapping.com/Plant/ Here is the code: 1. _show2DWebMap: function(appConfig) { 2. //should use appConfig instead of this.appConfig, because appConfig is new. 3. // if (appConfig.portalUrl) { 4. // var url = portalUrlUtils.getStandardPortalUrl(appConfig.portalUrl); 5. // agolUtils.arcgisUrl = url + "/sharing/content/items/"; 6. // } 7. if(!appConfig.map.mapOptions){ 8. appConfig.map.mapOptions = {}; 9. } 10. var mapOptions = this._processMapOptions(appConfig.map.mapOptions) || {}; 11. mapOptions.isZoomSlider = false; 12. var webMapPortalUrl = appConfig.map.portalUrl; 13. var webMapItemId = appConfig.map.itemId; 14. var webMapOptions = { 15. mapOptions: mapOptions, 16. bingMapsKey: appConfig.bingMapsKey, 17. usePopupManager: true 18. }; 19. if(!window.isBuilder && !appConfig.mode && appConfig.map.appProxy && 20. appConfig.map.appProxy.mapItemId === appConfig.map.itemId) { 21. var layerMixins = []; 22. array.forEach(appConfig.map.appProxy.proxyItems, function(proxyItem){ 23. if (proxyItem.useProxy && proxyItem.proxyUrl) { 24. layerMixins.push({ a. url: proxyItem.sourceUrl, b. mixin: { c. url: proxyItem.proxyUrl d. } 25. }); 26. } 27. }); 28. if(layerMixins.length > 0) { 29. webMapOptions.layerMixins = layerMixins; 30. } 31. } 32. var mapDeferred = this._createWebMapRaw(webMapPortalUrl, webMapItemId, this.mapDivId, webMapOptions); 33. mapDeferred.then(lang.hitch(this, function(response) { 34. var map = response.map; 35. //hide the default zoom slider 36. map.hideZoomSlider(); 37. // set default size of infoWindow. 38. map.infoWindow.resize(270, 316); 39. //var extent; 40. map.itemId = appConfig.map.itemId; 41. map.itemInfo = response.itemInfo; 42. map.webMapResponse = response; 43. // enable snapping 44. var options = { 45. snapKey: keys.copyKey 46. }; 47. map.enableSnapping(options); 48. html.setStyle(map.root, 'zIndex', 0); 49. map._initialExtent = map.extent; 50. this.layerInfosObj = LayerInfos.getInstanceSyncForInit(map, map.itemInfo); 51. if(appConfig.map.mapRefreshInterval && !appConfig.map.mapRefreshInterval.useWebMapRefreshInterval){ 52. this._updateRefreshInterval(map.itemInfo.itemData, this.layerInfosObj, appConfig.map.mapRefreshInterval); 53. } 54. // this.layerInfosObj.traversalLayerInfosOfWebmap(lang.hitch(this, function(layerInfo){ 55. // layerInfo.getLayerObject().then(lang.hitch(this, function(layerObject){ 56. // if(layerObject.url && layerObject.declaredClass === "esri.layers.FeatureLayer"){ 57. // this._handleRefreshLayer(layerObject); 58. // } 59. // }), lang.hitch(this, function(err){ 60. // console.error("can't get layerObject", err); 61. // })); 62. // })); 63. this.layerInfosObj.traversalLayerInfosOfWebmap(lang.hitch(this, function(layerInfo){ 64. layerInfo.getLayerObject().then(lang.hitch(this, function(layerObject){ 65. console.info(layerObject); 66. if(layerObject.name === "Highway - Road Signs"){ a. layerObject.on("click", lang.hitch(this, function(evt){ b. map.centerAndZoom(evt.mapPoint, 4); c. })); 67. } 68. }), lang.hitch(this, function(err){ 69. console.error("can't get layerObject", err); 70. })); 71. })); Please advise. Thanks in advance
... View more
04-03-2019
07:43 AM
|
0
|
0
|
1115
|
POST
|
Greetings, I am able to deploy using a public hosting website fairly easy but I'm having difficulty increasing the amount of max tabs. I was able to find MAX_NB_ENTRIES in the config.js file but even after increasing from 30 to 50... my "Add" tab is still grayed out. And I missing something here? I'm able to access the builder using "?edit" but still no luck adding tabs. Please advise
... View more
09-12-2018
03:48 PM
|
0
|
1
|
1662
|
DOC
|
yes, both attachments are listed in Arcmap; however only one can be viewed. The other attachment gives an error when you try to open (see below).
... View more
12-05-2017
08:51 AM
|
0
|
0
|
5043
|
DOC
|
Greetings Jake, Amazing stuff there...That worked; however I seem to be having another issue. For every feature there are 2 attachments but based on the file size, only one attachment is not being downloaded properly (see attached). I would need to have both attachments downloaded. Please advise.
... View more
12-05-2017
06:05 AM
|
0
|
0
|
5043
|
DOC
|
Just sent the request to add you to the group with the feature class. There are several teams deployed currently updating this layer offline via collectors. I need to get a backup of this data downloaded right away. Looking forward to hearing from you. Thanks in advance
... View more
12-04-2017
11:51 AM
|
0
|
0
|
5043
|
DOC
|
Greetings Jake, I have been trying to download my hosted feature service and continually get the attached error. The features are downloading but the attachments are not. Please advise.
... View more
12-02-2017
06:04 AM
|
0
|
0
|
5043
|
POST
|
Hey Robert, Received with thanks. Thanks for the quick response! Can you walk me through the process or direct me to some resources for mods to the apps source code to make the look and behave identically to what you described above? Additionally, please direct to where I can find the portion of code in the crowd source app that set the Search dijits sources so that I can remove the Esri World Geocoder. Thanks in advance
... View more
11-09-2017
08:22 AM
|
0
|
1
|
816
|
POST
|
Greetings ALL, I have created a web application using the crowdsource reporter. The application is used to identify business services that are currently open for business as we have just been structed with a major Hurricane. I currently have a building feature layer that has business name information which will be used as reference for searching business names. The application will allow the general public to add their businesses and operational hours. I have two (2) questions regarding the crowdsource reporter (ArcGIS online): Can I remove the default search (see crowdsource attachment below) and replace it with a search created from Webappbuilder (see attached)? Can I remove the Esri World Geocoder search from the crowdsource reporter search so that only the results for the feature search displays in the search? And if so, how? Looking forward to some great solutions. Thanks in advance#
... View more
11-09-2017
04:08 AM
|
0
|
0
|
419
|
POST
|
Greetings ALL, I have created a web application using the crowdsource reporter. The application is used to identify business services that are currently open for business as we have just been structed with a major Hurricane. I currently have a building feature layer that has business name information which will be used as reference for searching business names. The application will allow the general public to add their businesses and operational hours. I have two (2) questions regarding the crowdsource reporter (ArcGIS online): Can I remove the default search (see crowdsource attachment below) and replace it with a search created from Webappbuilder (see attached)? Can I remove the Esri World Geocoder search from the crowdsource reporter search so that only the results for the feature search displays in the search? And if so, how? Looking forward to some great solutions. Thanks in advance#
... View more
11-09-2017
04:06 AM
|
0
|
3
|
1072
|
POST
|
Greetings All, Why does my feature data automatically download to my Internal Storage (8gb) rather than my SD Card (64gb)? Currently using Samsung Galaxy tab A6 (Android). Looking forward to any solutions to this matter as it appears quite counterproductive to have an SD Card that can only store the local basemap Thanks in advance
... View more
10-26-2017
10:55 AM
|
0
|
1
|
1144
|
DOC
|
Thanks a million for you help Jake... after enabling feature access and executing, the tool worked successfully.
... View more
07-31-2017
02:14 PM
|
0
|
0
|
4670
|
DOC
|
Greetings Jake, trying to send the details you requested. It appears you need to be following me as well in order for the private massage to work via geonet. Please follow so that I can forward the details.
... View more
07-28-2017
02:07 PM
|
0
|
0
|
4670
|
DOC
|
Greetings Jake, Thanks for taking the time to respond. I made the change but to no avail. The tool is saying that the script was completed successfully yet no photos. See below: Please advise.
... View more
07-28-2017
12:02 PM
|
0
|
0
|
4670
|
DOC
|
Greetings Jake, A million thanks once again for figuring out the solution earlier with using this tool with arcgis online (Hosted feature service). However, my major issue is occurring in my on-premise ArcGIS Server (AGS) environment. Please see below for how the tool is setup: Here is the error: Please advise. Thanks in advance
... View more
07-28-2017
04:36 AM
|
0
|
0
|
4670
|
DOC
|
Receiving the same error... any updates on the solution?
... View more
07-26-2017
05:04 PM
|
0
|
0
|
4670
|
Title | Kudos | Posted |
---|---|---|
1 | 06-12-2016 08:00 PM |
Online Status |
Offline
|
Date Last Visited |
10-07-2023
03:27 PM
|