久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='bMdF2'></tfoot>

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

          <bdo id='bMdF2'></bdo><ul id='bMdF2'></ul>
      1. <small id='bMdF2'></small><noframes id='bMdF2'>

      2. <i id='bMdF2'><tr id='bMdF2'><dt id='bMdF2'><q id='bMdF2'><span id='bMdF2'><b id='bMdF2'><form id='bMdF2'><ins id='bMdF2'></ins><ul id='bMdF2'></ul><sub id='bMdF2'></sub></form><legend id='bMdF2'></legend><bdo id='bMdF2'><pre id='bMdF2'><center id='bMdF2'></center></pre></bdo></b><th id='bMdF2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bMdF2'><tfoot id='bMdF2'></tfoot><dl id='bMdF2'><fieldset id='bMdF2'></fieldset></dl></div>

        地圖中瀏覽器的最大 svg 元素數

        maximum number of svg elements for the browser in a map(地圖中瀏覽器的最大 svg 元素數)

          <tbody id='j4seX'></tbody>

            <bdo id='j4seX'></bdo><ul id='j4seX'></ul>

            • <legend id='j4seX'><style id='j4seX'><dir id='j4seX'><q id='j4seX'></q></dir></style></legend>
              • <tfoot id='j4seX'></tfoot>

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

                  <i id='j4seX'><tr id='j4seX'><dt id='j4seX'><q id='j4seX'><span id='j4seX'><b id='j4seX'><form id='j4seX'><ins id='j4seX'></ins><ul id='j4seX'></ul><sub id='j4seX'></sub></form><legend id='j4seX'></legend><bdo id='j4seX'><pre id='j4seX'><center id='j4seX'></center></pre></bdo></b><th id='j4seX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='j4seX'><tfoot id='j4seX'></tfoot><dl id='j4seX'><fieldset id='j4seX'></fieldset></dl></div>
                1. 本文介紹了地圖中瀏覽器的最大 svg 元素數的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用傳單和 d3 創建地圖.地圖上會繪制很多圓圈.在瀏覽器兼容性方面,瀏覽器可以呈現多少 svg 元素存在預期限制.然而,就用戶體驗而言,我希望用戶可以在地圖上看到盡可能多的元素(否則用戶可能需要不斷地放大和縮小,并且需要等待 ajax 返回數據).我需要考慮一些優化(用戶等待時間用戶與服務器查詢負載與瀏覽器可以處理的內容).

                  I am creating a map with leaflet and d3. A lot of circles will be plotted on a map. In terms of browser compatibility, there is an expected limit of how many svg elements the browser can render. In terms of user experience however, I would prefer that the user can see as many elements on the map as possible (otherwise the user might need to zoom in and out constantly and would need to wait for the ajax to return data). There will be some optimisation that I need to consider (user waiting time user vs. server query load vs. what the browser can handle).

                  看情節,服務器返回的點數現在有限制,因此只有一部分地圖被填滿.

                  See plot, there is a limit right now on the number of points that the server returns and thus only a portion of the map is filled.

                  瀏覽器無法在此處處理完全填充的地圖,并且用戶還需要等待服務器響應的時間過長.

                  The browser cannot handle a fully filled map here and the user would need to wait too long for the server response as well.

                  我想我所面臨的問題需要通過回答兩個問題來解決:

                  I suppose the problem that I am faced with needs to be solved by answering two questions:

                  • 對于普通瀏覽器可以處理的地圖上簡單 svg 形狀(圓形)的數量,是否有一個標準?
                  • 在地圖上顯示盡可能多的形狀的最佳技術是什么?

                  我正在考慮以下幾點,但我不確定它是否會有所幫助;

                  I'm considering the following points but I am unsure if it will help;

                  • 用正方形代替圓形
                  • 使用傳單 API 而不是 D3

                  推薦答案

                  籠統地說,您考慮的任何一點都無濟于事.在這兩種情況下,瀏覽器要完成的處理量/要顯示的信息量將大致相同.

                  Speaking in general terms, neither of the points you're considering will help. In both cases, the amount of processing to be done / information to display by the browser will be approximately the same.

                  關于你的第一個問題,我不知道.瀏覽器和平臺之間存在巨大差異(特別是如果您也考慮移動設備),平均幾乎沒有意義.此外,這種情況還在不斷變化.我發現最多大約 1000 個簡單的形狀通常不是問題.

                  Regarding your first question, not that I'm aware of. There are huge variations between browsers and platforms (especially if you consider mobile devices as well) and an average would be almost meaningless. Furthermore, this is changing constantly. I've found that up to about 1000 simple shapes are usually not a problem.

                  為了在地圖上顯示盡可能多的形狀,我會將它們預渲染為位圖圖塊,然后使用傳單 API 或類似 d3.geo.tile 的東西(例如 這里)將其覆蓋在實際地圖上.通過這種方式,您可以輕松擴展到數百萬個點.

                  To show as many shapes as possible on the map, I would pre-render them into bitmap tiles and then use either the leaflet API or something like d3.geo.tile (example here) to overlay it on the actual map. This way you can easily scale to millions of points.

                  這篇關于地圖中瀏覽器的最大 svg 元素數的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Check if a polygon point is inside another in leaflet(檢查一個多邊形點是否在傳單中的另一個內部)
                  Changing leaflet markercluster icon color, inheriting the rest of the default CSS properties(更改傳單標記群集圖標顏色,繼承其余默認 CSS 屬性)
                  Trigger click on leaflet marker(觸發點擊傳單標記)
                  How can I change the default loading tile color in LeafletJS?(如何更改 LeafletJS 中的默認加載磁貼顏色?)
                  Adding Leaflet layer control to sidebar(將 Leaflet 圖層控件添加到側邊欄)
                  Leaflet - get latitude and longitude of a marker inside a pop-up(Leaflet - 在彈出窗口中獲取標記的緯度和經度)
                      <tbody id='JJZHY'></tbody>

                    1. <legend id='JJZHY'><style id='JJZHY'><dir id='JJZHY'><q id='JJZHY'></q></dir></style></legend>

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

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

                        • <tfoot id='JJZHY'></tfoot>
                            <bdo id='JJZHY'></bdo><ul id='JJZHY'></ul>
                          • 主站蜘蛛池模板: 视频在线亚洲 | 亚洲人成人一区二区在线观看 | 一区二区日本 | 在线只有精品 | 成人日b视频 | 日韩不卡视频在线观看 | 精品一二三 | www.日韩在线 | 亚洲精品一区国产精品 | 99热视| 日本人做爰大片免费观看一老师 | 欧美日韩久 | 国产精品一区二区在线免费观看 | 久草在线在线精品观看 | 99久久免费精品国产男女高不卡 | 久久国产精品视频 | 日韩欧美国产一区二区三区 | 黄色一级毛片免费看 | 免费观看一级特黄欧美大片 | 欧美亚洲日本 | 精品一区二区三区在线观看 | 一区二区三区欧美 | av片免费 | 人人操日日干 | 亚洲免费网 | a级大毛片 | 亚洲国产aⅴ成人精品无吗 欧美激情欧美激情在线五月 | 国产二区在线播放 | 欧美一级二级视频 | 国产乱码精品一区二区三区中文 | 国产一区二区三区 | 在线免费观看色 | 日韩成人久久 | 精品国产第一区二区三区 | 欧美综合一区二区三区 | 男女污污网站 | 最近最新中文字幕 | 国产精品亚洲第一区在线暖暖韩国 | 久久精品国产久精国产 | 91免费福利视频 | 亚洲国产精品一区二区第一页 |