Page 1 of 1
'gmap' has no method??
Posted: Tue Jan 10, 2012 12:35 am
by hurricaneditka16
I'm simply adding a google map widget to a screen then navigating to it from another screen. I've created test apps with no problems but for some reason in this application it doesn't seem to work for me. There is no code or modified settings or anything other than the defaults on the screen with the google map. I'm navigating to that screen with the navigateTo function.
'gmap' has no method??
Posted: Tue Jan 10, 2012 12:44 am
by maxkatz
Try this. Delete the component. Save. Test the app. Then add the component back.
I just placed Google Map component on a screen and it worked for me.
'gmap' has no method??
Posted: Tue Jan 10, 2012 8:19 pm
by hurricaneditka16
tried, same error. like i said i've tried the same thing in other apps with no problem. not sure why in this app, my main one, it's not working. the app is already shared with you called 'My Play Pass' if you want to have a look.
'gmap' has no method??
Posted: Wed Jan 11, 2012 4:16 am
by maxkatz
It works for me, here is a screen shot running your app:
The only thing I changed, I set this screen to be the main screen (Project Project Profile) so when I launch the app, it opens this screen.
'gmap' has no method??
Posted: Thu Jan 12, 2012 4:29 pm
by hurricaneditka16
it works for me too when its the start screen, but doesn't if not.
'gmap' has no method??
Posted: Thu Jan 12, 2012 6:57 pm
by maxkatz
OK, got it. It works if you use standard navigation (non Ajax). Ajax navigation is not yet fully supported (working on it right now) and it looks like some JavaScript code is not run when using Ajax navigation, thus the error.
Note: I set the location to New York, NY