K
K
keslo2014-04-28 14:07:35
JavaScript
keslo, 2014-04-28 14:07:35

How to get json data from Yandex.Maps?

Good afternoon, ladies and gentlemen!
I'm not strong in JS, and especially in matters of obtaining data from other domains.
So:

  • We all know that Yandex maps can provide data in the form of JSON upon request.
  • After that, it would be necessary to get this data so that you can work with it.

Question:
  • How can I upload JSON data from Yandex (given that we know where to look for JSON) so that we can work with this data?

Simply put, I need to somehow assign / receive JSON data to a variable in my script so that I can continue to use the data from it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-04-28
@SashaSkot

api.yandex.ru/maps/jsbox/2.1
and in general in JS there are no data types as such, everything dances from object. Therefore, you can push any answer into any variable. Then run around this object and its fields and twist everything you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question