From dc12bf866909b5f69818f3dd24c4c3801c1a9084 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Sun, 10 Sep 2017 19:07:30 -0400 Subject: RT# 76968 - Created new interactive map to select census tract --- httemplate/misc/xmlhttp-censustract.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 httemplate/misc/xmlhttp-censustract.html (limited to 'httemplate/misc/xmlhttp-censustract.html') diff --git a/httemplate/misc/xmlhttp-censustract.html b/httemplate/misc/xmlhttp-censustract.html new file mode 100644 index 000000000..8a7686047 --- /dev/null +++ b/httemplate/misc/xmlhttp-censustract.html @@ -0,0 +1,14 @@ +<% $return %>\ +<%init> + +my $DEBUG = 0; + +my $conf = new FS::Conf; + +my $return = {}; +my $url = "http://data.fcc.gov/api/block/find?format=json&censusYear=" . $cgi->param('census_year') . "&latitude=" . $cgi->param('lat') . "&longitude=" . $cgi->param('lon'); + +use LWP::Simple; +my $return = get $url; + + \ No newline at end of file -- cgit v1.2.1