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

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

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

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

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

      MapKit 中的 MapTypeStyle

      MapTypeStyle in MapKit(MapKit 中的 MapTypeStyle)
      • <bdo id='sLkP1'></bdo><ul id='sLkP1'></ul>

              <legend id='sLkP1'><style id='sLkP1'><dir id='sLkP1'><q id='sLkP1'></q></dir></style></legend>
              <tfoot id='sLkP1'></tfoot>

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

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

                <tbody id='sLkP1'></tbody>
                本文介紹了MapKit 中的 MapTypeStyle的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                我想知道是否有任何方法可以配置我們的 MapKit 地圖,就像我們在 Google Maps API 中使用 MapTypeStyle 對象一樣.

                I wonder to know if there is any way to configure our MapKit maps like we do with the MapTypeStyle object in the Google Maps API.

                如果我參考 Apple 文檔,MKMapView 有一個 mapType 選項,它采用 MKMapType 常量 但沒有樣式參數,例如帶有 MapTypeStyle 和 MapTypeStyler 對于快速地圖定制來說非常強大.

                If I refer to Apple doc's, MKMapView has a mapType option that takes MKMapType constant but no styles parameters like MapOptions with the MapTypeStyle and the MapTypeStyler wich is very powerfull for fast maps customizing.

                所以我的問題是:有沒有辦法用 MapKit 框架實現類似的東西,如果沒有,最好的框架/庫是什么?我正在考慮 MapBox 和類似產品.

                So my question is : Is there any way to achieve something similar with the MapKit framework, if not, what is the best framework/library to do this ? I'm thinking of MapBox and similar products.

                推薦答案

                我的朋友,你有幾個選擇.您可以使用這些框架之一

                There are a few options for you my friend. You could use one of these frameworks

                http://cloudmade.com/products/iphone-sdk

                https://github.com/route-me/route-me

                或者你可以只使用 mapbox.他們的 api 看起來很不錯.或者,您提供自己的地圖圖塊和覆蓋地圖套件.MKOverlayView 中的類似內容

                Or you could just use mapbox. Their api looks pretty good. Alternatively you supply you own map tiles and overlay mapkit. Something like this in a MKOverlayView

                - (void)drawMapRect:(MKMapRect)mapRect zoomScale:(MKZoomScale)zoomScale inContext:(CGContextRef)context {
                
                NSURL* fileURL = [(HeatMap*)self.overlay localUrlForStyle:@"alien" withMapRect:mapRect andZoomScale:zoomScale];
                NSData *imageData = [NSData dataWithContentsOfURL:fileURL ];
                if (imageData != nil) {
                    UIImage* img = [UIImage imageNamed:@"aTileX.png"];
                    // Perform the image render on the current UI context
                    UIGraphicsPushContext(context);
                    [img drawInRect:[self rectForMapRect:mapRect] blendMode:kCGBlendModeNormal alpha:1.0];
                    UIGraphicsPopContext();
                    }
                }
                

                如果你想要不受支持的地形"模式,也可以看看這個http://openradar.appspot.com/9621632

                Also check this out if you want unsupported "terrain" mode http://openradar.appspot.com/9621632

                實際上,我正在執行一個需要在地圖上疊加圖塊的程序.這個例子很有幫助.您需要查看 MKOverlay 和 MKOverlayView.我正在做的項目涉及使用 gheat.我正在通過 NSURLConnection 訪問磁貼并將它們存儲在本地.我的實現的 gist.

                I'm actually in the middle of a program that requires overlaying tiles over a map. This example has been very helpful. You'll want to look into MKOverlay and MKOverlayView. The project that I am doing involves using gheat. I am accessing the tiles through an NSURLConnection and storing them locally. A gist of my implementation.

                這篇關于MapKit 中的 MapTypeStyle的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                相關文檔推薦

                How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                To stop segue and show alert(停止 segue 并顯示警報)
                iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                Icon already includes gloss effects(圖標已經包含光澤效果)
                How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))
                <legend id='n1QCa'><style id='n1QCa'><dir id='n1QCa'><q id='n1QCa'></q></dir></style></legend>
                  <tbody id='n1QCa'></tbody>
                • <small id='n1QCa'></small><noframes id='n1QCa'>

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

                        <i id='n1QCa'><tr id='n1QCa'><dt id='n1QCa'><q id='n1QCa'><span id='n1QCa'><b id='n1QCa'><form id='n1QCa'><ins id='n1QCa'></ins><ul id='n1QCa'></ul><sub id='n1QCa'></sub></form><legend id='n1QCa'></legend><bdo id='n1QCa'><pre id='n1QCa'><center id='n1QCa'></center></pre></bdo></b><th id='n1QCa'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='n1QCa'><tfoot id='n1QCa'></tfoot><dl id='n1QCa'><fieldset id='n1QCa'></fieldset></dl></div>
                          <tfoot id='n1QCa'></tfoot>
                        • 主站蜘蛛池模板: 日韩欧美一级精品久久 | 久www| 亚洲精品一区二区三区中文字幕 | 亚洲成人在线视频播放 | 日韩资源 | 亚洲精品1区 | 色橹橹欧美在线观看视频高清 | 日韩欧美在线不卡 | 日韩高清一区 | 成人深夜福利 | 精品熟人一区二区三区四区 | 国产欧美在线观看 | 天堂av中文在线 | 高清av在线| 天堂中文av | 欧美综合一区二区三区 | 国产真实精品久久二三区 | 国产丝袜av | 亚洲情侣视频 | 国产一区高清 | 久草资源 | 亚洲h在线观看 | 天天摸天天干 | 国产成人精品亚洲日本在线观看 | 国产乱码久久久久久一区二区 | 青青草精品视频 | 狠狠综合久久av一区二区老牛 | 人人艹人人爽 | 欧美日韩国产一区二区三区 | 国产高清在线 | 一区二区视频在线 | www.99热| 精品久久久久久久久久久久久久久久久 | 中文字幕第一页在线 | 午夜视频免费在线观看 | 盗摄精品av一区二区三区 | 亚洲精品在线视频 | 欧美久久久| 一区二区三区在线免费观看 | 亚洲精品永久免费 | 国产精品视频一区二区三区不卡 |