How to use geocodes instead of address in map mash-up?

 

Question:

How to use geocodes (latitude and longitude) instead of address in map mash-up?

 

Answer:

General instruction for map mashup are at http://howto.caspio.com/extensions/maps/map-mashup-instructions.html, however, to use latitude and longitude instead of address use the code segment below in steps 1.3.2 and 1.4.2 of the instruction at link above:

Find this code:

[@field:Address], [@field:City], [@field:State] [@field:Zip]

Replace with new code:

[@field:Lat],[@field:Long]

Make sure this change is applied to both places where the old code appears and that you replace lat and long with the actual table field names for latitude and longitude.

using lat/long

Additional Customization for Google maps only:

If you would like the points on the map to load faster, then you can also perform the following step:

Find the following code segment on the 2.2.1 section of the instructions:

<script type="text/javascript" src="http://lib.caspio.com/pub/mashup/caspio_mashupsv4_jq.js"></script>

Replace with new code:

<script type="text/javascript" src="http://lib.caspio.com/pub/mashup/caspio_mashupsv4_jq_g.js"></script>