<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — WebGl Routes]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2308&amp;type=atom" />
	<updated>2024-09-04T19:39:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2308</id>
		<entry>
			<title type="html"><![CDATA[WebGl Routes]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9639#p9639" />
			<content type="html"><![CDATA[<p>Hi, i am trying to publish an app that calculates the routes with gps and a city, in unity editor works... but in webgl i got this error about CORS</p><p>Access to fetch at &#039;https: //maps.googleapis.com/maps/api/directions/xml?sensor=false&amp;origin=0,0&amp;destination=Filandia&amp;key=mykey&#039; from origin &#039;MY WEBSITE IP OR DOMAIN&#039; has been blocked by CORS policy: No &#039;Access-Control-Allow-Origin&#039; header is present on the requested resource. If an opaque response serves your needs, set the request&#039;s mode to &#039;no-cors&#039; to fetch the resource with CORS disabled.</p><p>may you have instructions for publish a webgl build with routes of google maps api?</p><p>everything wotks fine in editor but in host or any server, fail with CORS error.</p>]]></content>
			<author>
				<name><![CDATA[darkelle]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=8738</uri>
			</author>
			<updated>2024-09-04T19:39:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9639#p9639</id>
		</entry>
</feed>
