Search found 10 matches

Go to advanced search

by Shruti Desai
Sat May 02, 2015 5:16 pm
Forum: Issues
Topic: moment.js doesn't work on ios
Replies: 1
Views: 326
 
Jump to post

moment.js doesn't work on ios

I'm using moment.js to format a date I get from the db service.

It works fine if I test the app in the browser but doesn't work if I test my app on the phone.

var availableAtDate = moment(new Date(newData.availableAt)).calendar();

Any thoughts?

by Shruti Desai
Sat May 02, 2015 11:09 am
Forum: Issues
Topic: map gets truncated after hide() and show()
Replies: 11
Views: 1220
 
Jump to post

map gets truncated after hide() and show()

Appery support - Did you guys get a chance to look at this? Seems like two people are having the same problem.

by Shruti Desai
Thu Apr 30, 2015 11:00 am
Forum: Issues
Topic: map gets truncated after hide() and show()
Replies: 11
Views: 1220
 
Jump to post

map gets truncated after hide() and show()

I don't see any error on the console. I've tried a lot of things - 1) google.maps.event.trigger(map, "resize") after show() 2) refresh I've been struggling with this for two days. Would you be able to look at the code? Link - http://appery.io/app/view/67e71d0a-89... enter zipcode 55401 whi...
by Shruti Desai
Wed Apr 29, 2015 7:00 pm
Forum: Issues
Topic: map gets truncated after hide() and show()
Replies: 11
Views: 1220
 
Jump to post

map gets truncated after hide() and show()

Also, I'm losing all the markers when i go back to the map from a subpage.

Image

by Shruti Desai
Wed Apr 29, 2015 6:59 pm
Forum: Issues
Topic: Map won't center
Replies: 4
Views: 497
 
Jump to post

Map won't center

Thanks Bruce. I appreciate it.
I put this bug on hold and started working on some other bugs. I'll try the solution out when I get back to this one.

by Shruti Desai
Wed Apr 29, 2015 6:53 pm
Forum: Issues
Topic: map gets truncated after hide() and show()
Replies: 11
Views: 1220
 
Jump to post

map gets truncated after hide() and show()

I have a map in my app which works fine. I can toggle between views but if I go into a subpage and come back then the map disappears when I hide it and then show it.

Image

by Shruti Desai
Sun Apr 26, 2015 2:46 pm
Forum: Issues
Topic: Map won't center
Replies: 4
Views: 497
 
Jump to post

Map won't center

Yes I'm sending a LatLng object.

codenew google.maps.LatLng(44.983206, -93.265909)/code

by Shruti Desai
Sun Apr 26, 2015 12:55 pm
Forum: Issues
Topic: Map won't center
Replies: 4
Views: 497
 
Jump to post

Map won't center

Hi,

I'm trying to show some markers on the map and I need it to center to a marker.
I tried 1) map.PanTo 2) map.setCenter 3) Tried setting the center in options 4) Tried doing a map.refresh() on page show.
None of the solutions work for me.

by Shruti Desai
Wed Apr 15, 2015 2:57 pm
Forum: Issues
Topic: moment.js - 'Uncaught ReferenceError: moment is not defined"
Replies: 8
Views: 1495
 
Jump to post

moment.js - 'Uncaught ReferenceError: moment is not defined"

I'm trying to use moment.js in my script but get a 'Uncaught ReferenceError: moment is not defined' error. I made sure that it was present in the libraries under Server Code. What am I doing wrong?

Go to advanced search