WWW Request for image error, unsupported URL

Hello, I’m trying to download a Google Static Map image to my mobile app. This is working properly on Android and Windows, unfortunately I’m getting the unsupported URL error on iOS. Here is the code;

IEnumerator GetGoogleMapsImage()
    {
		WWW request = new WWW(WWW.EscapeURL("https://maps.googleapis.com/maps/api/staticmap?center=" + MapCenter.Latitude + "," + MapCenter.Longitude + "&zoom=15&size=1280x1280&maptype=hybrid&sensor=false&style=feature:all|element:labels|visibility:off&scale=4&key="+apikeyGoogle));
		while (!request.isDone) {
			Debug.Log ("Downloading");
			yield return 0;
		}

		if (request.error != null) {
			Debug.Log (request.error+": "+request.url);
		}

		if (request.isDone && notLoaded) {
			Debug.Log ("IMAGE!");
			Debug.Log (request.texture.height);
			mapDownloadOriginal = request.texture;
			Map.sprite = Sprite.Create (mapDownloadOriginal, new Rect (0, 0, mapDownloadOriginal.width, mapDownloadOriginal.height), new Vector2 (0.5f, 0.5f));

			mapBounds = MercatorProjection.GetBounds (MapCenter, 15, 640, 640);

			onePercentCoordinates = new Coordinates ();
			onePercentCoordinates.Latitude = (mapBounds.NorthEast.Latitude - mapBounds.SouthWest.Latitude) / 100;
			onePercentCoordinates.Longitude = (mapBounds.NorthEast.Longitude - mapBounds.SouthWest.Longitude) / 100;

			StartCoroutine (PlaceMarker ());

			StartCoroutine (PlaceMarkerBlue ());

			notLoaded = false;
		}

		yield return 0;
    }

Does somebody know any solution? Or maybe an alternative to get the image in my app?

you might try using the newer UnityWebRequest framework instead of WWW.
it’s significantly more modern.

but iOS might still complain.

what’s the exact results of EscapeURL ?
what happens if you try to enter that URL right into safari ?