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

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

    1. <legend id='xO4YV'><style id='xO4YV'><dir id='xO4YV'><q id='xO4YV'></q></dir></style></legend>
    2. <small id='xO4YV'></small><noframes id='xO4YV'>

    3. 在 Google 地圖上制作可點擊的多邊形(適用于 And

      Make clickable polygons on Google Maps (for Android)(在 Google 地圖上制作可點擊的多邊形(適用于 Android))
    4. <small id='hEy4J'></small><noframes id='hEy4J'>

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

        • <legend id='hEy4J'><style id='hEy4J'><dir id='hEy4J'><q id='hEy4J'></q></dir></style></legend>

                本文介紹了在 Google 地圖上制作可點擊的多邊形(適用于 Android)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我有一個城市各個區域的連續 LatLngs.有什么方法可以用它創建可點擊的多邊形.曾經的方法是

                I have continuous LatLngs of various areas in a city. Is there any way I can create clickable polygons with it. Once way to go about would be to

                • 使用可用的 LatLngs 生成多邊形.(我想用顏色編碼在地圖上直觀地顯示多邊形)
                • 設置setOnMapClickListener.
                • 在多邊形內做一個點測試.

                我知道這很幼稚.有哪些替代方法?

                I understand that this is very naive. What are the alternative approaches?

                推薦答案

                我是這樣做的.

                    Polygon polygon = getMap().addPolygon(new PolygonOptions()
                                    .add(new LatLng(12.780712, 77.770956), new LatLng(12.912006, 77.229738), new LatLng(12.412006, 77.629738), new LatLng(12.912006, 77.229738))
                                    .strokeColor(0xFF00AA00)
                                    .fillColor(0x2200FFFF)
                                    .strokeWidth(2)
                    );
                
                
                    polygon.setClickable(true);
                
                    getMap().setOnPolygonClickListener(new GoogleMap.OnPolygonClickListener() {
                        public void onPolygonClick(Polygon polygon) {
                
                            mClusterManager = new ClusterManager<MyItem>(getApplicationContext(), getMap());
                            getMap().setOnCameraChangeListener(mClusterManager);
                            getMap().moveCamera(CameraUpdateFactory.newLatLngZoom(getMap().getCameraPosition().target, getMap().getCameraPosition().zoom));
                
                            try {
                                readItems();
                            } catch (JSONException e) {
                                Toast.makeText(getApplicationContext(), "Problem reading list of markers.", Toast.LENGTH_LONG).show();
                            }
                
                        }
                    });
                

                希望對您有所幫助.

                這篇關于在 Google 地圖上制作可點擊的多邊形(適用于 Android)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                相關文檔推薦

                Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經度計算 X 和 Y)
                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                CLLocation returning negative speed(CLLocation 返回負速度)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                <legend id='vjo2r'><style id='vjo2r'><dir id='vjo2r'><q id='vjo2r'></q></dir></style></legend>
                      • <i id='vjo2r'><tr id='vjo2r'><dt id='vjo2r'><q id='vjo2r'><span id='vjo2r'><b id='vjo2r'><form id='vjo2r'><ins id='vjo2r'></ins><ul id='vjo2r'></ul><sub id='vjo2r'></sub></form><legend id='vjo2r'></legend><bdo id='vjo2r'><pre id='vjo2r'><center id='vjo2r'></center></pre></bdo></b><th id='vjo2r'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vjo2r'><tfoot id='vjo2r'></tfoot><dl id='vjo2r'><fieldset id='vjo2r'></fieldset></dl></div>

                          <bdo id='vjo2r'></bdo><ul id='vjo2r'></ul>
                            <tbody id='vjo2r'></tbody>
                        • <tfoot id='vjo2r'></tfoot>

                        • <small id='vjo2r'></small><noframes id='vjo2r'>

                          主站蜘蛛池模板: 日韩一区不卡 | 国产精品久久久久aaaa | 亚洲一区二区三区国产 | 午夜私人影院在线观看 | 国产午夜av片 | 亚洲精品欧美一区二区三区 | 国产一区二区在线91 | 国产成人精品久久二区二区91 | 久久久久久久久久久久久九 | 日韩电影一区 | 国产激情在线看 | 视频二区在线观看 | 成人欧美一区二区三区黑人孕妇 | 亚洲精品国产第一综合99久久 | 久久精品国产免费 | 岛国av在线免费观看 | 国产精品久久久久久婷婷天堂 | 亚洲综合在线视频 | 中国美女一级黄色片 | 国产亚洲精品美女久久久久久久久久 | 夜操 | xx性欧美肥妇精品久久久久久 | 国产小视频在线 | 国产婷婷精品av在线 | 一区二区三区视频在线 | 天天干天天爱天天爽 | 瑞克和莫蒂第五季在线观看 | 欧美片网站免费 | 国产7777| 久久久成人精品 | 韩日在线| 精品一区二区三区在线视频 | 黄视频免费观看 | а√中文在线8 | 国产成人区 | 欧美色成人 | 嫩草视频在线看 | 成人欧美一区二区三区在线观看 | 久久激情视频 | av黄色免费 | 一级片在线观看视频 |