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

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -

javascript - How to get D3 Tree link text to transition smoothly? -