How i can use static maps of google maps inside unity3d?
I can’t believe that unity team don’t read all post about this argument.
I want know why google maps can’t be inside unity apps…
So i think if i want use maps inside an apps i must use browser with connection active?
import System.IO;
private var url = "";
var lat : float;
var lon : float;
var myzoom:int;
function google(){
url="http://maps.google.com/maps/api/staticmapcenter="+lat+","+lon+"&zoom="+myzoom.ToString()+"+&size=512x512&maptype=hybrid&sensor=false;
var www : WWW = new WWW(url);
yield www;
renderer.material.mainTexture=www.texture;
}
1 Like