Noticias

¡RECUERDA QUE SI ERES UN NUEVO USUARIO, DEBES PRESENTARTE PARA PODER PUBLICAR MENSAJES! | TENEMOS CANAL OFICIAL DE TELEGRAM: t.me/unity3dspain

Url de Google Static Maps no soportada en dispositivos iOS

Iniciado por Argo214, Agosto 29, 2016, 06:36:04 PM

Tema anterior - Siguiente tema
Hola! En un juego estoy intentando cargar un mapa (Google Static Map) mediante la url que pongo a continuación. El mapa se carga sin problemas en el editor y en los dispositivos Android, pero NO en los dispositivos iOS. No sé a qué se debe. En Xcode aparece el error "unsupported URL". 
 
url= "http://maps.google.com/maps/api/staticmap?center="+fixLat+","+fixLon+"&zoom="+zoom+"&scale=2&size=640x640&style=feature:all|element:geometry|hue:0x00ffec&style=feature:all|element:labels|visibility:off&sensor=false&key="+key;
 
 
 
He empleado otra url sin aplicar estilos al mapa y sí funciona en iOS. No sé cómo conseguirlo. A ver si me podéis ayudar. Gracias!!
 
url= "http://maps.google.com/maps/api/staticmap?center="+fixLat+","+fixLon+"&zoom="+zoom+"&scale=2&size=640x640&format=jpg&maptype="+maptype[index]+"&sensor=false&key="+key;

Etiquetas: