how do i know whether i can or not use JSON/"Dynamic Script loading" ???
As i wrote before i'd prefer doing it without php. I have an idea generate .js file with points array and include it just like GMaps script :) On 28 окт, 18:12, Andy R <[EMAIL PROTECTED]> wrote: > If you can't to use JSON/"Dynamic Script loading", the you have to use > a XLM proxy on your own server. Simple example in PHP: > <?php > $gnp = $_GET['params']; > $url = 'http://www.yourdataserver.com/'. $gnp; > $ch = curl_init(); > curl_setopt($ch, CURLOPT_URL,$url); > curl_setopt($ch, CURLOPT_HEADER, 0); > curl_exec($ch); > curl_close($ch); > ?> > > On 28 Okt., 15:19, Max Bell <[EMAIL PROTECTED]> wrote: > > > 1. proxy will provide with not actual data i guess? > > 2. this requires server side things and i want this to be done through > > pure HTML because not all partners may have servers access. Only > > iframe? > > > On 28 окт, 17:12, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > On Oct 28, 6:38 am, Max Bell <[EMAIL PROTECTED]> wrote: > > > > > Hi all. > > > > > I'm trying to enable other websites to load my points. > > > > > partnerhttp://aramaki.narod.ru/map_test.html > > > > > xml sourcehttp://motomap.aramaki.ru/new/points/msk > > > > > After generating new key which i did now i have a problem that browser > > > > does not allow loading content from other websites. > > > > > Security Error: Content athttp://aramaki.narod.ru/map_test.htmlmay > > > > not load data fromhttp://motomap.aramaki.ru/new/points/msk. > > > > cross-domain security prevents that. > > > > > is there any way to do it? i guess iframe would work but i'd prefer > > > > doing it through JS > > > > An Xml Proxy. A script with a url in the same domain as the page that > > > relays the data. There are examples on the web. > > > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
