The Script in question is this one:`using UnityEngine;
using System.Collections;
public class GoogleMap : MonoBehaviour
{
public enum MapType
%|-1957000663_2|%
RoadMap,
Satellite,
Terrain,
Hybrid
%|-632995662_7|%
public bool loadOnStart = true;
%|-1464234556_9|%
public GoogleMapLocation centerLocation;
public int zoom = 13;
%|-1414845350_12|%
public int size = 512;
public bool doubleResolution = false;
public GoogleMapMarker markers;
public GoogleMapPath paths;
%|1077180128_17|%
{
if (loadOnStart) Refresh();
%|1841942021_20|%
public void Refresh()
{
if (autoLocateCenter && (markers.Length == 0 && paths.Length == 0))
%|-122252710_24|%
%|-1704368595_25|%
}
%|-2091729669_27|%
}
%|-1002132817_29|%
{
%|1805603506_31|%
%|1791570299_32|%
%|-777112843_33|%
%|-1967131424_34|%
%|-1189092094_35|%
%|543796066_36|%
else
{
qs += “center=” + WWW.UnEscapeURL(string.Format(“{0},{1}”, centerLocation.latitude, centerLocation.longitude));
}
qs += "&zoom=" + zoom.ToString();
}
qs += "&size=" + WWW.UnEscapeURL(string.Format("{0}x{0}", size));
qs += "&scale=" + (doubleResolution ? "2" : "1");
qs += "&maptype=" + mapType.ToString().ToLower();
var usingSensor = false;
#if UNITY_IPHONE
usingSensor = Input.location.isEnabledByUser && Input.location.status == LocationServiceStatus.Running;
#endif
%|2136518741_48|%
foreach (var i in markers)
{
qs += "&markers=" + string.Format("size:{0}|color:{1}|label:{2}", i.size.ToString().ToLower(), i.color, i.label);
foreach (var loc in i.locations)
%|-1310872866_53|%
if (loc.address != “”)
%|-1553893620_55|%
%|966862394_56|%
%|2012631069_57|%
%|-1709193653_58|%
}
%|-126405656_60|%
{
%|202957784_62|%
%|1969094223_63|%
%|-595190589_64|%
{
if (loc.address != “”)
qs += “|” + WWW.UnEscapeURL(loc.address);
else
%|-1988163170_69|%
%|-1309563583_70|%
%|30247691_71|%
var req = new WWW(url + "?" + qs);
%|1900091126_73|%
%|697756430_74|%
%|-738730212_75|%
}
public enum GoogleMapColor
{
black,
%|-1366980874_77|%
%|-482055578_78|%
purple,
yellow,
%|137787309_81|%
gray,
orange,
%|-1282336543_84|%
white
}
[System.Serializable]
public class GoogleMapLocation
{
%|-1729647901_86|%
%|538392101_87|%
public float longitude;
}
[System.Serializable]
public class GoogleMapMarker
{
public enum GoogleMapMarkerSize
{
Tiny,
%|-244782460_92|%
Mid
}
public GoogleMapMarkerSize size;
public GoogleMapColor color;
%|614298737_97|%
%|-552143230_98|%
}
[System.Serializable]
public class GoogleMapPath
{
public int weight = 5;
public GoogleMapColor color;
public bool fill = false;
public GoogleMapColor fillColor;
public GoogleMapLocation locations;
}
What I want to do is provide an Input Field that will allow the user to enter the Latitude and Longitude values for Map Center in a UI Input field.
So far nothing I have tried does what is desired. I want the user to be able to enter and update map after filling in Latitude and Longitude values.
`