Jump to content

aefax

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

aefax's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, Is there a way that I can get the java code for the map mashup modified to add a KML layer (or two) to the map? It seems as though this should be possible since google maps allow for them to be overlayed. Thanks!
  2. Hello, I would like to place the results of an API request into Caspio table record fields. I have been successful in accomplishing this with google address geocoding. However, I would like to use a reverse geocoding API from the Census Bureau and I cannot insert the results. I seem to be able to receive the proper response using the Chrome console. But, I cannot receive the request and insert it into a table record field. Right now, I am just to try to insert one response value. Below is the script that I am inserting into the Footer (with fixed lat/long values to test). Thanks, Anthony <script> var longitude = '-78.8904516' var latitude = '36.0054348' var url1 = 'https://geocoding.geo.census.gov/geocoder/geographies/coordinates?x=' + longitude + '&y=' + latitude + '&benchmark=4&vintage=4&layers=10&format=jsonp' function gogeo() { $.ajax({ url: url1, dataType: 'jsonp', success: function(Response) { console.log(Response); successCallback(Response) }, error: function(error) { console.log(error); } }); return Response.result; function successCallback(Response){ var geoid1 = Response.result.geographies["Census Block Groups"]["0"].GEOID; geoid1 = Number(geoid1); document.getElementById("InsertRecordgeoid").value =geoid1; } } gogeo() </script>
×
×
  • Create New...