How to turn API returned json into a map

4 posts / 0 new
Last post
MichaelWood
How to turn API returned json into a map

I see how to do an API call to get an optimized route. It returns a json string (or xml).

But how do you then use the returned json string to create a mapquest map? I want to show my users a map not a json string.


MQBrianCoakley
Here is the quickest way to
Here is the quickest way to do it.

MichaelWood
I discovered that on my own

I discovered that on my own after much poking around. I had gone straight for the API that seemed to focus on what I needed to do but what I really needed was indeed to start with the MapQuest.js API. You guys might want to make your suggestion a little more obvious in the Getting Started area. Just a thought...

Thanks though!

 

 


MQBrianCoakley
Thanks for the suggestion. I
Thanks for the suggestion. I'll pass that on to the team.