Hi, Iโm working with Lat/long on a map of locations and people. I have pins on a map that represent these. I have a workflow that changes the lat/long of people to be the same as the location when they press a button to โmove thereโ. However, since they have identical Lat/longโs and are on the same map, the pins stack on top of each other and then I canโt see or select one or the other easily. I need help either figuring out a way to select either pin easily even if theyโre on top of each other, or my other solution was to have the personโs pin be offset from the locationโs by something like โ00.0050, 00.0050โ so it would just appear next to it but far enough separate that I could select them. Iโm trying to think how I could say โwhen I want the person to move there, change [their lat/long] to [that locationโs lat/long]+00.0050, 00.0050โ or something. Any suggestions?
Solved! Go to Solution.
You can use Lat() to extract the decimal latitude from your Lat/long, then add a decimal to it, then Concatenate that back into a lat/long
CONCATENATE(LAT(Any(Select(Player Characters Movement[Game Location Location to],And([Time]=MAX(Player Characters Movement[Time]),[Player Character ID]= [_Thisrow].[Player ID]))))+00.0050
,", ",
LONG(Any(Select(Player Characters Movement[Game Location Location to],And([Time]=MAX(Player Characters Movement[Time]),[Player Character ID]= [_Thisrow].[Player ID]))))
)
Iโm thinking of using like a SUBSTITUTE(), MID(), LEFT(), or RIGHT() to edit it?
You can use Lat() to extract the decimal latitude from your Lat/long, then add a decimal to it, then Concatenate that back into a lat/long
CONCATENATE(LAT(Any(Select(Player Characters Movement[Game Location Location to],And([Time]=MAX(Player Characters Movement[Time]),[Player Character ID]= [_Thisrow].[Player ID]))))+00.0050
,", ",
LONG(Any(Select(Player Characters Movement[Game Location Location to],And([Time]=MAX(Player Characters Movement[Time]),[Player Character ID]= [_Thisrow].[Player ID]))))
)
User | Count |
---|---|
40 | |
36 | |
34 | |
23 | |
17 |