Titanium Mobile/ÃÏ¿Þ
Titanium¤Ç¤ÎÃÏ¿Þɽ¼¨ÊýË¡
Titanium¤ÇÃÏ¿Þ¤òɽ¼¨¤¹¤ëÊýË¡¤Ï¿§¡¹Í¤ê¤Þ¤¹¤¬¡¢£³Ä̤ꤴ¾Ò²ð¤·¤Þ¤¹¡£
ÃÏ¿ÞÁȤ߹þ¤ßÊýË¡ | ¥á¥ê¥Ã¥È | ¥Ç¥á¥ê¥Ã¥È |
Ti.Map¥â¥¸¥å¡¼¥ë | ¡¦Titaniumɸ½à¤ÎÃÏ¿Þµ¡Ç½¤Ç¥µ¥ó¥×¥ë¤¬Â¿¤¤¤Ç¤¹¡£ ¡¦iOS¤ÈAndroid¤Ç¤Û¤ÜƱ¤¸¥×¥í¥°¥é¥à¤È¤Ê¤ê¤Þ¤¹¡£ ¡¦¥Ô¥ó(Annotation)¼þ¤ê¤ÎÁàºî¤¬ËÉÙ¡Ê¥Ô¥ó²èÁü¤òÊѤ¨¤¿¤ê¡¢¥Ô¥ó¤ò¥¿¥Ã¥Á¤·¤¿¤È¤¤ËÀâÌÀ¤Î¥Æ¥¥¹¥È¤ä²èÁü¤ä¤ò´Þ¤ó¤À¥Ó¥å¡¼¤ò³«¤¯¤Ê¤É¡Ë ¡¦¥½¡¼¥¹¤¬¥·¥ó¥×¥ë¤Ç¥³¡¼¥Ç¥£¥ó¥°¤·¤ä¤¹¤¤¤Ç¤¹¡£¤Þ¤¿¡¢Alloy¤Ç¥Ô¥ó¤ò½ñ¤¯¤³¤È¤â²Äǽ¡£ ¡¦¤â¤·Apple MapsÍøÍѤ¬É¬¿Ü¤Î¤È¤¤ÏÍ£°ì¤ÎÁªÂò»è ¡¦Ti 4.1.0¤«¤é¥Þ¥Ã¥×¾å¤Ë¥é¥¤¥ó¡¦¥Ý¥ê¥´¥ó¡¦¥µ¡¼¥¯¥ë¤òÉÁ²è¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ | ¡¦iOS¤Ç¤ÏÉϼå¤ÊApple Maps¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¡¦ÃÏ¿Þ¤ò¥¯¥ê¥Ã¥¯¤·¤¿ÃÏÅÀ¤Î°ÞÅÙ¡¦·ÚÅÙ¤¬¼èÆÀ¤Ç¤¤Þ¤»¤ó¡£ |
---|---|---|
TiGMap¥â¥¸¥å¡¼¥ë(iOSÀìÍÑ) | ¡¦iOS¤ÇGoogle Maps¤ò»ÈÍѤǤ¤Þ¤¹¡£ ¡¦¥¿¥Ã¥Á¤äĹ²¡¤·¤·¤¿°ÌÃ֤ΰÞÅÙ¡¦·ÐÅÙ¤¬¼èÆÀ¤Ç¤¤Þ¤¹¡£ ¡¦»ÈÍѷи³¤¬Ìµ¤¤¤¿¤á¤½¤Î¾¾ÜºÙ¤ÏÉÔÌÀ | ¡¦iOS¤Î¤ßÂбþ¤Ç¤¹¤Î¤Ç¡¢Android¤Ç¤ÏTi.Map¤ò»È¤Ã¤Æ¥×¥í¥°¥é¥à¤òʬ¤±¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¡¦»ÈÍѷи³¤¬Ìµ¤¤¤¿¤á¤½¤Î¾¾ÜºÙ¤ÏÉÔÌÀ |
WebView¤ËGoogle Maps¤òÁȤ߹þ¤à | ¡¦Æ±¤¸¥×¥í¥°¥é¥à¤ÇiOS¡¢Android¶¦¤ËGoogle Maps¤ò»ÈÍѤǤ¤Þ¤¹¡£ ¡¦Google Maps API¤òÁàºî¤·¤Æ¿§¡¹¤Êµ¡Ç½¤ò»ÈÍѤǤ¤Þ¤¹¡ÊÎ㤨¤Ð¥¿¥Ã¥Á¤·¤¿ÃÏÅÀ¤Î°ÞÅÙ¡¦·ÐÅÙ¤ò¼èÆÀ¤·¤¿¤ê¡¢ÃϿޤ˥ݥꥴ¥óÉÁ²è¤·¤¿¤ê¡¢£²ÃÏÅÀ¤Î·ÐÏ©¤òɽ¼¨¤·¤¿¤ê¡Ë¡£ ¡¦Web¥¢¥×¥ê¤ÇGoogle Maps API¤ò»ÈÍѤ·¤Æ¤¤¤ë³«È¯¼Ô¤Ë¤È¤Ã¤Æ»È¤¤¤ä¤¹¤¤¤Ç¤¹¡£ ¡¦Æ±¤¸²èÌ̤ËÃÏ¿Þ¤ò£²¤ÄÇÛÃ֤Ǥ¤Þ¤¹¡£ ¡¦Æ±ÍͤÎÊýË¡¤ÇYahooÃÏ¿Þ API¤âÍøÍѤǤ¤Þ¤¹¡£ | ¡¦WebView¤ËÁȤ߹þ¤à¤Î¤Ç¡¢¥×¥í¥°¥é¥àËÜÂΤȤÎÏ¢·È¤¬Ê£»¨¤È¤Ê¤ê¤Þ¤¹¡£ |
(1) Ti.Map¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤¿ÃÏ¿Þɽ¼¨
Titanium¤Çɸ½àŪ¤ÊÃÏ¿Þɽ¼¨ÊýË¡¤Ç¤¹¡£iOS¤Ç¤ÏApple Maps¡¢Android¤Ç¤ÏGoogle Maps¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£°ÊÁ°¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѽÐÍè¤Þ¤·¤¿¤¬¡¢2014-02-20»þÅÀ¤Ç¤Ï¥â¥¸¥å¡¼¥ëÄɲòèÌ̤«¤é¡Öti.map [android, ios] - Global {API Ver. 2}¡×¤òÄɲ䷤ƻÈÍѤ·¤Þ¤¹¡£ ¤Þ¤¿¡¢Alloy¤Î¾ì¹ç¤Ïalloy.js¤Ë¼¡¤Î¹Ô¤òÄɲä·¤Þ¤¹¡£
Alloy.Globals.Map = require('ti.map');
»ÈÍѾå¤Î¤´Ãí°Õ
¸½»þÅÀ(2014-02-20)¤Ç¤ÏTitanium¥Ç¥Õ¥©¥ë¥È¤ÎAndroidÍÑGoogle Maps¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï£±¤Ç¡¢¤³¤ì¤ò£²¤ËÂбþ¤µ¤»¤ë¤¿¤á¤Ë¥â¥¸¥å¡¼¥ë¤ÇÁȤ߹þ¤à¤è¤¦¤ËÊѤï¤Ã¤¿¤½¤¦¤Ç¤¹¡£ºÇ¶á¤Î¿¤¯¤Î¥µ¥ó¥×¥ë¤Ç¤ÏAndroid¤À¤±¤³¤Î¥â¥¸¥å¡¼¥ë¤òÁȤ߹þ¤ß¡¢iOS¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎTi.Map¤Î¤Þ¤Þ¤Èʬ¤±¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¤·¤«¤·¡¢Î¾¼Ô¶¦Ä̤Ǥ³¤Î¥â¥¸¥å¡¼¥ë¤ò»ÈÍѤ¹¤ë¥½¡¼¥¹¤Ç½ñ¤±¤Þ¤¹¡£
¥ê¥ó¥¯
- Modules.Map | Appcelerator Titanium Documentation
- Titanium¤ÇAndroid¸þ¤±¤ÎMapModuleÆ°ºî¤µ¤»¤ë¤Î¤Ë¤È¤Æ¤â¶ìÏ«¤·¤¿¤Î¤Ç¤½¤Î¿¶¤êÊÖ¤ê | TitaniumMobileÊÙ¶¯µ
- Google Maps API v2ÍÑAndroid¥â¥¸¥å¡¼¥ë¤òÀßÄê | SEʳƮµ
- Titanium Advent Calendar 2013 7ÆüÌÜ regionChanged¤ÎÍÞÀ© | ¤â¤®¤ã¤í¤° ... ¡ØGoogleMapsSDK¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¾å¤¬¤Ã¤¿´Ø·¸¤Ç¡¢¸½ºßAndroid¤Ç¤Ïɸ½à¤ÎMapView¤Ç¤Ï¤Ê¤¯¤ÆModules.Map¤ò»È¤¦¤è¤¦¤Ë¸À¤ï¤ì¤Æ¤¤¤Æ...¡Ù
- AndroidÈǤÎGoogleMaps¥¢¥×¥ê¤Î¤è¤¦¤ÊUI¤òTitanium¤Ç¼Â¸½¤¹¤ëÊýË¡ | TitaniumMobileÊÙ¶¯µ
- Geolocation.addEventListener¤Ç¥¢¥×¥ê¤¬½Å¤¯¤Ê¤ë | Titanium¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS ... Android¤ÎMapView¤ÇLocation¥¤¥Ù¥ó¥È¤¬ÉÑȯ¤·¤Æ½Å¤¯¤Ê¤ë»þ¤Î²óÈòÊýË¡
- Android¡¡¤Ç¡¡map¤òɽ¼¨¤µ¤»¤è¤¦¤È¤¹¤ë¤ÈÍî¤Á¤ë | Don't Fall - Titanium Mobile¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS
- Modules.Map.View ¤Ç¥¿¥Ã¥×¤·¤¿°ÌÃ֤ΰÞÅÙ·ÐÅÙ¤ò¼èÆÀ¤·¤¿¤¤¤¬click¥¤¥Ù¥ó¥È¤¬È¯²Ð¤·¤Ê¤¤ | Don't Fall - Titanium Mobile¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS ... °ÞÅÙ·ÐÅÙ¤ò¹©Éפ·¤Æ¼èÆÀ¤¹¤ëÊýË¡
- Translating NSLocationAlwaysUsageDescription | TiDev ... iOS8¤«¤éɬÍפˤʤä¿ÀßÄê¤Îµ½ÒÊýË¡(¥í¡¼¥«¥é¥¤¥ºÂбþÈÇ)
- Titanium3.4¤ÇiOS8¤Î°ÌÃÖ¾ðÊó¤ò¤È¤ëºÝ¤ÎÀßÄê | Qiita ... iOS8¤«¤éɬÍפˤʤä¿ÀßÄê¤Îµ½ÒÊýË¡
- titanium_mobile / iphone / Classes / GeolocationModule.m ... iOS MapÉôʬ¤ÎTitaniumÆâÉô¥½¡¼¥¹
- k0sukey/ti.map at MKDirections ... iOS¤Îµ¡Ç½¤òÍøÍѤ·¤Æ·Ðϩõº÷¤·¤¿¥ë¡¼¥È¤òɽ¼¨¤¹¤ë¥Þ¥Ã¥×(iOSÀìÍÑ)
- m1ga/titanium-libraries ... °ÜÆ°Ëè¤Ë½èÍý¤Ç¤¤ëiOS/Android¶¦Ä̤ÎJavaScript¥â¥¸¥å¡¼¥ë
- Titanium - ti.map ¤ò¤Á¤ç¤Ã¤È¤À¤±ÊØÍø¤Ë¤·¤Á¤ã¤¦²þ¤ | Qiita
- Appcelerator Titanium 4.1.0 Sample App ... Ti 4.1.0¤«¤é¤Ï¥Þ¥Ã¥×¾å¤Ë¥é¥¤¥ó¤ä±ß¤òÉÁ²è¤Ç¤¤Þ¤¹¡£
- Ti.MarkerManager ... Ti.MarkerManager is a library for Appcelerator Titanium for realizing to display a lot of annotations on map.
(2) TiGMap¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤¿ÃÏ¿Þɽ¼¨(iOSÀìÍÑ)
Objective-C¤ÇGoogle Maps¤òÍøÍѤ¹¤ë¾ì¹ç¤Ï¡¢GoogleÄ󶡤ΡÖGoogle Maps SDK for iOS¡×¤ò»ÈÍѤ·¤Þ¤¹¡£TiGMap¤Ï¤³¤ÎSDK¤ò¼è¤ê¹þ¤ó¤ÀiOSÀìÍÑTitaniumÍѥ⥸¥å¡¼¥ë¤Ç¤¹¡£
Google Maps API ¤è¤¯¤¢¤ë¼ÁÌä »ÈÍÑÀ©¸Â¤Î±Æ¶Á¤ò¼õ¤±¤ë Maps API ¥µ¡¼¥Ó¥¹¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£¤Ç¡ØGoogle Earth API¡¢¤ª¤è¤Ó Android ¤ä iOS ¤Ê¤É¤Î¥â¥Ð¥¤¥ë ¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÍÑ Maps API ¤ÏÂоݳ°¤Ç¤¹¡£Google ¥Þ¥Ã¥×¤ÎËä¤á¹þ¤ßµ¡Ç½¤ä¡¢ÃÏ¿Þ¤ò´Þ¤àËä¤á¹þ¤ßµ¡Ç½¤òÄ󶡤¹¤ë¤½¤Î¾¤Î Google ¥µ¡¼¥Ó¥¹¤Î¤´ÍøÍѤϡ¢¤³¤ì¤é¤Î»ÈÍÑÀ©¸Â¤ÎÂоݤȤϤʤê¤Þ¤»¤ó¡£¡Ù¤Èͤë¤Î¤Ç¡¢ÍøÍѲó¿ô¤ÎÀ©¸Â¤Ï̵¤¤¤è¤¦¤Ç¤¹¡£
»ÈÍѾå¤Î¤´Ãí°Õ
¤½¤Î¤Þ¤Þ¤Ç¤Ï¥Ó¥ë¥É¤Ç¤¤Þ¤»¤ó¡£module.xcconfig¤Î¥Ñ¥¹½ñ¤´¹¤¨¤¬Íפê¤Þ¤¹¡£
¥â¥¸¥å¡¼¥ë
- daisaru11/TiGMap | GitHub ... TiGMap¤Î¥ª¥ê¥¸¥Ê¥ë¤À¤½¤¦¤Ç¤¹¡£¹¹¿·¤Ï»ß¤Þ¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¥³¡¼¥Éµ½ÒÊýË¡¤Ï¤³¤Á¤é¤ÎReadme¤¬¾Ü¤·¤¤¤è¤¦¤Ç¤¹¡£
- alperdincer/TiGMap | GitHub ... ¡ùTiGMap¤òfork¤·¤Æºî¤é¤ì¤¿ºÇ¿·ÈǤǤ¹¡£¤³¤Á¤é¤òÍѤ¤¤ë¤Î¤¬ºÇ¿·¤Ç¤¤¤¤¤è¤¦¤Ç¤¹(by ȬÌÚ»á)¡£
- Google Maps for iOS | Appcelerator Marketplace ... $30¤Ç¤Û¤ÜƱ¤¸»ÅÍͤΤâ¤Î¤¬ÈÎÇ䤵¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£Â¾¤È¤Î°ã¤¤¤ÏÉÔÌÀ¤Ç¤¹¡£
- Ti.GoogleMaps ... ¿µ¡Ç½¤ÎiOSÀìÍÑÃϿޥ⥸¥å¡¼¥ë¤À¤½¤¦¤Ç¤¹¡£Appcelerator¼Ò°÷¤Î¤è¤¦¤Ç¡¢¤³¤ì¤¬°ìÈÖ¤¤¤¤¤«¤â¡©
¥ê¥ó¥¯
- Google Maps SDK for iOS ¤ò Titanium Mobile ¤Î Alloy ¤Ç»È¤¦
- Titanium - GoogleMap for iOS¥â¥¸¥å¡¼¥ëÍøÍÑ»þ¤ÎTiShadowÍøÍÑÊýË¡ | Qiita
- Titanium Alloy¤«¤éGoogle Maps SDK for iOS¤òÍøÍѤ¹¤ë¡£ « Âçºå¤Î¥¢¥ó¥É¥í¥¤¥É/iOSŽ¥ Web¥¢¥×¥ê³«È¯²ñ¼Ò¡¡¥Î¡¼¥Æ¥£¥¹
(3) WebView¤ËGoogle Maps¤òÁȤ߹þ¤ó¤ÀÃÏ¿Þɽ¼¨
¾Ü¤·¤¯¤Ïapp_8.js, map.html¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
Google Maps JavaScript API v3 »ÈÍÑÀ©¸Â¤È¹ØÆþ¤Ë¤è¤ë¤È¡¢90Æü´ÖϢ³¤Ç1Æü¤¢¤¿¤êºÇÂç25,000²ó¤òĶ¤¨¤ë¤ÈÍÎÁ¤È¤Ê¤ë¤è¤¦¤Ç¤¹¡£
¥Þ¥Ã¥×¥µ¥ó¥×¥ë¥½¡¼¥¹ by ȬÌÚ»á
map_8¤À¤±WebView¤ËGoogle Maps¤òÁȤ߹þ¤ó¤ÀÃÏ¿Þɽ¼¨¤Ç¤¹¡£¤½¤ì°Ê³°¤ÏTi.Map¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤¿ÃÏ¿Þɽ¼¨¤Ç¤¹¡£¡Ê¸·Ì©¤Ë¸À¤¦¤Èmap_8¤â°ìÉôTi.Map¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤Æ¤¤¤Þ¤¹¡Ë
- app_1.js
- °ÞÅÙ·ÐÅÙ¸ÇÄê°ÌÃ֤Υޥåפòɽ¼¨
- app_2.js
- ¸½ºß°ÌÃ֤Υޥåפòɽ¼¨
- app_3_1.js
- ¸½ºß°ÌÃ֤˥ԥó¤òÂǤ俥ޥåפòɽ¼¨
- app_3_2.js
- ¸½ºß°ÌÃ֤˥ԥó¤òÂǤ俥ޥåפòɽ¼¨¤·¡¢10ÉÃËè¤Ë¸½ºß°ÌÃ֤Υԥó¤òÄɲà ... ¼ÂºÝ¤Ë¤ÏTi.Geolocation.getCurrentPosition¤Ï¥¥ã¥Ã¥·¥å¤µ¤ì¤ë¤Î¤Ç¡¢»È¤¨¤Ê¤¤¤½¤¦¤Ç¤¹¡£
- app_4_1.js
- ¸½ºß°ÌÃ֤ν»½ê¤òɽ¼¨¡£°ÞÅÙ·ÐÅÙ¢ª½»½ê¥Æ¥¥¹¥È¤ÎÊÑ´¹(reverse geocoding)¤ËGoogle Maps API¤òÍøÍÑ¡£Ti.Geolocation.reverseGeocoder¤ÏÊֵѤµ¤ì¤ë¥Æ¥¥¹¥ÈÆâÍƤ¬Îɤ¯¤Ê¤¤¤Î¤Ç¡¢¤½¤ÎÂåÂؤǤ¹¡£
Î㤨¤ÐÅìµþ±Ø¤Î°ÞÅÙ¡§35.681382¡¢·ÐÅÙ¡§139.766084¤òÊÑ´¹¤·¤¿¾ì¹ç¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£- Ti.Geolocation.reverseGeocoder¤Ï¼¡¤òÊÖ¤·¤Þ¤¹¡£
- 407, ¿ÀÅĽٲÏÂæ»°ÃúÌÜ, ÀéÂåÅĶè (Chiyoda), Ë̳ë¾þ·´, 100-0005, ÆüËÜ
- Google Maps API¤Ï¼¡¤òÊÖ¤·¤Þ¤¹¡£
- ÆüËÜ, ÅìµþÅÔÀéÂåÅĶè´Ý¤ÎÆ⣱ÃúÌÜ£¹¡Ý£±
- app_5_1.js
- ÆþÎϤ·¤¿ÃÏ̾¤ÎÃÏ¿Þ¤òɽ¼¨¡£½»½ê¥Æ¥¥¹¥È¢ª°ÞÅÙ·ÐÅÙ¤ÎÊÑ´¹(forward geocoding)¤ËGoogle Maps API¤òÍøÍÑ¡£Ti.Geolocation.forwardGeocoder¤ÏÎɤ¯¤Ê¤¤¤Î¤Ç¡¢¤½¤ÎÂåÂؤǤ¹¡£°Ê¹ß¤Î¥µ¥ó¥×¥ë¤Ç¸À¸ì¤ÏÆüËܸ졢Ãæ¹ñ¸ì¡¢ÂæÏѸì¤ËÂбþ
- app_7.js
- ¸½ºß°ÌÃ֤Υޥåפòɽ¼¨¡ÊGoogle Maps API¤Ç¤Î½»½ê¥Æ¥¥¹¥È¼èÆÀÉÕ¤¡Ë¡¢ÆþÎϤ·¤¿ÃÏ̾ÃÏÅÀ¤Ë¥Ô¥ó¤òÇÛÃÖ¤·¡¢¸½ºß°ÌÃÖ¤«¤é¤ÎľÀþ¤òɽ¼¨¡£
- app_7_1.js
- app_7.js¤Îµ¡Ç½¤Ë²Ã¤¨¡¢Æ»½ç¥Ü¥¿¥ó¤ò²¡¤¹¤ÈGoogle Maps API¤Ç¤½¤³¤Þ¤Ç¤ÎÆ»½çºÂɸÇÛÎó¤ò¼èÆÀ¤·¡¢¥ë¡¼¥È¤òɽ¼¨¡£
Ãí°Õ»ö¹à¡§map_8¤Î¾ì¹ç¤ÈÈæ¤Ù¤ÆÅÓÃæ¤òüÀޤ俤êÌÜŪÃϤޤÇÅþ㤷¤Æ¤¤¤Ê¤«¤Ã¤¿¤ê¡¢¤«¤Ê¤ê¤¤¤¤²Ã¸º¤Ê¥Ç¡¼¥¿¤¬Ê֤뤳¤È¤¬¤¢¤ë¤½¤¦¤Ç¤¹¡£ - app_8.js, map.html
- app_7_1.js¤Îµ¡Ç½¤Ë²Ã¤¨¡¢Æ»½ç¥Ü¥¿¥ó¤ò²¡¤¹¤È¥ë¡¼¥È¤òWebView¤ËÆþ¤ì¤¿Google Maps¤Çɽ¼¨
- app_9.js
- ¥Ô¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¥Á¥§¥Ã¥¯¥¤¥ó²èÌ̤òɽ¼¨
- app_10.js, arrow.gif
- Ìð°õ²èÁü¤Ç¥³¥ó¥Ñ¥¹¤òɽ¼¨
Ãí°Õ¡§Ti.Map¤Ï¥â¥¸¥å¡¼¥ë¤È¤·¤ÆÁȤ߹þ¤à¤è¤¦¤ËÊѤï¤Ã¤¿¤Î¤Ç¡¢tiapp.xml¤Ëti.map¥â¥¸¥å¡¼¥ë¤òÁȤ߹þ¤ß¡¢app.js¤ÎÀèƬ¤Ë¼¡¤Î¹Ô¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£
Ti.Map = require('ti.map');
Ãí°Õ¡§API»ÅÍͤ¬ÊѤï¤Ã¤¿¤¿¤á¡¢app_7.js, app_8.js¤Ç¡Ömap.addRoute({...});¡×¤Î¹Ô¤Ï¼¡¤Î¤è¤¦¤Ë½ñ¤´¹¤¨¤ëɬÍפ¬Í¤ê¤Þ¤¹¡£
#pre{{
var route = Ti.Map.createRoute({
color: 'red',
points: [{latitude:geo.lat, longitude:geo.lng}, {latitude:current_position.latitude,longitude:current_position.longitude}],
width: 4,
});
map.addRoute(route);
}}
Ãí°Õ¡§API»ÅÍͤ¬ÊѤï¤Ã¤¿¤¿¤á¡¢app_7_1.js¤Ç¼¡¤Î¤è¤¦¤Ë½ñ¤´¹¤¨¤ëɬÍפ¬Í¤ê¤Þ¤¹¡£
£±¤ÄÌÜ¡Ömap.addRoute({name:'Æ»½ç', points:points, color:'Red'});¡×
#pre{{
var route = Ti.Map.createRoute({
color: 'red',
points: points,
width: 4,
});
map.addRoute(route);
}}
£²¤ÄÌÜ¡Ömap.addRoute({...});¡×
#pre{{
var route = Ti.Map.createRoute({
color: 'blue',
points: [{latitude:geo.lat, longitude:geo.lng}, {latitude:current_position.latitude,longitude:current_position.longitude}],
width: 4,
});
map.addRoute(route);
}}
¥ê¥ó¥¯
- Geocoding.jp ... ¡ùTitanium¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢°ÞÅÙ·ÐÅÙ¤ÎÃͤòÄ´¤Ù¤¿¤¤»þ¤ËÍøÍѤǤ¤Þ¤¹¡£
- Titanium Mobile¤ÎGeocoding¤ÇÆüËܸì¤ò°·¤¦ | Selfkleptomaniac ... ½»½êÈÖÃϤȰÞÅÙ·ÐÅÙ¤ÎÁÐÊý¸þÊÑ´¹¤Ê¤É
- iOS¤ÈAndroid¤ÇÃÏ¿Þ¥¢¥×¥ê¡ÊGoogle Maps¡Ë¤òµ¯Æ° | SEʳƮµ
- ¤É¤Ã¤Á¤ÎOS¤Ç¤â°ÌÃÖ¾ðÊó¤òϢ³¼èÆÀ¡ª | ¥Ó¥¹¥¿¤ÎTitaniumʳƮµ ... Android¤Ç¤âϢ³¤·¤Æ°ÌÃÖ¾ðÊó¤ò¼èÆÀ¤¹¤ëÊýË¡
- °ÞÅÙ¡¦·ÐÅÙ¤«¤éÆóÅÀ´Ö¤Îµ÷Î¥¤ÈÊý¸þ¤ò·×»»¤¹¤ë | ¤½¤ì¤ÏBooks
- benbahrenburg/Ti.Geocoder | GitHub
- ÉÙ¹ë¼ÂÁõ¤ÊJavaScript¥¸¥ª¥³¡¼¥À¡¼¤òºî¤Ã¤Æ¤ß¤¿ | Qiita
- Titanium module: TiGeocoder • gitTio
- Titanium module: TiGeoVisits • gitTio ... iPhone 6°Ê¹ß¤Ç»ÈÍѤǤ¤ëCLVisits¤Î¥â¥¸¥å¡¼¥ë¤Ç¤¹¡£¤É¤Î¤¯¤é¤¤¤Î»þ´ÖÂںߤ·¤¿¤«¤¬¼èÆÀ¤Ç¤¤Þ¤¹¡£
- Titanium module: Ti.GeoTools • gitTio ... Ti.Map¤ò³ÈÄ¥¤·¤¿¤ê¡¢ÊØÍø¤ÊWeb API¤¬ÍøÍѤǤ¤ë¥â¥¸¥å¡¼¥ë¤Ç¤¹¡£°ÞÅÙ·ÐÅÙ¤«¤é¹â¤µ¤â¼è¤ì¤ë¤è¤¦¤Ç¤¹¡£
- Titanium module: Ti.LatLon • gitTio ... 2ÃÏÅÀ´Ö¤Îµ÷Î¥¼èÆÀ¤È¤¤¤Ã¤¿ÃÏ¿Þ´ØÏ¢¤Î·×»»¥â¥¸¥å¡¼¥ë