0

I have tried to fix this problem but can't make it to work. I have intalled all the data in my computer, tried a json file (.php), but can't figure it out. I have also tried the CSV format, but it didn't work. Where is my mistake?
This is from the Google tutorial, documentation hereClick Here :

  $.getJSON('https://storelocator-go-demo.appspot.com/query?callback=?', {
    lat: center.lat(),
    lng: center.lng(),
    n: bounds.getNorthEast().lat(),
    e: bounds.getNorthEast().lng(),
    s: bounds.getSouthWest().lat(),
    w: bounds.getSouthWest().lng(),
    audio: features.contains(audioFeature) || '',
    access: features.contains(wheelchairFeature) || ''
  }, function(resp) {
    var stores = that.parse_(resp.data);
    that.sortByDistance_(center, stores);
    callback(stores);
  });

I have just tried to put my .php file instead of the url above. Doesn't work (just removed above url by my 'locationsJSON.php', just like that. Could someone help me with that?
Thank you so much for your time ! The CSV route is not working either. Really frurtrating.

Edited by pritaeas: Moved.

1
Contributor
1
Reply
11
Views
4 Years
Discussion Span
Last Post by Gloak
0

CSV file: don't use MS microsoft. Use Notepad to save the file.
As for the Json... still working...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.