Printing from Web AppBuilder - can you set the scale to display in feet instead of miles?

3852
12
Jump to solution
08-05-2015 08:32 AM
New Contributor III

I have created an app with Web AppBuilder for ArcGIS but have run into an issue. When you go to print a map using the print widget, it spits out a map with a scalebar in miles.... but for our purposes, we really need that scalebar in feet, as we work on a very fine scale. I have not been able to find way to change this yet. Is there a way to do this? Without the scalebar in feet, the map is really not that useful to our staff.

Thanks!

Also, pic below for reference:

webappbuilder_capture.PNG

12 Replies
New Contributor II

The string.js file already has:

unitsNauticalMiles: "Nautical miles"

I changed the print.html file to reflect this:

<option value="Nautical miles">${nls.unitsNauticalMiles}</option>

Now the widget allows me to select nautical miles from the drop down menu except when I produce the print output the scalebar still says it is in miles:

Reply
0 Kudos
MVP Esteemed Contributor

Shannon,

   Looks like these are the only valid options:

scalebarUnitThe units used for the scalebar. Valid values are 'Miles' | 'Kilometers' | 'Meters' | 'Feet'. Default is "Miles".
New Contributor II

Hmm that's what I was afraid of. Thank you for your help!

Reply
0 Kudos