I would recommend you to use this approach, we will soon remove the part of the documentation you are refering to.
I order to report location, you will need to enable the location sensor, report it in a Stream (thanks to an Observation) and collect data from that stream as Telemetry forwarded to IoT Central.
In IoT Central, you need to create a Location Telemety item as part of your device template