Titanium - 地图视图和注释

发布于 2024-12-19 03:28:42 字数 238 浏览 3 评论 0原文

我是一名 iPhone 开发者,也是 Titanium Studio 的初学者。我对在 Titanium 中使用 view、window、tabBar 的基本概念有一些想法。我需要提前处理 MapViews。我在哪里可以找到一些指南或一些示例来使用地理位置,打开地图视图,获取当前位置,获取纬度和经度,指定位置上的点注释。我有另一个基本问题,这将是非常愚蠢的,因为我昨天开始学习钛。当我使用“NSLog”和“printf”时,如何打印字符串?欢迎回答。提前致谢。

I am an iPhone developer and a beginner in Titanium Studio. I have some ideas about basic concepts of using view, window, tabBar in Titanium. I need to proceed advance to deal with MapViews. Where can I find some guidelines or some samples to work with GeoLocations, open a mapView, get the current location, get latitude and longitudes, point annotation on the specified location. I have another basic question and it will be very silly as I started learning Titanium yesterday. How can I print a string as I use 'NSLog' and 'printf'? Answers are welcomed. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

☆獨立☆ 2024-12-26 03:28:42

为了找到您想要使用的对象的详细信息,您需要转到

如果你想在屏幕上显示字符串,你可以使用

有一个非常好的代码示例,您可以使用 钛金七天

In order to find the details of the objects you want to use, you need to go to the details of

If you want to display the string on the screen you can use

There is a very good code example you can use Seven days with Titanium

一瞬间的火花 2024-12-26 03:28:42

要在可以使用的控制台中打印,

Ti.API.info("String to Print");
Ti.API.debug("String to Print");
Ti.API.error("String to Print");
Ti.API.warn("String to Print");

请检查地理位置和地图 API(Muhammad Zeeshan 已提供的链接)并尝试实施示例代码。如果发现任何困难,您可以再次发布到社区。

干杯

To print in console you can use,

Ti.API.info("String to Print");
Ti.API.debug("String to Print");
Ti.API.error("String to Print");
Ti.API.warn("String to Print");

Check that Geolocation and Map API (Links already provided by Muhammad Zeeshan) and try to implement a sample code. If find any difficulties than you can post to community again.

Cheers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文