I am using the "Report (Beta)" feature to generate a report using a report template. However, the map image generated by ${geometry} is a map inset that is zoomed out to the scale of the entire planet (see page 2 of attached file)… Is there a way to generate a more useful map with a more local, zoomed-in scaling? Maybe 1:10,000 or 1:5,000?
PS- I already tried specifying the Zoom level in the form Map Settings and those are at the scale I want, but the problem is with the Report (Beta) output.
I should also mention that this SAME Report template previously provided the local scale zoomed-in map that I am looking for but then when I tried reproducing the report today, it reverted to this larger scale...
Hi,
The issue with the website not respecting the map settings will be addressed in an update to the website early next week. You can manually specify the desired scale by using the 'mapSettings' parameter in the template:
${location|mapSettings:"10df2279f9684e4a9f6a7f08febac2a9":250000}
The first parameter is the ID of a particular web map to use. The second is the scale. both are optional, so you can omit the id if you want:
${location|mapSettings::250000}
Hmmm... Now I am getting this error:
I see the same problem and have filed an issue to correct it. In the meantime, you can get the id of ArcGIS base maps by going to http://www.arcgis.com/home/group.html?id=8cb0765d4f394cc097407068580188ad#overview and selecting your preferred basemap - it will be the end part of the item details URL.
The issue is that an empty string ('') must be used instead of an empty value:
${location|mapSettings:'':250000}
Similarly, a value of 0 must be used for the scale instead of leaving blank. We'll update our public documentation to more accurately reflect the values needed.
Yes (see screenshot from my custom template, below). And I get the error shown previously.
As a reminder, I was NOT having this problem a few weeks ago using ${geometry} alone, just as long as I specified my preferred scale within the map settings.
You mentioned that the website would be updated this week? Perhaps best to just wait for that update since these other options are not working?? A phone call might be easier?
Thanks for your assistance.
And do you know what changed? Why it was working, and now is not?
Based on your report of the problem, the issue was identified (literally a small change to the API's code got dropped); this will be fixed in an update planned for this evening (I was simply trying to provide a quick fix in the interim- I hadn't expected it to have this much of an issue).
That's great news! I appreciate your time and effort in trying to find an interim work-around. I will check on function again tomorrow.
what is the scale, is it like 1:150000 or is it something else?
thanks
Stu
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.