¥È¥Ã¥×   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS

Titanium Mobile/ÃÏ¿Þ ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î¸½ºß¤È¤Îº¹Ê¬(No.6)


  • Äɲ䵤줿¹Ô¤Ï¤³¤Î¿§¤Ç¤¹¡£
  • ºï½ü¤µ¤ì¤¿¹Ô¤Ï¤³¤Î¿§¤Ç¤¹¡£
*Titanium°Ê³°¤ÎÃÏ¿Þ¥ê¥ó¥¯
-[[Geocoding.jp>http://www.geocoding.jp]] ... Titanium¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢°ÞÅÙ·ÐÅÙ¤ÎÃͤòÄ´¤Ù¤¿¤¤»þ¤ËÍøÍѤǤ­¤Þ¤¹¡£
*Titanium¤Ç¤ÎÃÏ¿Þɽ¼¨ÊýË¡
Titanium¤ÇÃÏ¿Þ¤òɽ¼¨¤¹¤ëÊýË¡¤Ï¿§¡¹Í­¤ê¤Þ¤¹¤¬¡¢£³Ä̤ꤴ¾Ò²ð¤·¤Þ¤¹¡£



*TitaniumÃÏ¿Þ¥ê¥ó¥¯
|ÃÏ¿ÞÁȤ߹þ¤ßÊýË¡|¥á¥ê¥Ã¥È|¥Ç¥á¥ê¥Ã¥È|h
|~Ti.Map¥â¥¸¥å¡¼¥ë|¡¦Titaniumɸ½à¤ÎÃÏ¿Þµ¡Ç½¤Ç¥µ¥ó¥×¥ë¤¬Â¿¤¤¤Ç¤¹¡£&br;¡¦iOS¤ÈAndroid¤Ç¤Û¤ÜƱ¤¸¥×¥í¥°¥é¥à¤È¤Ê¤ê¤Þ¤¹¡£&br;¡¦[[¥Ô¥ó(Annotation)>https://docs.appcelerator.com/platform/latest/#!/api/Modules.Map.Annotation]]¼þ¤ê¤ÎÁàºî¤¬Ë­ÉÙ¡Ê¥Ô¥ó²èÁü¤òÊѤ¨¤¿¤ê¡¢¥Ô¥ó¤ò¥¿¥Ã¥Á¤·¤¿¤È¤­¤ËÀâÌÀ¤Î¥Æ¥­¥¹¥È¤ä²èÁü¤ä¤ò´Þ¤ó¤À¥Ó¥å¡¼¤ò³«¤¯¤Ê¤É¡Ë&br;¡¦¥½¡¼¥¹¤¬¥·¥ó¥×¥ë¤Ç¥³¡¼¥Ç¥£¥ó¥°¤·¤ä¤¹¤¤¤Ç¤¹¡£¤Þ¤¿¡¢Alloy¤Ç¥Ô¥ó¤ò½ñ¤¯¤³¤È¤â²Äǽ¡£&br;¡¦¤â¤·Apple MapsÍøÍѤ¬É¬¿Ü¤Î¤È¤­¤ÏÍ£°ì¤ÎÁªÂò»è&br;¡¦Ti 4.1.0¤«¤é¥Þ¥Ã¥×¾å¤Ë¥é¥¤¥ó¡¦¥Ý¥ê¥´¥ó¡¦¥µ¡¼¥¯¥ë¤òÉÁ²è¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£|¡¦iOS¤Ç¤ÏÉϼå¤ÊApple Maps¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£&br;¡¦ÃÏ¿Þ¤ò¥¯¥ê¥Ã¥¯¤·¤¿ÃÏÅÀ¤Î°ÞÅÙ¡¦·ÚÅÙ¤¬¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£|
|~TiGMap¥â¥¸¥å¡¼¥ë(iOSÀìÍÑ)|¡¦iOS¤ÇGoogle Maps¤ò»ÈÍѤǤ­¤Þ¤¹¡£&br;¡¦¥¿¥Ã¥Á¤äĹ²¡¤·¤·¤¿°ÌÃ֤ΰÞÅÙ¡¦·ÐÅÙ¤¬¼èÆÀ¤Ç¤­¤Þ¤¹¡£&br;¡¦»ÈÍѷи³¤¬Ìµ¤¤¤¿¤á¤½¤Î¾¾ÜºÙ¤ÏÉÔÌÀ|¡¦iOS¤Î¤ßÂбþ¤Ç¤¹¤Î¤Ç¡¢Android¤Ç¤ÏTi.Map¤ò»È¤Ã¤Æ¥×¥í¥°¥é¥à¤òʬ¤±¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£&br;¡¦»ÈÍѷи³¤¬Ìµ¤¤¤¿¤á¤½¤Î¾¾ÜºÙ¤ÏÉÔÌÀ|
|~WebView¤ËGoogle Maps¤òÁȤ߹þ¤à|¡¦Æ±¤¸¥×¥í¥°¥é¥à¤ÇiOS¡¢Android¶¦¤ËGoogle Maps¤ò»ÈÍѤǤ­¤Þ¤¹¡£&br;¡¦Google Maps API¤òÁàºî¤·¤Æ¿§¡¹¤Êµ¡Ç½¤ò»ÈÍѤǤ­¤Þ¤¹¡ÊÎ㤨¤Ð¥¿¥Ã¥Á¤·¤¿ÃÏÅÀ¤Î°ÞÅÙ¡¦·ÐÅÙ¤ò¼èÆÀ¤·¤¿¤ê¡¢ÃϿޤ˥ݥꥴ¥óÉÁ²è¤·¤¿¤ê¡¢£²ÃÏÅÀ¤Î·ÐÏ©¤òɽ¼¨¤·¤¿¤ê¡Ë¡£&br;¡¦Web¥¢¥×¥ê¤ÇGoogle Maps API¤ò»ÈÍѤ·¤Æ¤¤¤ë³«È¯¼Ô¤Ë¤È¤Ã¤Æ»È¤¤¤ä¤¹¤¤¤Ç¤¹¡£&br;¡¦Æ±¤¸²èÌ̤ËÃÏ¿Þ¤ò£²¤ÄÇÛÃ֤Ǥ­¤Þ¤¹¡£&br;¡¦Æ±ÍͤÎÊýË¡¤Ç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');

-[[Appcelerator Titanium Alloy Map Integration with ListView Mobile App | YouTube>https://www.youtube.com/watch?v=eJpSP5tGMZY&list=PLQp13IgKjVBd0L7uZyS5_Fg_nG1SRtw2k&index=10]]

***»ÈÍѾå¤Î¤´Ãí°Õ
¸½»þÅÀ(2014-02-20)¤Ç¤ÏTitanium¥Ç¥Õ¥©¥ë¥È¤ÎAndroidÍÑGoogle Maps¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï£±¤Ç¡¢¤³¤ì¤ò£²¤ËÂбþ¤µ¤»¤ë¤¿¤á¤Ë¥â¥¸¥å¡¼¥ë¤ÇÁȤ߹þ¤à¤è¤¦¤ËÊѤï¤Ã¤¿¤½¤¦¤Ç¤¹¡£ºÇ¶á¤Î¿¤¯¤Î¥µ¥ó¥×¥ë¤Ç¤ÏAndroid¤À¤±¤³¤Î¥â¥¸¥å¡¼¥ë¤òÁȤ߹þ¤ß¡¢iOS¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎTi.Map¤Î¤Þ¤Þ¤Èʬ¤±¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¤·¤«¤·¡¢Î¾¼Ô¶¦Ä̤Ǥ³¤Î¥â¥¸¥å¡¼¥ë¤ò»ÈÍѤ¹¤ë¥½¡¼¥¹¤Ç½ñ¤±¤Þ¤¹¡£

***¥ê¥ó¥¯
-[[Modules.Map | Appcelerator Titanium Documentation>https://docs.appcelerator.com/platform/latest/#!/api/Modules.Map]]
-[[Titanium¤ÇAndroid¸þ¤±¤ÎMapModuleÆ°ºî¤µ¤»¤ë¤Î¤Ë¤È¤Æ¤â¶ìÏ«¤·¤¿¤Î¤Ç¤½¤Î¿¶¤êÊÖ¤ê | TitaniumMobileÊÙ¶¯µ­>http://h5y1m141.hatenablog.com/entry/2013/10/30/073351]]
-[[Google Maps API v2ÍÑAndroid¥â¥¸¥å¡¼¥ë¤òÀßÄê | SEʳƮµ­>http://se-suganuma.blogspot.jp/2013/09/titanium-google-maps-api-v2android.html]]
-[[Titanium Advent Calendar 2013 7ÆüÌÜ regionChanged¤ÎÍÞÀ© | ¤â¤®¤ã¤í¤°>http://blog.mogya.com/2013/12/titanium-regionchanged.html]] ... ¡ØGoogleMapsSDK¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¾å¤¬¤Ã¤¿´Ø·¸¤Ç¡¢¸½ºßAndroid¤Ç¤Ïɸ½à¤ÎMapView¤Ç¤Ï¤Ê¤¯¤ÆModules.Map¤ò»È¤¦¤è¤¦¤Ë¸À¤ï¤ì¤Æ¤¤¤Æ...¡Ù
-[[AndroidÈǤÎGoogleMaps¥¢¥×¥ê¤Î¤è¤¦¤ÊUI¤òTitanium¤Ç¼Â¸½¤¹¤ëÊýË¡ | TitaniumMobileÊÙ¶¯µ­>http://h5y1m141.hatenablog.com/entry/2014/03/15/081121]]
-[[Geolocation.addEventListener¤Ç¥¢¥×¥ê¤¬½Å¤¯¤Ê¤ë | Titanium¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS>http://support.titanium-mobile.jp/questions/558]] ... Android¤ÎMapView¤ÇLocation¥¤¥Ù¥ó¥È¤¬ÉÑȯ¤·¤Æ½Å¤¯¤Ê¤ë»þ¤Î²óÈòÊýË¡
-[[Android¡¡¤Ç¡¡map¤òɽ¼¨¤µ¤»¤è¤¦¤È¤¹¤ë¤ÈÍî¤Á¤ë | Don't Fall - Titanium Mobile¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS>http://support.titanium-mobile.jp/questions/3622?dummytime=5c9c74f52ae30a3cdb0904ec7071467d70bbc1c699c951851a844824d95876ea]]
-[[Modules.Map.View ¤Ç¥¿¥Ã¥×¤·¤¿°ÌÃ֤ΰÞÅÙ·ÐÅÙ¤ò¼èÆÀ¤·¤¿¤¤¤¬click¥¤¥Ù¥ó¥È¤¬È¯²Ð¤·¤Ê¤¤ | Don't Fall - Titanium Mobile¥æ¡¼¥¶¡¼²ñ¥µ¥Ý¡¼¥ÈBBS>http://support.titanium-mobile.jp/questions/3677?dummytime=883f88eebfc0276e5c5e1a1d39401f70cee0dcd073cc9774c01981d143a16c5e]] ... °ÞÅÙ·ÐÅÙ¤ò¹©Éפ·¤Æ¼èÆÀ¤¹¤ëÊýË¡
-[[Translating NSLocationAlwaysUsageDescription | TiDev>http://www.tidev.io/2014/09/29/translating-nslocationalwaysusagedescription/]] ... iOS8¤«¤éɬÍפˤʤä¿ÀßÄê¤Îµ­½ÒÊýË¡(¥í¡¼¥«¥é¥¤¥ºÂбþÈÇ)
-[[Titanium3.4¤ÇiOS8¤Î°ÌÃÖ¾ðÊó¤ò¤È¤ëºÝ¤ÎÀßÄê | Qiita>http://qiita.com/ganezasan/items/434799aa27a41b9eaf0c]] ... iOS8¤«¤éɬÍפˤʤä¿ÀßÄê¤Îµ­½ÒÊýË¡
-[[titanium_mobile / iphone / Classes / GeolocationModule.m>https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/GeolocationModule.m]] ... iOS MapÉôʬ¤ÎTitaniumÆâÉô¥½¡¼¥¹
-[[k0sukey/ti.map at MKDirections>https://github.com/k0sukey/ti.map/tree/MKDirections]] ... iOS¤Îµ¡Ç½¤òÍøÍѤ·¤Æ·Ðϩõº÷¤·¤¿¥ë¡¼¥È¤òɽ¼¨¤¹¤ë¥Þ¥Ã¥×(iOSÀìÍÑ)
-[[m1ga/titanium-libraries>https://github.com/m1ga/titanium-libraries]] ... °ÜÆ°Ëè¤Ë½èÍý¤Ç¤­¤ëiOS/Android¶¦Ä̤ÎJavaScript¥â¥¸¥å¡¼¥ë
-[[Titanium - ti.map ¤ò¤Á¤ç¤Ã¤È¤À¤±ÊØÍø¤Ë¤·¤Á¤ã¤¦²þ¤ | Qiita>http://qiita.com/k0sukey/items/6aaf48dd95d59e207b6f]]
-[[Appcelerator Titanium 4.1.0 Sample App>https://github.com/appcelerator-developer-relations/appc-sample-ti410]] ... Ti 4.1.0¤«¤é¤Ï¥Þ¥Ã¥×¾å¤Ë¥é¥¤¥ó¤ä±ß¤òÉÁ²è¤Ç¤­¤Þ¤¹¡£
-[[Ti.MarkerManager>https://github.com/AppWerft/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>https://developers.google.com/maps/documentation/ios/?hl=ja]]¡×¤ò»ÈÍѤ·¤Þ¤¹¡£TiGMap¤Ï¤³¤ÎSDK¤ò¼è¤ê¹þ¤ó¤ÀiOSÀìÍÑTitaniumÍѥ⥸¥å¡¼¥ë¤Ç¤¹¡£
~[[Google Maps API ¤è¤¯¤¢¤ë¼ÁÌä »ÈÍÑÀ©¸Â¤Î±Æ¶Á¤ò¼õ¤±¤ë Maps API ¥µ¡¼¥Ó¥¹¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£>https://developers.google.com/maps/faq?hl=ja#usage_apis]]¤Ç¡ØGoogle Earth API¡¢¤ª¤è¤Ó Android ¤ä iOS ¤Ê¤É¤Î¥â¥Ð¥¤¥ë ¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÍÑ Maps API ¤ÏÂоݳ°¤Ç¤¹¡£Google ¥Þ¥Ã¥×¤ÎËä¤á¹þ¤ßµ¡Ç½¤ä¡¢ÃÏ¿Þ¤ò´Þ¤àËä¤á¹þ¤ßµ¡Ç½¤òÄ󶡤¹¤ë¤½¤Î¾¤Î Google ¥µ¡¼¥Ó¥¹¤Î¤´ÍøÍѤϡ¢¤³¤ì¤é¤Î»ÈÍÑÀ©¸Â¤ÎÂоݤȤϤʤê¤Þ¤»¤ó¡£¡Ù¤ÈÍ­¤ë¤Î¤Ç¡¢ÍøÍѲó¿ô¤ÎÀ©¸Â¤Ï̵¤¤¤è¤¦¤Ç¤¹¡£

***»ÈÍѾå¤Î¤´Ãí°Õ
¤½¤Î¤Þ¤Þ¤Ç¤Ï¥Ó¥ë¥É¤Ç¤­¤Þ¤»¤ó¡£module.xcconfig¤Î¥Ñ¥¹½ñ¤­´¹¤¨¤¬Íפê¤Þ¤¹¡£

***¥â¥¸¥å¡¼¥ë
-[[daisaru11/TiGMap | GitHub>https://github.com/daisaru11/TiGMap]] ... TiGMap¤Î¥ª¥ê¥¸¥Ê¥ë¤À¤½¤¦¤Ç¤¹¡£¹¹¿·¤Ï»ß¤Þ¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¥³¡¼¥Éµ­½ÒÊýË¡¤Ï[[¤³¤Á¤é¤ÎReadme>https://github.com/daisaru11/TiGMap/blob/master/Readme.md]]¤¬¾Ü¤·¤¤¤è¤¦¤Ç¤¹¡£
-[[alperdincer/TiGMap | GitHub>https://github.com/alperdincer/TiGMap]] ... ¡ùTiGMap¤òfork¤·¤Æºî¤é¤ì¤¿ºÇ¿·ÈǤǤ¹¡£¤³¤Á¤é¤òÍѤ¤¤ë¤Î¤¬ºÇ¿·¤Ç¤¤¤¤¤è¤¦¤Ç¤¹(by ȬÌÚ»á)¡£
-[[Google Maps for iOS | Appcelerator Marketplace>https://marketplace.appcelerator.com/apps/5076#!overview]] ... $30¤Ç¤Û¤ÜƱ¤¸»ÅÍͤΤâ¤Î¤¬ÈÎÇ䤵¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£Â¾¤È¤Î°ã¤¤¤ÏÉÔÌÀ¤Ç¤¹¡£
-[[Ti.GoogleMaps>https://github.com/hansemannn/ti.googlemaps]] ... ¿µ¡Ç½¤ÎiOSÀìÍÑÃϿޥ⥸¥å¡¼¥ë¤À¤½¤¦¤Ç¤¹¡£Appcelerator¼Ò°÷¤Î¤è¤¦¤Ç¡¢¤³¤ì¤¬°ìÈÖ¤¤¤¤¤«¤â¡©

***¥ê¥ó¥¯
-[[Google Maps SDK for iOS ¤ò Titanium Mobile ¤Î Alloy ¤Ç»È¤¦>http://qiita.com/sngmr/items/6a885bca6f38c16818c1]]
-[[Titanium - GoogleMap for iOS¥â¥¸¥å¡¼¥ëÍøÍÑ»þ¤ÎTiShadowÍøÍÑÊýË¡ | Qiita>http://qiita.com/sngmr/items/3e3d4eac1bca0b72aed7]]
-[[Titanium Alloy¤«¤éGoogle Maps SDK for iOS¤òÍøÍѤ¹¤ë¡£ « Âçºå¤Î¥¢¥ó¥É¥í¥¤¥É/iOSŽ¥ Web¥¢¥×¥ê³«È¯²ñ¼Ò¡¡¥Î¡¼¥Æ¥£¥¹>http://www.notice.co.jp/archives/3328]]



**(3) WebView¤ËGoogle Maps¤òÁȤ߹þ¤ó¤ÀÃÏ¿Þɽ¼¨
¾Ü¤·¤¯¤Ï[[app_8.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_8.js]], [[map.html>https://github.com/yagitoshiro/study3/blob/master/Resources/map.html]]¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
~[[Google Maps JavaScript API v3 »ÈÍÑÀ©¸Â¤È¹ØÆþ>https://developers.google.com/maps/documentation/javascript/usage?hl=ja]]¤Ë¤è¤ë¤È¡¢90Æü´ÖϢ³¤Ç1Æü¤¢¤¿¤êºÇÂç25,000²ó¤òĶ¤¨¤ë¤ÈÍ­ÎÁ¤È¤Ê¤ë¤è¤¦¤Ç¤¹¡£



*[[¥Þ¥Ã¥×¥µ¥ó¥×¥ë¥½¡¼¥¹ by ȬÌÚ»á>https://github.com/yagitoshiro/study3/tree/master/Resources]]
map_8¤À¤±WebView¤ËGoogle Maps¤òÁȤ߹þ¤ó¤ÀÃÏ¿Þɽ¼¨¤Ç¤¹¡£¤½¤ì°Ê³°¤ÏTi.Map¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤¿ÃÏ¿Þɽ¼¨¤Ç¤¹¡£¡Ê¸·Ì©¤Ë¸À¤¦¤Èmap_8¤â°ìÉôTi.Map¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤Æ¤¤¤Þ¤¹¡Ë
:[[app_1.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_1.js]]|°ÞÅÙ·ÐÅÙ¸ÇÄê°ÌÃ֤Υޥåפòɽ¼¨
:[[app_2.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_2.js]]|¸½ºß°ÌÃ֤Υޥåפòɽ¼¨
:[[app_3_1.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_3_1.js]]|¸½ºß°ÌÃ֤˥ԥó¤òÂǤ俥ޥåפòɽ¼¨
:[[app_3_2.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_3_2.js]]|¸½ºß°ÌÃ֤˥ԥó¤òÂǤ俥ޥåפòɽ¼¨¤·¡¢10ÉÃËè¤Ë¸½ºß°ÌÃ֤Υԥó¤òÄɲà ... ¼ÂºÝ¤Ë¤ÏTi.Geolocation.getCurrentPosition¤Ï¥­¥ã¥Ã¥·¥å¤µ¤ì¤ë¤Î¤Ç¡¢»È¤¨¤Ê¤¤¤½¤¦¤Ç¤¹¡£
:[[app_4_1.js>https://github.com/yagitoshiro/study3/blob/master/Resources/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>https://github.com/yagitoshiro/study3/blob/master/Resources/app_5_1.js]]|ÆþÎϤ·¤¿ÃÏ̾¤ÎÃÏ¿Þ¤òɽ¼¨¡£''½»½ê¥Æ¥­¥¹¥È¢ª°ÞÅÙ·ÐÅÙ¤ÎÊÑ´¹(forward geocoding)''¤ËGoogle Maps API¤òÍøÍÑ¡£Ti.Geolocation.forwardGeocoder¤ÏÎɤ¯¤Ê¤¤¤Î¤Ç¡¢¤½¤ÎÂåÂؤǤ¹¡£°Ê¹ß¤Î¥µ¥ó¥×¥ë¤Ç¸À¸ì¤ÏÆüËܸ졢Ãæ¹ñ¸ì¡¢ÂæÏѸì¤ËÂбþ
:[[app_7.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_7.js]]|¸½ºß°ÌÃ֤Υޥåפòɽ¼¨¡ÊGoogle Maps API¤Ç¤Î½»½ê¥Æ¥­¥¹¥È¼èÆÀÉÕ¤­¡Ë¡¢ÆþÎϤ·¤¿ÃÏ̾ÃÏÅÀ¤Ë¥Ô¥ó¤òÇÛÃÖ¤·¡¢¸½ºß°ÌÃÖ¤«¤é¤Î''ľÀþ¤òɽ¼¨''¡£
:[[app_7_1.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_7_1.js]]|app_7.js¤Îµ¡Ç½¤Ë²Ã¤¨¡¢Æ»½ç¥Ü¥¿¥ó¤ò²¡¤¹¤ÈGoogle Maps API¤Ç¤½¤³¤Þ¤Ç¤ÎÆ»½çºÂɸÇÛÎó¤ò¼èÆÀ¤·¡¢''¥ë¡¼¥È¤òɽ¼¨''¡£&br;Ãí°Õ»ö¹à¡§map_8¤Î¾ì¹ç¤ÈÈæ¤Ù¤Æ[[ÅÓÃæ¤òüÀޤ俤êÌÜŪÃϤޤÇÅþ㤷¤Æ¤¤¤Ê¤«¤Ã¤¿¤ê¡¢¤«¤Ê¤ê¤¤¤¤²Ã¸º¤Ê¥Ç¡¼¥¿¤¬Ê֤뤳¤È¤¬¤¢¤ë¤½¤¦¤Ç¤¹¡£>http://support.titanium-mobile.jp/questions/3476]]
:[[app_8.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_8.js]], [[map.html>https://github.com/yagitoshiro/study3/blob/master/Resources/map.html]]|app_7_1.js¤Îµ¡Ç½¤Ë²Ã¤¨¡¢Æ»½ç¥Ü¥¿¥ó¤ò²¡¤¹¤È¥ë¡¼¥È¤òWebView¤ËÆþ¤ì¤¿''Google Maps¤Çɽ¼¨''
:[[app_9.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_9.js]]|¥Ô¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¥Á¥§¥Ã¥¯¥¤¥ó²èÌ̤òɽ¼¨
:[[app_10.js>https://github.com/yagitoshiro/study3/blob/master/Resources/app_10.js]], [[arrow.gif>https://github.com/yagitoshiro/study3/blob/master/Resources/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);
}}



*¥ê¥ó¥¯
-SIZE(30){[[Geocoding.jp>http://www.geocoding.jp]]} ... ¡ùTitanium¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢°ÞÅÙ·ÐÅÙ¤ÎÃͤòÄ´¤Ù¤¿¤¤»þ¤ËÍøÍѤǤ­¤Þ¤¹¡£
-[[Titanium Mobile¤ÎGeocoding¤ÇÆüËܸì¤ò°·¤¦ | Selfkleptomaniac>http://selfkleptomaniac.org/archives/2094]] ... ½»½êÈÖÃϤȰÞÅÙ·ÐÅÙ¤ÎÁÐÊý¸þÊÑ´¹¤Ê¤É
-[[iOS¤ÈAndroid¤ÇÃÏ¿Þ¥¢¥×¥ê¡ÊGoogle Maps¡Ë¤òµ¯Æ° | SEʳƮµ­>http://se-suganuma.blogspot.jp/2013/09/titanium-iosandroidgoogle-maps.html]]
-[[Google Maps API v2ÍÑAndroid¥â¥¸¥å¡¼¥ë¤òÀßÄê | SEʳƮµ­>http://se-suganuma.blogspot.jp/2013/09/titanium-google-maps-api-v2android.html]]
-[[Titanium Advent Calendar 2013 7ÆüÌÜ regionChanged¤ÎÍÞÀ© | ¤â¤®¤ã¤í¤°>http://blog.mogya.com/2013/12/titanium-regionchanged.html]] ... ¡ØGoogleMapsSDK¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¾å¤¬¤Ã¤¿´Ø·¸¤Ç¡¢¸½ºßAndroid¤Ç¤Ïɸ½à¤ÎMapView¤Ç¤Ï¤Ê¤¯¤ÆModules.Map¤ò»È¤¦¤è¤¦¤Ë¸À¤ï¤ì¤Æ¤¤¤Æ...¡Ù
-[[Titanium¤ÇAndroid¸þ¤±¤ÎMapModuleÆ°ºî¤µ¤»¤ë¤Î¤Ë¤È¤Æ¤â¶ìÏ«¤·¤¿¤Î¤Ç¤½¤Î¿¶¤êÊÖ¤ê | TitaniumMobileÊÙ¶¯µ­>http://h5y1m141.hatenablog.com/entry/2013/10/30/073351]]
-[[¤É¤Ã¤Á¤ÎOS¤Ç¤â°ÌÃÖ¾ðÊó¤òϢ³¼èÆÀ¡ª | ¥Ó¥¹¥¿¤ÎTitaniumʳƮµ­>http://vistitanium.blogspot.jp/2012/11/titanium2os-titaniumjp.html]] ... Android¤Ç¤âϢ³¤·¤Æ°ÌÃÖ¾ðÊó¤ò¼èÆÀ¤¹¤ëÊýË¡
-[[°ÞÅÙ¡¦·ÐÅÙ¤«¤éÆóÅÀ´Ö¤Îµ÷Î¥¤ÈÊý¸þ¤ò·×»»¤¹¤ë | ¤½¤ì¤ÏBooks>http://hamasyou.com/blog/2010/09/07/post-2/]]
-[[benbahrenburg/Ti.Geocoder | GitHub>https://github.com/benbahrenburg/Ti.Geocoder]]
-[[ÉÙ¹ë¼ÂÁõ¤ÊJavaScript¥¸¥ª¥³¡¼¥À¡¼¤òºî¤Ã¤Æ¤ß¤¿ | Qiita>http://qiita.com/cognitom/items/695843cea316fa6784eb]]
-[[Titanium module: TiGeocoder • gitTio>http://gitt.io/component/ti.geocoder]]
-[[Titanium module: TiGeoVisits • gitTio>http://gitt.io/component/ti.geovisits]] ... iPhone 6°Ê¹ß¤Ç»ÈÍѤǤ­¤ëCLVisits¤Î¥â¥¸¥å¡¼¥ë¤Ç¤¹¡£¤É¤Î¤¯¤é¤¤¤Î»þ´ÖÂںߤ·¤¿¤«¤¬¼èÆÀ¤Ç¤­¤Þ¤¹¡£
-[[Titanium module: Ti.GeoTools • gitTio>http://gitt.io/component/de.appwerft.geotools]] ... Ti.Map¤ò³ÈÄ¥¤·¤¿¤ê¡¢ÊØÍø¤ÊWeb API¤¬ÍøÍѤǤ­¤ë¥â¥¸¥å¡¼¥ë¤Ç¤¹¡£°ÞÅÙ·ÐÅÙ¤«¤é¹â¤µ¤â¼è¤ì¤ë¤è¤¦¤Ç¤¹¡£
-[[Titanium module: Ti.LatLon • gitTio>http://gitt.io/component/de.appwerft.latlon]] ... 2ÃÏÅÀ´Ö¤Îµ÷Î¥¼èÆÀ¤È¤¤¤Ã¤¿ÃÏ¿Þ´ØÏ¢¤Î·×»»¥â¥¸¥å¡¼¥ë