best way to get latlon value in 2sxc8

Dec 10, 2015 at 12:34 PM
Hi Daniel

In v8 the latlon setup is different now, what is the best way to get the latttitude and longtitude values in razor

Dec 11, 2015 at 11:46 AM
Two ways.

Either setup the coordinate-picker to place it inside normal values (yes, you can do that :)) or de-serialize the json. I recommend the normal-values - you can also have them hidden in the UI and still have them filled.
Dec 11, 2015 at 12:02 PM
Ok that will work

for future reference or others people reading this post

Its best not to setup the hidden values as decimals because that gives issues with multi language setups and having "," and "." mixed up. And getting incorrect latlon values best to set it as text values so your lat lon values work in your us apps where decimal = "." and for example dutch apps where decimal = ","