开发者

How to use anyother map like google maps in UIWebView in iphone?

I have done google map in UIWebView and it works perfectly with routing stuff and all. But now i want to开发者_StackOverflow中文版 load some other map into the WebView and get all the features that i get from google maps. How can i do it?

For eg: I want to load this one to the UIWebView. http://stage.discoveritalia.it/conbipel/ .This is an italian map. I want to use it in the same way as google maps works in an iphone app. Plz help me.


Since you are using normal web-based Google Maps in a UIWebView and not UIMapKit you approach this as any other Google Maps implementation using JavaScript.

The way this is done is by defining a custom map tile layer. See the Google Maps API documentation for custom tiles for more information.

Note that beside the actual programming, you need to have (and the rights to use) the actual map tiles as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜