javascript - Offline map rendering on Android Tab -


i have been trying render map offline on android device. trying use d3 , leads , suggestions go long way in helping me out.

can use d3 , geojson/topojson files of region plot map on browser? however, there way without app server? of d3 reads json through function d3.json() needs app server in itself. there way in d3 can read json file directly local file path instead of url?

any other direction approach problem appreciated. awaiting response.

regards, jones

this possible. have done this.

for me, used app server pushed json string html , fetched directly using javascript. code this:

var root = treedata = json.parse($('#json').val());  function visit(parent, visitfn, childrenfn) { //....  visit(treedata, function(d) { //.... 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -