Z
Z
zhanatbek2015-05-31 19:47:20
iOS
zhanatbek, 2015-05-31 19:47:20

Yandex api. Marks for several hours?

I'm not good at programming, can anyone help me please.
Functional:

  • Users see all markers on the map
  • Each user can post a label

Is it possible to implement one common card for all users? i.e. if the user marked a mark on the map, then this mark will be displayed to everyone who looks at the map.
Send links who met with this please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kononenko, 2015-05-31
@premas

Well, take a Yandex card. Hang a click handler on it, which initiates some kind of prompt-window where the user enters a description of the label. Save lat, lng click location and label description on your server and just take this data and display it when loading the map.
If you need to display the label for n-hours from the moment of publication, then you can simply put this data into the radish and set the expiration date to n hours and they will self-destruct at the right time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question