Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

web site not showing data #23

Open
ghost opened this issue Jun 10, 2016 · 2 comments
Open

web site not showing data #23

ghost opened this issue Jun 10, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 10, 2016

phone app working check
server getting data from phone check
connect to web page check
data displayed on web page nope
I get a error

{"success":false, "error":"Recheck params provided. Params required are lat, lng, and radius"}

how to fix and get gmaps to work ?

@ctetreault
Copy link
Contributor

Hi there, a few things:

  • Start by checking that you have a proper Content Security Policy setup (CSP)
  • Check that you're sending the right information to Gmaps. The error message seems to say that it's expecting some parameters that are not there, or are not getting there.
  • There's a sample app that shows using Google Maps here. Might be good to reference, I think you may be trying to do something similar to this call in User.html/UserCtrl.js:

https://maps.googleapis.com/maps/api/staticmap?size={{Screen.innerWidth}}x640&markers={{address}}&center={{address}}&zoom=3

Lastly, head over to our Forums and we'll help you out more -> https://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev

-chad

@ghost
Copy link
Author

ghost commented Jun 13, 2016

thank you for the reply I did find the problem it was

line 58 in the nearby.php file
I just deleted it and it worked for firefox and explorer by not chrome
not sure about the chrome not loading the page

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant