Parse Exported JSON To Web


(William Troiano) #1

Does anyone have a working example/tutorial of using an exported JSON Or XML map to render map on a webpage? I have am having tremendous difficulty getting my map to render.

All I get is a whitepage and if i right click to view image I get: blob:null/e54adf82-5552-4438-907f-97afcc9e2a99


(Thorbjørn Lindeijer) #2

I’m not very familiar with HTML5 and don’t know a tutorial to point at, but you should probably split up your problem in two steps:

  • Obtaining the information from the JSON or XML map and determining where to draw which image.
  • Being able to draw images at all.

If you’re getting only a white page, then you should start with the second step and make sure that you know how to render an image, before you try to look into parsing the JSON map.

You can also look at the multitude of frameworks available that have already implemented a convenience layer for rendering maps using HTML5. Either to use it directly or to learn from it.


(William Troiano) #3

IM such a backend developer. When it gets to JQUERY and frontend things I usually hire it out. But I want to learn this, I have a killer idea I am trying to do and don’t know where to go.