First of all I’m new on skuid… I tried the simple map component and I make ir working. But it doesn’meet my requirements. This component is static (use of ) I want to use google map with a div so the user can choose the mode (satelitte,…) the javascript for google is var map; function initialize() { var mapOptions = { zoom: 8, center: new google.maps.LatLng(-34.397, 150.644), mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.maps.Map(document.getElementById(‘map-canvas’), mapOptions); } google.maps.event.addDomListener(window, ‘load’, initialize); I put this code in a In-line resource and it works, but how I cany make this line dynamic : center: new google.maps.LatLng(-34.397, 150.644), by replacing the longitude and latitude by the values of the current record? I have no clue on the best way to do it (inline snippets,…)? Thanks for your help
Question
Add an interactive google map component to a detail Page
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

