FinTheHuman Posted January 18, 2021 Report Share Posted January 18, 2021 Hello! I have a Report DataPage in Caspio that has a addresses and geolocation, now, what I want is to have a link that redirect to the actual Google Map and PIN it with the address connected to my records. Is this possible? Quote Link to comment Share on other sites More sharing options...
Aether Posted January 18, 2021 Report Share Posted January 18, 2021 Hello @FinTheHuman, Yes, this is possible. You may try this JavaScript code that will get your record's geolocation and PIN it to the Google Map itself. <p><div id="Location"></div></p> <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> $("#Location").html('<a href=" '+ 'https://www.google.com.ph/maps/dir/' + '[@field:Latitude],[@field:Longitude]/' + ' " > Get the Coordinate in Google Map </a>'); </script> You can test it out here: https://c1abv183.caspio.com/dp/48276000a06f576279544ea0bc7d I hope this helps! kpcollier 1 Quote Link to comment Share on other sites More sharing options...
Aether Posted April 29, 2022 Report Share Posted April 29, 2022 Hi! Just to add, Caspio has released a video tutorial about creating map mashup: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.