flash loading "my maps" rss from google maps
I creating a flash app that loads a RSS of a plublic map with a custom route path and draws lines from the coordinates on a Away3D Sphere.
It开发者_高级运维 works preety well when I'm testing locally, but when I publish online, the app can't load the RSS. I think Google Maps disable access from other domains.
Does anyone knows another way to access this map RSS directly from google? Now to fix this, I'm hosting the RSS.
Thanks in advance
Marlus
It may be easiest for you to simply implement a PHP proxy on the server that retrieves the RSS file for you. A concise article explains it here. I don't recall definitively, but I don't think Google Maps keeps a crossdomain file that would let you get at this feed otherwise.
SOLVED
changed the RSS url on the xml_proxy.php file:
<?php
$url = "http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&output=georss&msid=".$_GET['msid'];
$data = file_get_contents($url);
print $data;
?>
精彩评论