I understand this documentation fine but what I dont understand or see any documentation on is what is mentioned above - 'add JS' to the distance label. You can't add any javascript unless you map the component to the response. I can't map the response as it is two values, lat and lng. I'm returning...
Hi, thanks for the reply. I know how to do the calculation I'm just unclear as to how I set each label in the list. So each response in my list has a lat and lng value. I want to somehow pick these two values up and drop them in to my related distance_label for each list item. As mentioned above it ...
Hi, I am returning a list of items with latitude and longitude values. I have some javascript which calculates the distance from my current location. I have mapped the response and a couple of other fields which is working as expected. What I need to do now is trigger that calculation for each locat...
Thanks that works. Only Issue I have now is that it displays 'preview not ready' in a small box until the google map loads. I have been playing around with $( ":mobile-pagecontainer" ).pagecontainer( "load", "googlemap.html", { role: "page" } ); but it doesn't...
Hi, I have a page which displays a google map component with markers which are loaded on page load via javascript. I would like the map to fill the screen. I have the javascript which will calculate the screen height but I'd like this to happen before the page is actually displayed. My thinking is I...