<tfoot id='Ig0jk'></tfoot>
  • <i id='Ig0jk'><tr id='Ig0jk'><dt id='Ig0jk'><q id='Ig0jk'><span id='Ig0jk'><b id='Ig0jk'><form id='Ig0jk'><ins id='Ig0jk'></ins><ul id='Ig0jk'></ul><sub id='Ig0jk'></sub></form><legend id='Ig0jk'></legend><bdo id='Ig0jk'><pre id='Ig0jk'><center id='Ig0jk'></center></pre></bdo></b><th id='Ig0jk'></th></span></q></dt></tr></i><div id='Ig0jk'><tfoot id='Ig0jk'></tfoot><dl id='Ig0jk'><fieldset id='Ig0jk'></fieldset></dl></div>

      <bdo id='Ig0jk'></bdo><ul id='Ig0jk'></ul>
  • <small id='Ig0jk'></small><noframes id='Ig0jk'>

        <legend id='Ig0jk'><style id='Ig0jk'><dir id='Ig0jk'><q id='Ig0jk'></q></dir></style></legend>

      1. Leaflet - 将控件放在 div 地图之外

        时间:2023-08-08
        <tfoot id='UP4Rw'></tfoot>
          <legend id='UP4Rw'><style id='UP4Rw'><dir id='UP4Rw'><q id='UP4Rw'></q></dir></style></legend>
        1. <i id='UP4Rw'><tr id='UP4Rw'><dt id='UP4Rw'><q id='UP4Rw'><span id='UP4Rw'><b id='UP4Rw'><form id='UP4Rw'><ins id='UP4Rw'></ins><ul id='UP4Rw'></ul><sub id='UP4Rw'></sub></form><legend id='UP4Rw'></legend><bdo id='UP4Rw'><pre id='UP4Rw'><center id='UP4Rw'></center></pre></bdo></b><th id='UP4Rw'></th></span></q></dt></tr></i><div id='UP4Rw'><tfoot id='UP4Rw'></tfoot><dl id='UP4Rw'><fieldset id='UP4Rw'></fieldset></dl></div>

          <small id='UP4Rw'></small><noframes id='UP4Rw'>

            <tbody id='UP4Rw'></tbody>
          • <bdo id='UP4Rw'></bdo><ul id='UP4Rw'></ul>

                  本文介绍了Leaflet - 将控件放在 div 地图之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我制作了以下应用程序:http://lae2.alwaysdata.net/carte/exppng/

                  I made the following app : http://lae2.alwaysdata.net/carte/exppng/

                  我想将我的两个控件(leaflet-control-zoom 和leaflet-control-layers)放在 div 地图之外.例如,我想在灰色区域内使用它们.

                  I'd like to put my two controls (leaflet-control-zoom and leaflet-control-layers) outside the div map. I'd want to use them inside the grey area for example.

                  我想知道这是否可能:我寻找了一些技巧,但我没有找到任何东西......

                  I'd like to know if it's possible : I looked for some tricks but I didn't find anything...

                  如果可以,你能帮帮我吗?

                  If it is could you help me ?

                  谢谢!

                  推荐答案

                  您可能会对以下帖子感兴趣:

                  You would probably be interested in the following posts:

                  • 获取Leaflet的当前比例值
                  • https://gis.stackexchange.com/questions/83942/display-a-control-zoom-bar-outside-map-container-in-leaflet

                  本质上:

                  document.getElementById("myNewContainerId").appendChild(
                      L.control.layers(base, overlays).onAdd(map)
                  );
                  

                  外部来源:

                  • https://groups.google.com/forum/#!searchin/leaflet-js/control$20onadd/leaflet-js/rKMZX3PKFuI
                  • https://groups.google.com/forum/#!searchin/leaflet-js/control$20onadd/leaflet-js/rKMZX3PKFuI

                  这篇关于Leaflet - 将控件放在 div 地图之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在传单地图中处理 ajax 请求 下一篇:在传单中设置图层的缩放级别

                  相关文章

                  最新文章

                    <legend id='3vcjs'><style id='3vcjs'><dir id='3vcjs'><q id='3vcjs'></q></dir></style></legend>

                    <tfoot id='3vcjs'></tfoot>
                    <i id='3vcjs'><tr id='3vcjs'><dt id='3vcjs'><q id='3vcjs'><span id='3vcjs'><b id='3vcjs'><form id='3vcjs'><ins id='3vcjs'></ins><ul id='3vcjs'></ul><sub id='3vcjs'></sub></form><legend id='3vcjs'></legend><bdo id='3vcjs'><pre id='3vcjs'><center id='3vcjs'></center></pre></bdo></b><th id='3vcjs'></th></span></q></dt></tr></i><div id='3vcjs'><tfoot id='3vcjs'></tfoot><dl id='3vcjs'><fieldset id='3vcjs'></fieldset></dl></div>

                    <small id='3vcjs'></small><noframes id='3vcjs'>

                      • <bdo id='3vcjs'></bdo><ul id='3vcjs'></ul>