Search found 6 matches

Go to advanced search

by Paul King
Mon May 12, 2014 11:28 pm
Forum: Issues
Topic: Set label value for each item in a list
Replies: 5
Views: 1676
 
Jump to post

Set label value for each item in a list

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...
by Paul King
Sun May 11, 2014 12:12 am
Forum: Issues
Topic: Set label value for each item in a list
Replies: 5
Views: 1676
 
Jump to post

Set label value for each item in a list

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 ...
by Paul King
Sat May 10, 2014 6:22 am
Forum: Issues
Topic: Google Map pre-load/fetch before display?
Replies: 4
Views: 1599
 
Jump to post

Google Map pre-load/fetch before display?

thanks for this. all working now.

by Paul King
Sat May 10, 2014 6:21 am
Forum: Issues
Topic: Set label value for each item in a list
Replies: 5
Views: 1676
 
Jump to post

Set label value for each item in a list

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...
by Paul King
Mon May 05, 2014 9:05 am
Forum: Issues
Topic: Google Map pre-load/fetch before display?
Replies: 4
Views: 1599
 
Jump to post

Google Map pre-load/fetch before display?

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...
by Paul King
Fri May 02, 2014 3:33 am
Forum: Issues
Topic: Google Map pre-load/fetch before display?
Replies: 4
Views: 1599
 
Jump to post

Google Map pre-load/fetch before display?

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...

Go to advanced search