vonguillo / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

enhance for geoxml3: add proxy #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From:  Thanh Trung Nguyen via email

Here I write you this email to send an enhanced version of GeoXML3.

In this version, allow you to fetch KML file from an external source, a work 
around for the "Same origin policy".

Schema: GeoXML3 <=> proxy <=> KML file

This way, you fetch the KML file using a proxy like php script instead of 
fetching it directly using Ajax.

It's very easy to implement, simply add a correct path to the proxy {"proxy": 
"proxy.php"} to your JSON option.

Original issue reported on code.google.com by geocodezip on 15 Nov 2012 at 1:45

Attachments:

GoogleCodeExporter commented 9 years ago
The example proxy in this issue is fully open, and there are people who will 
tell you (if you have a rather targeted use like always getting from google or 
similar single source) you might want to make it more secure.  See this wiki 
from the geoxml project for additional information:
http://code.google.com/p/geoxml/wiki/Proxy
(and from which I "borrowed" some of the words above, credit to Lance Dyas)

Original comment by geocodezip on 17 Nov 2012 at 12:05

GoogleCodeExporter commented 9 years ago
implemented parserOptions.proxy, revision 109

Original comment by geocodezip on 8 Oct 2013 at 6:04

GoogleCodeExporter commented 9 years ago
Another proxy (from Lance Dyas)
https://code.google.com/p/geoxml/wiki/Proxy

Original comment by geocodezip on 27 Jan 2014 at 2:20