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

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

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

      1. <tfoot id='yPjxH'></tfoot>

        如何在 Google Map Api V2 Android 中搜索?

        How to Search in Google Map Api V2 Android?(如何在 Google Map Api V2 Android 中搜索?)
        1. <tfoot id='0e0cC'></tfoot>

          <small id='0e0cC'></small><noframes id='0e0cC'>

              <tbody id='0e0cC'></tbody>
                <bdo id='0e0cC'></bdo><ul id='0e0cC'></ul>

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

                  本文介紹了如何在 Google Map Api V2 Android 中搜索?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我正在開(kāi)發(fā)一個(gè) Android 應(yīng)用程序并使用 GoogleMaps API v2.此應(yīng)用程序到目前為止工作,但我想在地圖中搜索路徑:

                  I'm developing an Android application and using GoogleMaps API v2. This application works so far but I want search in the map with a path:

                  截圖:

                  我的代碼:

                  Position_mark = new LatLng(35.7008, 51.437);
                  map.moveCamera(CameraUpdateFactory.newLatLngZoom(Position_mark, 15));
                  map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null);
                  map.setOnMapClickListener(this);
                  map.setOnMapLongClickListener(this);
                  map.setOnMarkerDragListener(this);
                  

                  ...

                  @Override
                  public boolean onCreateOptionsMenu(Menu menu) {
                      //Used to put dark icons on light action bar
                  
                      mGoItem = menu.add(0, Delete_ITEM_ID, 0, null);
                      mGoItem.setIcon(R.drawable.ic_launcher)
                             .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
                  
                      SearchView searchView = 
                          new SearchView(getSupportActionBar().getThemedContext());
                      searchView.setQueryHint("Search for Places…");
                      searchView.setIconified(false);
                  
                      menu.add("Search")
                          .setIcon(R.drawable.abs__ic_search)
                          .setActionView(searchView)
                          .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
                  
                      searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
                  
                          @Override
                          public boolean onQueryTextSubmit(String newText) {
                              return true;
                          }
                  
                          /**
                           * Called when the query text is changed by the user.
                           * @param newText the new content of the query text field.
                           * @return false if the SearchView should perform the 
                           * default action of showing any suggestions if available, 
                           * true if the action was handled by the listener.
                           */
                          @Override
                          public boolean onQueryTextChange(String newText) {
                              Toast.makeText(getApplicationContext(), newText, 1).show();
                              return true;
                          }
                      });
                  
                      return true;
                  }
                  
                  @Override
                  public void onMapClick(LatLng point) {
                      // TODO Auto-generated method stub
                      // tvLocInfo.setText(point.toString());
                      map.animateCamera(CameraUpdateFactory.newLatLng(point));
                      map.clear();
                  
                      Marker Kiel = map.addMarker(new MarkerOptions()
                          .position(point)
                          .title("Kiel")
                          .snippet("Kiel is cool").draggable(true)
                          .icon(BitmapDescriptorFactory
                          .fromResource(R.drawable.ic_launcher)));
                  }
                  

                  我使用 ActionBarSherlockSearchView 進(jìn)行搜索.如何在 GoogleMaps API 中搜索路徑不是緯度或經(jīng)度?

                  I use ActionBarSherlock and SearchView for searching. How to search in GoogleMaps API with path not latitute or longitude?

                  推薦答案

                  您可以使用地理編碼來(lái)搜索或查看這個(gè)使用 json 解析 GoogleMaps 的精彩教程.

                  You can use geocoding to search or see this nice tutorial which uses json parsing GoogleMaps.

                  • 添加Google Places Autocomplete API 作為 Android 搜索對(duì)話框中的自定義建議

                  這篇關(guān)于如何在 Google Map Api V2 Android 中搜索?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經(jīng)度計(jì)算 X 和 Y)
                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  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 返回負(fù)速度)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測(cè)位置提供者?GPS 或網(wǎng)絡(luò)提供商)

                • <legend id='4caj1'><style id='4caj1'><dir id='4caj1'><q id='4caj1'></q></dir></style></legend>

                  <small id='4caj1'></small><noframes id='4caj1'>

                • <tfoot id='4caj1'></tfoot>

                  • <bdo id='4caj1'></bdo><ul id='4caj1'></ul>

                              <tbody id='4caj1'></tbody>
                            <i id='4caj1'><tr id='4caj1'><dt id='4caj1'><q id='4caj1'><span id='4caj1'><b id='4caj1'><form id='4caj1'><ins id='4caj1'></ins><ul id='4caj1'></ul><sub id='4caj1'></sub></form><legend id='4caj1'></legend><bdo id='4caj1'><pre id='4caj1'><center id='4caj1'></center></pre></bdo></b><th id='4caj1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4caj1'><tfoot id='4caj1'></tfoot><dl id='4caj1'><fieldset id='4caj1'></fieldset></dl></div>
                            主站蜘蛛池模板: 亚洲激情片 | 成人网战| 日韩视频免费大全中文字幕 | 福利小视频| 中文字幕在线观看亚洲 | 五月在线视频 | 亚洲看片| 亚洲欧美综合另类 | 欧美日韩精品一区二区在线播放 | 在线观看h视频 | 69av在线播放| 国产天天操| 亚洲精品自拍视频 | 超碰人人人 | 欧美日韩四区 | 偷偷操网站 | 国产欧美日韩综合 | av网址在线 | 免费在线观看www | 伊人国产女 | 天天操天天碰 | 亚洲免费视频一区 | 久久久久久久久国产精品 | 一级毛片国产 | 又大又黄又爽 | 91白浆| 成人毛片一区二区三区 | 久久香蕉网 | 成 人 黄 色 片 在线播放 | 在线看的av | 成 人 黄 色 片 在线播放 | 久久久久网 | 欧美精品www | 日韩中文av | 久久久久毛片 | 国产欧美精品一区二区三区 | 波多野吉衣一二三区乱码 | 亚洲狠狠干 | 国产精品久久久久久中文字 | 亚洲午夜18毛片在线看 | 久久久成人精品 |