Select to view content in your preferred language

esriSRUnit for Yard

545
2
08-05-2022 09:10 AM
YukoYokozawa
Frequent Contributor

Hi! I need to use esriSRUnit for search distance in search(), and users want to use Yard. I tried esriSRUnit_Yard and esriSRUnit_Yards but both didn't work.

 

0 Kudos
2 Replies
GregKeith
Frequent Contributor

Why not use 3 feet, or 36 inches? Just label it a yard for display. If the user enters 10 yards, multiply 3 *10, for instance.

0 Kudos
YukoYokozawa
Frequent Contributor

So there is no Yard for esriSRUnit? 

0 Kudos