A
A
Al fox2014-10-09 07:31:26
HTML
Al fox, 2014-10-09 07:31:26

How to hide keywords behind the map widget?

In general, on the site page, you need to hide the keywords behind the map widget. Site screenshot and widget code are attached. I am also interested in whether this will affect promotion in yandex and google?
11166ce12dc14856bc70b6ab1c2b011f.png

<p><span style="text-decoration: underline;"><span style="font-size: medium;">Карта проезда:</span></span></p>
<p><span style="text-decoration: underline;"><span style="font-size: medium;"><br /></span></span></p>
<p><a id="firmsonmap_biglink" href="http://maps.2gis.ru/#/?history=project/surgut/center/73.396839566942,61.256870799752/zoom/18/state/widget/id/70000001006554889/firms/70000001006554889">Перейти к большой карте</a></p>
<script src="http://firmsonmap.api.2gis.ru/js/DGWidgetLoader.js" type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
new DGWidgetLoader({"borderColor":"#a3a3a3","width":"720","height":"400","wid":"b5c72b322fbc7775c0b327732b780ab1","pos":{"lon":"73.396839566942","lat":"61.256870799752","zoom":"18"},"opt":{"ref":"hidden","card":["schedule"],"city":"surgut"},"org":[{"id":"70000001006554889"}]});
// ]]></script>
<noscript style="color: #c00; font-size: 16px; font-weight: bold;">Виджет карты использует JavaScript. Включите его в настройках вашего браузера.</noscript>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Optimus, 2014-10-09
Pyan @marrk2

Why exactly for the map widget, can you just overlay DIVs?

A
Aligatro, 2014-10-09
@Aligatro

I think it is enough to prescribe the highest z-index in the map styles, and place a relative or absolute div block in place under the maps in which to place all the keywords (of course, set the z-index to this block lower than that of the maps), thus, theoretically, you can will hide keywords from the user. But it would be easier if you threw off the link of the working draft.
As for the PS, it is unlikely that they will approve such a technique, if my memory serves me, then this method of black optimization is called cloaking , in your case, of course, it is not in its original form as it is meant, but in my opinion the same is only in profile.
upd: or in general, just place the block right behind the cards and set the minimum opacity for the block.
upd2:Here is a link to a working example as you requested. codepen.io/anon/pen/fLBGh

K
Konstantin Andreevich, 2014-10-09
@reffy

Search engines really don't like it when keys\text or even links are hidden. And anyway, what's the point of hiding the keys?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question