Esempio n. 1
0
        private void OnForwardComplete(string response)
        {
            Debug.Log(response);

            // Converts the response string from Forward or Reverse geocoding to result object.
            OnlineMapsWhat3WordsFRResult result = OnlineMapsWhat3Words.GetForwardReverseResult(response);

            OnlineMaps.instance.position = result.geometry;

            Debug.Log(OnlineMapsJSON.Serialize(result).ToString());
        }
Esempio n. 2
0
        private void OnReverseComplete(string response)
        {
            Debug.Log(response);

            // Converts the response string from Forward or Reverse geocoding to result object.
            OnlineMapsWhat3WordsFRResult result = OnlineMapsWhat3Words.GetForwardReverseResult(response);

            words = result.words;

            Debug.Log(OnlineMapsJSON.Serialize(result).ToString());
        }