A
A
alexeeey_kuznetsov2019-10-27 19:53:13
JavaScript
alexeeey_kuznetsov, 2019-10-27 19:53:13

How to create coordinates for the building entrance arrow in api 2gis?

5db5ca4621ac1479689771.png
You need to connect a map to the site that displays not only the label, but also the arrow of the entrance to the building. With the help of the 2gis widget, this seems to be the choice itself, but when you get the finished code and insert it on the page, this arrow is not there.
I turned to the API, but did not understand how to select the coordinates for the vectors array.
https://api.2gis.ru/doc/maps/ru/manual/dg-entrance...
I understand that if there is one input, then the array will consist of 1 element.
If there is an opportunity to suggest how to do it through the API, then I will be grateful, because I need to change the standard size of the label (need to be increased), if you tell me this, I will be very grateful)
Update: from those. support responded that this is only possible in the paid use of the API.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
grinat, 2019-10-27
@grinat

There is an example right there in the api) But judging by it, you can’t increase the size. Just create a marker in the form of an arrow and attach it.
By the way, I looked at their apish, it looks like they have a forked leaflet under the hood.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question