E
E
ettaluni2021-02-25 09:36:55
JavaScript
ettaluni, 2021-02-25 09:36:55

How to find out 2gis coordinates by layout?

Good day! Faced difficulties in extracting coordinates from maps on the page. In particular, this applies to 2gis. Previously, when working with yandex, it was always possible to extract coordinates from tag attributes, but 2gis does not have this. It just has a set of divs and that's it, no frames, no initial initiation line.
Actually the main goal is to extract the coordinates from 2gis.
I see only one solution to execute js code on the page, but again, global methods are needed. Because Vasya, who made the page, could write: Is there a way to get the coordinates through the plug-in, without knowing the variable in which Vasya placed the map? Maybe there is a common stack of cards, cash or what? var MyLittleGis = 2gis.init();

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question