O
O
oksana922016-04-16 17:53:14
css
oksana92, 2016-04-16 17:53:14

How to display a label on a Yandex map on top of a layer?

Good evening!
How to display a label on a Yandex map on top of a layer?
My code is https://jsfiddle.net/d6sqryan/

Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Inchin ☢, 2016-04-16
@In4in

For example, no way.
But you can make a similar effect like this: https://jsfiddle.net/d6sqryan/1/

M
marrs, 2016-04-17
@marrs

At Google, you can create a custom marker and position it as you like, I'm not sure about Yasha.

// marker || default: hidden
    $('<div/>').addClass('om').appendTo(map.getDiv()).click(function(){
      var that = $(this); if(!that.data('win')) { that.data('win',new google.maps.InfoWindow({content:'Это Вы'})); that.data('win').bindTo('position',map,'center'); }
      that.data('win').open(map);
    });

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question