mapview

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
JayCally's picture

Help with map displaying Drupal JSON service

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';

Read more
Subscribe with RSS Syndicate content