久久久久久久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>
                        • 主站蜘蛛池模板: 日韩中文在线 | 亚洲视频在线看 | 日韩欧美网 | 一区二区三区网站 | 亚洲一区二区中文字幕 | 男女在线网站 | 国产在线精品一区二区 | 天天操天天舔 | 欧美一级高潮片免费的 | 久久久久久久一区二区三区 | 国产高清一区二区三区 | 欧美精品一区二区三区四区 | 久久综合狠狠综合久久综合88 | 瑞克和莫蒂第五季在线观看 | 精品在线一区 | 精品99爱视频在线观看 | 视频在线观看亚洲 | 成av人电影在线 | 嫩草伊人 | 四虎网站在线观看 | 久久精品免费看 | 日韩在线精品 | 99在线精品视频 | 日日摸夜夜添夜夜添精品视频 | 欧美性一区二区三区 | 亚洲欧美日韩在线不卡 | 国产午夜精品久久久 | 黄色91在线| 久久99国产精品 | 亚洲综合日韩精品欧美综合区 | 亚洲精品一区二区三区蜜桃久 | 免费视频一区 | 国产一区二区在线播放 | 国产精品国产精品 | 天天拍天天操 | 日韩高清一区二区 | 久操亚洲| 日韩欧美三级 | 亚洲午夜精品一区二区三区他趣 | 亚洲一区二区视频 | 欧美aⅴ|