Help with map displaying Drupal JSON service
Posted by JayCally on July 29, 2010 at 10:25pm
UPDATED
I'm working on adding points to a map from a drupal json service. I have it pulling the data in but its only placing one location and not all of them. Each location should get placed but it isn't. I'm not sure what I am doing wrong. Can anyone help? Below is the code.
Thanks
var lat = '';
var lon = '';
var url = 'http://localhost:8888/testsite/services/json';
var data = [];
var view = new Object;
view.method = 'views.get';
//view.hash = hash;
//view.domain_name = domain;
//view.domain_time_stamp = timestamp;
//view.nonce = nonce;
view.view_name = 'yardsales';