çŽ4ãæåã«ãããããå°ãæŽæ°ããããšã«ããŸããã ããã¯ããŠãŒã¶ãŒã«å€ãã®æ³šæãæãã»ã¯ã·ã§ã³ã®1ã€ã§ãããšæãããŸãã
ããã¯4ãæåã«èµ·ãããŸããããä»æ¥ã ããç§ãã¡Eugene johnny_palec EmelyanovãšAnton kashey Korzunovã¯ã gdeetotdom.ruããŒã¿ã«ã®ãOn the MapããµãŒãã¹ã®äœæã®è©±ãããããšæããŸãã ããæå³ã§ç§ãã¡ã¯å é§è ã§ãããããæå³ã§ã¯è¿œãã€ããŸãããããããã«ããå€ãã®çæãéããããæçµçã«ã¯ãã®çš®ã®ãŠããŒã¯ãªãµãŒãã¹ãåŸãŸããïŒç§ãã¡ã¯ãããèªãã«æã£ãŠããããšã¯ããŸãç®ç«ã¡ãŸãããïŒïŒ
調æ»ãééããçºèŠããŠã§ãéçºè ã®ã³ââãã¥ããã£ãšå ±æããã ãããããŸãæåã«ã
ç§ãã¡ã¯ç§ãã¡ã®ãã®ã§ãããæ°ããäžçãç¯ããŸã
é·ãéãç§ãã¡ã®ããŒã¿ã«ã«ã¯èšå€§ãªéã®èŠèŠçã³ã³ãã³ãããããŸãã-家ã®åçãäžåºã®ããã©ãåçãéœåžã®ç圢æ®åœ±ã ããã«ã建ç©ãã¬ã€ã¢ãŠããã€ã³ãã©ã¹ãã©ã¯ãã£ãšãªã¢ã«é¢ãã詳现æ å ±ããããŸãã ãããããã®ã³ã³ãã³ãã¯ããŒã¿ã«å šäœã«æ¡æ£ããå€ãã®å Žåãäžåç£ãèŠã€ããããã®è£å©ããŒã«ãšããŠæ©èœããã®ã§ã¯ãªãã嚯楜ããããããŸããã ç§ãã¡ã®ä»äºã¯ãæ å ±ãšèŠèŠã³ã³ãã³ããçµã¿åãããã ãã§ãªããæ°ãããµãŒãã¹ãäžåç£ã®æ€çŽ¢ãåæãéžæã®ããã®ç¬ç«ããããŒã«ã«ããããšã§ããããŸããã
ã€ã³ã¿ãŒãã§ãŒã¹ãšäœ¿ãããã
å°å³äžã®å¯ãã¬ã€ã€ãŒã®åœ¢ã§çµã¿åãããåœæã®ãµãŒãã¹ãWhere Is This Houseãã®åä¿¡è ãäœæããããšã«ããŸããããã®ãµãŒãã¹ã§ã¯ãå°å³ã«å®¶ãã€ã³ãã©ã¹ãã©ã¯ãã£ãç圢ããã©ãã®åçã衚瀺ãããŸããã ããã«ãããžã¥ã¢ã«ã³ã³ãã³ãã衚瀺ãããã³ã³ããã¹ãã§ãããŒã¿ããŒã¹ããã®äžåç£åºåãè¿œå ããå¿ èŠããããŸããã ã€ã³ã¿ãŒãã§ã€ã¹ã®ç 究ã¯ã2ã€ã®ãããã¿ã€ãã®ã¢ãã¯ã¢ããã§ç°¡åã«èª¬æã§ããŸãããã©ã³ã䜿çšããå€å žçãªã¢ãããŒããšããªããžã§ã¯ãã«é¢ããæ å ±ãå¥ã®ãããã¯ã«è¡šç€ºããããªãã·ã§ã³ã§ãã ãã®çµæãå€å žçãªã¢ãããŒãã«èœã¡çããŸããããå°ããªãã©ã³ã«å€§éã®æ å ±ãé 眮ãããšããåé¡ã解決ããå¿ èŠããããŸãã-決å®ãããšãããäœæ¥ããŒãžã§ã³ã§ç¢ºèªã§ããŸãã
ãããèªãã åŸãããªããïŒããäžåºŠïŒããªãã®çæ¯å°ã売買ããããã ãã«ç§ãã¡ã蚪ãã䟡å€ããããšæã£ãããç§ãã¡ã¯ããªãã倱æãããããšãã§ããŸã-ãããäžã®æ°ãããµãŒãã¹ã¯ããªãã家ã®è¿ãã«æ°ããã«ãã§ãèŠã€ããŠèšç»ããã®ã«åœ¹ç«ã¡ãŸãïŒãã€ã«ãŒã®å¥ã®éäŒïŒ ãã€ããªãªã«ã ïŒã
Google + Yandex =çžäºã«æçãªåå
å®éãçžäºã«æçãªæäœ:)ãªããžã§ã¯ãã¯ãã·ã¢å šåã«è¡šç€ºããå¿ èŠããããGoogleãšYandexã®ãããã®ã«ãã¬ããžãšå質ã¯ç°ãªããããäž¡æ¹ã®APIã䜿çšããããšã«ããŸãããããã©ã«ãã§ã¯ãæåã§å€æŽã§ãããã®å°åã«ããé©ãããããã衚瀺ããŸãã ãŸããäœããã®çç±ã§ãéžæãããããã®APIããŠãŒã¶ãŒã«å¯ŸããŠããã©ã«ãã§ããŒããããªãå Žåã2çªç®ã®ãªãã·ã§ã³ãèªåçã«ããŒããããŸãã
確ãã«ããªããããå¿ èŠãªã®ãã¯å®å šã«ã¯ç解ãããŠããŸããããäžéšã®äººã ãgoogle.comããããã¯ããŠããäžæ¹ã§ãä»ã®Yandexã¯äœããã®çç±ã§æ©èœããŠãããšããäºå®ã¯æ®ã£ãŠããŸãã
以äžã§èª¬æããAPIã®åºæ¬ååã«åŸã£ãŠãã«ãŒãã®äœæ¥ããŒãžã§ã³ãžã®åãæ¿ããèªåçã«è¡ãããŸãã
äžå€®ãã·ã¢ã®å°å³äœæã¬ã€ã€ãŒã®ç¹æ®
æåã®ã¿ã¹ã¯ã¯ç°¡åã§ãã-ã«ãŒãã¯æ©èœããã«ãŒãã¯é©åã«æ©èœããã¯ãã§ãã ãããŠã§ããã°ã©ãã§ãã
Google Dayã®æ°æ¥åŸã®11æäžæ¬ã«éçºãå§ãŸããŸããã
ãããã£ãŠãç§ãã¡ã®ã«ãŒãã¯ïŒ
1. Googleãããv3
2.ææ°ããŒãžã§ã³ã®Yandexããã
3.æè¯ãã€ã»ãŒã¹ããŒãã
ã«ãŒãã®åæããŒãžã§ã³ã¯2é±éã§æºåãæŽããŸããã
ç§ãã¡ã¯å®éã«åœŒãã«ä»¥åç¥ã£ãŠãããã¹ãŠã®ããšãšãã®éçšã§æãã€ãããã¹ãŠã®ããšã«æè³ããŸããããããŠãç§ãã¡ãå®éã«çå£ãªäžåç£ãµã€ãã§ããããšãå¿ããŸãããã
ã©ããã®5ã€ã®ã¹ããã
ç®æšãèšå®ããŸã-ãããã«åºã¥ããŠããŒã«ãäœæãããããå®è£ ããããšããŸãã
ã¹ããã1-æåã«ããããéå§ããå¿ èŠããããŸã
ã¹ããã2-ãã®åŸãäœããã®æ¹æ³ã§åæãã©ã¡ãŒã¿ãŒãèšå®ããå¿ èŠããããŸã
ã¹ããã3-ãµãŒããŒã«äœããã®ããŒã¿ãèŠæ±ããå¿ èŠãããå¯èœæ§ããããŸã
ã¹ããã4-äœããã®æ¹æ³ã§ãããã衚瀺ãã
ã¹ããã5-ãããŠæåŸã«åœŒããšäœãããã
ãããŠä»ãããå°ã
ãŸããé¢æ°åŒã³åºããã¢ãžã¥ãŒã«éã¡ãã»ãŒãžãªã©ã®90ïŒ ãsetTimeoutãä»ããŠèµ·åãããããšãäºåã«ç€ºãå¿ èŠããããŸãã ãšã©ãŒãšãããã·ãœã³ããä¿åããŸãã 詳现ãå¿ èŠãªå Žåã¯ããåãåãããã ããã
PSïŒãŸãããã®ãããªã¿ã€ã ã¢ãŠãïŒ_enterState \ _leaveState \ _callStateã®ç解ïŒã§ã®åŒã³åºãã®ã©ããã«ãããäœãã©ãã§éå§ãããããã©ããããæéãããã£ããããšã©ãŒããã£ããã§ããŸãïŒãã ããcallStackããã£ããã§ããŸããïŒ window.onerrorã®ãšã©ãŒã¯ããããã®erlogãåžžã«åéããã³åæããŸãã ããã¯ããªãããšã©ãŒãªãã§ç§ãã¡ã®ãµã€ãã§äœæ¥ããã®ã«åœ¹ç«ã¡ãŸã
ã¹ããã1-APIã®ããŠã³ããŒã
ãŸã第äžã«ãäºå®ã®åã«ããªãã眮ããŸã-ããªãã¯IPAãšçŽæ¥éä¿¡ããããšã¯ã§ããŸããã äžè¬çã«ã 決ããŠã
ãããŠãæ£çŽã«èšããšäŸ¿å©ã§ã¯ãããŸããã
ããã§ã¯ãéä¿¡ãããªããžã§ã¯ããäœæããŸãããã
SuperMapsãšåŒã³ãŸãããã
ãŸããSetWorkerãStartWorkerãKillWorkerã®3ã€ã®ã¡ãœãããå®çŸ©ããŸãïŒ SetMapProviderãŸãã¯ã³ã³ããŒãã³ãã®ç®çã瀺ãä»ã®ã¹ããŒãã¯ãŒããåŒã³åºãå¿ èŠãããç¬éãã¹ãããããŸããããå®éã«ã¯1ã€ã®ã¿ã¹ã¯-WORKïŒããããŸã ïŒ
æåã®ãã®ã¯äœ¿çšããã«ãŒãã®ããŒãžã§ã³ãèšå®ãã2çªç®ã®ãã®ã¯ãããéå§ããŸããã3çªç®ã®ãã®ã¯ãŸãã«ãã®ããã«èµ·ãããŸãã
確ãã«ãããã§ã®ãã«ãŒãã®ããŒãžã§ã³ãã¯ãçŽæ¥äœ¿çšããã®ã§ã¯ãªããæçµçãªAPIã®ã©ãããŒãæå³ããããšãæ確ã«ããå¿ èŠããããŸãïŒå人çã«ã¯ããã®ãããªã©ãããŒã¯200è¡ä»¥äžããå æããŸããïŒ
æ£åžžã«èµ·åããã«ã¯ã次ã®äžé£ã®ã¢ã¯ã·ã§ã³ã䜿çšããŸãã
1.éå§ã¿ã€ããŒã®éå§
2. APIã®æ¥ç¶ïŒé 延ïŒãããã§ã®Googleãããã®å Žåã2ã€ã®ã¹ãããããããŸã-æåã«ãgoogle.comããgoogle.ruããapiãããŠã³ããŒãããããšããŸãïŒããŸããããªãå ŽåïŒã ããã¯æ°ãŸããã§ã¯ãããŸãã ïŒèª°ããèŠãŠãããšã©ãŒãã°ïŒã
3. APIæ¥ç¶ãã§ãã¯
4. IPAãèµ·åããŸã
5. IPAããŒã³ãã¬ããŒã
5+ã ä»ã®ã·ã¹ãã ã®èµ·å
ïŒ6ïŒããã®ã©ããã§ãã¿ã€ããŒ1ãèµ·åããŸããã«ãŒãããªãå Žåã¯ãå¥ã®APIãè©Šãå¿ èŠããããŸãã å¥åŠãªããšã«ãããã¯éåžžã«é »ç¹ã«çºçããŸã-ãã¡ã€ã¢ãŠã©ãŒã«ããã©ã°ã€ã³ãããã³ããã³ã®æªããã£ã³ãã«ã¯é©ç°çã«æ©èœããŸãã
ã¹ããã2-ãããäžã®ç®çã®å Žæã§éŒ»ãçªã
ãã®æ®µéã§ã¯ãããæç¹ã§ã«ãŒããéãå¿ èŠããããŸãã ããã§ã¯ç¹ã«ç®ç«ã£ããã®ã¯ãããŸãã-çŸåšã®ãã¥ãŒããŒãã®ãã©ã¡ãŒã¿ãŒã¯URLã«ä¿åãããããããååŸãããŸãã ããããååšããªãå Žåããç¹è²ã®ãããã¢ãã¬ã¹ãéããããããã§ã«ãµã€ãã«ã¢ã¯ã»ã¹ããŠããå Žå-ãµã€ãã®åãã¡ã€ã³é åã®æåŸã®ã»ãã·ã§ã³ã®ããŒã¿ãCookieããåå¥ã«ã ããããã®ãããªæ©èœã§ãã éåžžã«äŸ¿å©:)
ã¹ããã3-ãµãŒããŒããããŒã¿ãååŸãã
æ¯èŒçæè¿ãç§ã¯ã¿ã€ã«ã®ããŒãã®åœ¢ã§ããŒã¿ãããŠã³ããŒãããç§ aboutã«ã€ããŠãã§ã«è©±ããŸããããä»å¹Žã¯ã¿ã€ã«ã倧éã«ããŒããããªãå®è£ ã§ã¯ã1ã€ã®ãªã¯ãšã¹ãã§æ倧6åããµãŒããŒãã転éãããŸãã ããæ£ç¢ºã«ã¯ãã·ã¹ãã ã¯åžžã«4ã€ã®ã¹ããªãŒã ã«ããŒã¿ãããŒãããããšããŸããã1ã€ã®ãã±ããã§Nã¿ã€ã«ãè¶ ããªãããã«ããŸãã
ãã®å Žåã®ã¿ã€ã«ã¢ãã¬ã¹ã¯ã / maptiles / 7-l032 / 103/031/311/011; 21ã2; 20ã21; 19ã100; æã倧ããªç®ã¯ãããã§7çªç®ã®ã¬ã€ã€ãŒã®4ã€ã®ã¿ã€ã«ãèŠæ±ãããŠããããšã«æ°ä»ãããšãã§ããŸãã ã¯ã©ã€ã¢ã³ãã«ãšã£ãŠããã®ãããªæé©åã¯ãå¿çæéãççž®ããããã©ãã£ãã¯ãç¯çŽãããããšã«çžåœããŸãããã¡ã€ã«ã倧ãããªãããããšãgzipããã匷ããªããŸãã ãããŠãã¡ãããããŒã¿ã®ãã¯ã©ã€ã¢ã³ããã£ãã·ã³ã°ããæå³ããªããªãããšãå¿ããŠã¯ãªããŸãã-1æ¥ãããã®ããŒã¿å€æŽã®90ïŒ ã§ãã ãµãŒããŒãæ¢è£œã®ãã¡ã€ã«ã1ã€ã®ããã¯ã«ãŸãšããã®ã¯é£ãããããŸãããéã§ãã
確ãã«ããã®ã¢ã«ãŽãªãºã ã«ã¯é¢çœãã±ãŒã¹ã1ã€ãããŸããæåã¯ãæé©åã®ããã«ãã¢ãã¬ã¹ã®é åãååŸããnatsortãå®è¡ããŠãçŸããURLã«åå²ããŸããã
å¥åŠãªããšã«ããã®ãªãã·ã§ã³ã¯ãã¹ãŠã®ãã©ãŠã¶ãŒã§å®å šã«æ©èœããæåã®é åã«40ãããã¯ä»¥äžããå ŽåãIEããã£ãããšãã³ã°ãããŸãïŒ1ã€ã®ã¬ã€ã€ãŒã®ãã«ã¹ã¯ãªãŒã³ã¯6-8ã®ããŒã¿ãããã¯ã®ãªã¯ãšã¹ããäœæããã¯ã©ã€ã¢ã³ãã¯åèšã§50ã®ããŒã¿ã¬ã€ã€ãŒãã¢ã¯ãã£ãã«ã§ããŸãïŒ ïŒ
çŸæç¹ã§ã¯ãéåžžã®äžŠã¹æ¿ãã䜿çšããŠããŸãããããã¯æãçæ³çãªãªãã·ã§ã³ã§ã¯ãªããURLãå°ãé·ããªãå ŽåããããŸãã
ç§ãã¡ã®å Žåããã®ãµãã·ã¹ãã ã®ããŒããä¿åãããã³åæã«è¡šç€ºå¶åŸ¡ã¯äžå¿çã§ããã ZTileãšåŒã°ããŸã ã
ã¹ããã4-äœããã®æ¹æ³ã§ãã®ããŒã¿ã衚瀺ããŸã
ãããããäž»èŠãªå»ºç¯äžã®åé¡ã®ããã€ãã¯ãã£ã¹ãã¬ã€ã«é¢é£ããŠããŸãã
ãã®ãããç¹å®ã®ãªããžã§ã¯ãã»ããã¯ãµãŒããŒããååŸãããåãªããžã§ã¯ãã«ã¯ç¬èªã®ããŒã¹ã¿ã€ãïŒåºåãPOIãåçãªã©ïŒãšç¬èªã®ã¬ã€ã€ãŒïŒå®éã«ã¯ãããŒã¿ããŒã¹ããã®éžæã®å®çŸ©æžã¿where-expressionã®ã·ãªã¢ã«çªå·ïŒããããŸãã
ãã®ããŒã¿ã«åºã¥ããŠæ å ±ã衚瀺ããæ¹æ³ã
次ã®èšç»ã«ã€ããŠã®ã³ã³ãã€ãå ¥æããŸããã
zTile-Server-data-zTile-SuperMaps-type factory-type-layer-factory- *ãœãŒããã¯ã©ã¹ã¿ãªã³ã°* -SuperMaps-APIworker-API-view-type-render
ãã§ãŒã³ã¯é·ãã®ã§ã説æãããŠãã ããã
zTileã¯ãµãŒããŒã«ããŒã¿ãèŠæ±ãããã®åŸããŒã¿ãåä¿¡ããŸãã
次ã«ã圌ã¯ã¡ã€ã³ã³ã³ããŒãã³ã-SuperMaps-ã«ãªããžã§ã¯ãã®ã¢ãã«ãäœæããããã«äŸé ŒããŸãã
SuperMapsã¯å®£èšããããã³ãã©ãŒã調ã¹ããã®ãã¡ã®1ã€ããªããžã§ã¯ãã®åãå ¥ãã«åæããå Žåããã®ã¿ã€ãã®ãªããžã§ã¯ãã®äœæãå§ä»»ããŸãã
ãªããžã§ã¯ããããŒããããã¬ã€ã€ãŒã®èå¥åã¯ãåä¿¡ãããªããžã§ã¯ãã«ã泚ããããŸãããã®åŸããã¡ã¯ããªãŒãã¬ã€ã€ãŒãè©Šè¡ããåŸããªããžã§ã¯ãã®ã¿ã€ããå€æŽã§ããŸãïŒããæ£ç¢ºã«ã¯ãåäœãæå®ããŸãïŒã
ãã®åŸããªããžã§ã¯ãã¯åºæ¬çã«ãããäœã§ãããã©ã®ããã«è¡šç€ºããããããç¥ã£ãŠããŸãã
*䞊ã¹æ¿ã*ã¯ã¹ããã5ã§èª¬æããŸãããæ¬è³ªçã«ã¯ãä»ã®ãšããããªããžã§ã¯ããåã«ã·ã£ããŠããæãåºããDOMããªãŒã«èªåèªèº«ã«ã€ããŠã®ã¡ã¢ãæ®ããŸãã
ãªããžã§ã¯ãã衚瀺ãããšãSuperMapsã§åã³ã¬ã³ããªã³ã°ã«èªåèªèº«ãéä¿¡ããŸããããã«ãããçŸåšã®ã¯ãŒã«ãŒãžã®åŒã³åºãããããããããã¡ãŒã«ãŒã®ãã¥ãŒïŒã³ã³ãããŒã«ããã«ãŒã³ïŒãäœæãããŸãã
ãã®åŸãéãè¯ããã°ã圌ã¯åã³IPAã®ããŒãºã«é©å¿ããããã«å¿ãå€ããããšãã§ããŸãã
ããã¯YandexãGoogleãããã§ã¯çºçããŸããããåãOvi-HTMLãããŒã«ãŒã«æç»ã§ããªãã ã-ã§ã¯ãã·ã¹ãã ã¯ãã®ããã«åäœããŸãã
ãã®ã¢ãããŒãã®å©ç¹ã®1ã€ã¯ãæçµçãªAPIã«ãŒããæ¬è³ªçã«æéã§ããããšã§ãã
ãããå€æŽããŠãåããã©ãŒã ã§åããªããžã§ã¯ãã®ã»ãããå¥ã®ãããã«è¡šç€ºã§ããŸããããããå€æŽããŠãã¯ã©ã¹ã¿ãŒã®æŽæ°ãåŒã³åºããŸãã
ã¹ããã5-éåžžãããŒã¿ãšä»ã®ãã³ãºã衚瀺ãã
ããŒã¿ã»ãããç¹ã«å€§èŠæš¡ãªããŒã¿ã»ãããç¹ã«åçã«å€åããããŒã¿ã»ããã衚瀺ããéã®æãé£ãã質åã®1ã€ã¯ãããŒã«ãŒãäºãã«éãªãåã£ãŠããããšã§ãã
ç§ãã¡ã®ã¯ã©ã¹ã¿ãªã³ã°ãªãã·ã§ã³ïŒIMHOïŒã¯ãç§ãç¥ã£ãŠããæé«ã®ãã®ã§ãããæ©èœãšé床ã®äž¡æ¹ã®ç¹ã§googlemarkermanagerïŒv2 \ v3ïŒãè¶ ããŠããŸãã
ãããŠãããã¯éåžžã«ç°¡åã«æ©èœããŸãã
æé 3ã§ããŒã¿ãèªã¿èŸŒãã®ãšåãåçã«åŸã£ãŠãããããåå¥ã®ã»ã«ã«åå²ãããããã«å«ãŸãããªããžã§ã¯ãããããã®ã»ã«ã«ã¢ã¿ããããŸãã
次ã«ã1ã€ã®ã»ã«ã®ãªããžã§ã¯ãã®ã»ããå ã§ãçžäºã®ãªãŒããŒã©ããã決å®ãããå¹³å¡ãªçµåãçºçããŸãã
ããžãã£ããªç¹ã¯1ã€ã ãã§ããããŒã¿ã»ãããå€æŽããªããŠããã°ã«ãŒããåæ§ç¯ããå¿ èŠã¯ãããŸããã ããã»ã«å ã®å¥ã®ããŒã«ãŒãªãŒããŒã¬ã€ã®ããŒã¿ã¯å®å šã«éçã§ãããã»ã«ã®å€æŽã®ã¿ããã®ã»ãããå€æŽã§ããŸãã
ã€ãŸããããããã·ããããŠããã€ãã®æ°ãããªããžã§ã¯ãã衚瀺ãããå Žåãæ°ããã»ã«ã°ã«ãŒãã®ã¿ãåæ§ç¯ãããŸãã ç§ã¯ç¹°ãè¿ããŸãããå€ããã®ã¯éçã§ãã
å®å šãªåæ§ç¯ã¯ãå°ãªããšã1ã€ã®æ°ãããªããžã§ã¯ããã¯ã©ã¹ã¿ãŒã°ã«ãŒãå ã®ãªããžã§ã¯ãã®ã»ããã«è¡šç€ºãŸãã¯é衚瀺ã«ãªã£ãå Žåã«ãã¬ã€ã€ãŒããªã³ãŸãã¯ãªãã«ãªã£ããšãã«ã®ã¿çºçããŸãã
確ãã«ã次ã®ãããã¯ã§ãã®ãæ£æ¹åœ¢ã«ãã¹ãããããã¯ã©ã¹ã¿ãªã³ã°æ¹æ³ã®çµæãšããŠãããŸããŸãªã¢ãŒãã£ãã¡ã¯ãã衚瀺ãããå¯èœæ§ããããŸã-çµå±ãã°ã«ãŒãã¯èªåŸçã«åäœããå¢çã«äžèŠè±å¯ãªããŒã«ãŒãæ®ãããšã劚ãããã®ã¯äœããããŸããã
解決çã¯ç°¡åã§ãããããã«ç°ãªãã¯ã©ã¹ã¿ãŒãµã€ãºïŒãã1ãã¯ã»ã«ã¯ããååã§ãïŒã§å¥ã®clusterManagerãäœæããã°ãªããããã®ãµã€ãºã®ååã ãã·ããããŸãã
æåã®ããŒã«ãŒãã°ã«ãŒãåããçµæã¯ããã«åé¡ããããã®çµæã¯åã³ã°ã«ãŒãåãããŸãã
圌ã¯éè€ãããã©ã³ã1ã€ã«ã€ã¶ããŸãã ãŸããã«ãŒãã®æäœäžã«å®å šãªåæ§ç¯ãè¡ãå¿ èŠã¯ãããŸããã
確ãã«ããããã®è¡ãæžããŠããã»ãŒå幎ãçµéããããšãèªèããŠãã䟡å€ããããŸãããå人çã«ã¯ã¢ããã€ã¹ãããŠããŸããã ã·ã³ã°ã«ã«ãŒãã§ã¯ãªã....
ãã®çµæãã·ã¹ãã ã¯äœäžãã®ããŒã«ãŒã§éåžžã«æ確ã«æ©èœããŸããããå°ãéæ³ãããããšã1.5åé«éåã§ãããšæããŸãã
ããããããã¯å¿ é ã§ã¯ãããŸããããã§ã«2ã€ã®ãã€ã³ãã«çŽé¢ããŠããŸã-1. DOMããªãŒã®é床ãæŽæ°ãã
2.ãããäžã®ããŒã«ãŒã®æ°ã
ç§ãã¡ã¯é·ãéæåã®åé¡ã解決ããããŸããŸãªDOMãã©ã°ã¡ã³ããèŠãŠãããã®ããã¯ãèªã¿ãŸããããæçµçã«ã¯åçŽã«æ±ºå®ããŸãã-ãã¹ãŠã®åºçŸãšæ¶å€±ã¯ã°ã«ãŒãæäœã§ããããã©ã³ã¶ã¯ã·ã§ã³ã«ã©ããããã ãã§ãïŒè¡šç€ºïŒãªããããå°ããèŠçŽ ã®åãä»ã/åãå€ããªã©ïŒäœåºŠãäœåºŠãå°å³ã衚瀺ããŸãïŒããªãããŒãšåæç»ãæžããããšãã§ããŸãã DevConfã§ãã®åé¡ã«ã€ããŠïŒã©ãããïŒèšãããããšãç¥ãããã®ã§ããïŒç§ã¯ããã§ã¯ãªãã£ãã®ã§ãããç§ã¯ããã«ããŸããã§ããïŒã
ãã®æäœã¯é£ç¶ããjsã³ãŒãã«ãã£ãŠå®è¡ããããããã«ãŒãã®ãç¹æ» ãã¯è¡šç€ºãããŸããã
第äºã«ãæ£çŽã«èšããšãç§ãã¡ã¯æ±ºããŠããŸããã
衚瀺ãããªããžã§ã¯ãã®å¶éã¯ãéã®å人ã®é床ã«å¿ããŠå€åããå¯èœæ§ãããå ŽåãããŒã«ãŒãæããããããšããããããé©ç°çã«ãããã«ããããšãã§ããããŒã«ãŒãæãç³ãããã®ååŸããããŸãã
ããããåºåã§ãŸã ããŒã«ãŒã®æ°ãéè² è·ã«ãªã£ãŠããå Žåããã®ãããªæ°ã®ãªããžã§ã¯ãã§éåžžã®åäœïŒIE6ïŒãä¿èšŒããããšã¯ã§ããŸãã-ããããæžããå¿ èŠããããŸãã 1ã€ã®èŠå ãå€æŽããèªåèªèº«ããªãã¬ãã·ã¥ããŸãã çµæã¯ãªããžã§ã¯ããå°ãªãããå¯èœæ§ããããŸã-ããäžåºŠãèŠå ã®1ã€ãå€æŽããŠæŽæ°ããŸãã
ãã®çµæãã¢ã«ãŽãªãºã ã¯æã 8ãã£ãã¯ã«åæããŸãã 確ãã«ãããã¯å®éã«ã¯ãŠãŒã¶ãŒã«ã¯ç®ç«ã¡ãŸããã
ããã§çµããã§ããïŒ
ãã®ç©èªã¯ããããã¯ããçµããã§ãã ãããã¯ã®ãµã€ãºã倧ããããŠãæå³ããããŸããã æãèå³æ·±ãç¬éã«ã€ããŠã¯ãå¥ã®è©³çŽ°ãªè³æã§ããå°ã詳ãã説æããŸãã
é©åãªã³ãŒã«ããã¯ãé©åãªå Žæã«ã€ã³ã¹ããŒã«ãããã¹ã©ã€ããŒã§ã«ãŒãã®ãµã€ãºãå€æŽããããå€éšãã©ã³ãïŒããããããŒã«ãŒãã©ã³ãªã©ã®åçŽãªãã®ã®å®è£ ãåŒãç¶ãæ€èšããïŒããããã°ããã®ã³ã°ãªã©ãããŸããŸãªåŸ®åŠãªç¹...
ããè¯ããç§ãã¡ã¯ããªãã®è³ªåã«çããã ãã§ããããã衚瀺ãããŸãã
次ã¯ïŒ
çŸæç¹ã§ã¯ãããããäžãã®ãµãŒãã¹ã®3çªç®ã®ããŒãžã§ã³ãæ¢ã«ãªãªãŒã¹ããŠãããè¿ãå°æ¥ã衚瀺ãããã³ã³ãã³ããšã€ã³ã¿ãŒãã§ã€ã¹ã¢ãããŒãã®äž¡æ¹ãæ¡åŒµããäºå®ã§ãã ãã¥ãŒã¹ãšåæã³ã³ãã³ãã¯ãããã«è¡šç€ºãããçäœãã¬ãŒã€ãŒã¯ç¬ç«ããæ€çŽ¢ããŒã«ã®ãããªãã®ã«å€ãããŸã-家ã§ã¯äžåç£ã®ãªãã¡ãŒã家èªäœã®æ å ±ã衚瀺ãããåºã建ç©èªäœã®å éšãªã©ãèŠãããšãã§ããŸãã ããããããã¯ãŸã£ããç°ãªã話ã«ãªããŸãã ãæž èŽããããšãããããŸããã ã³ã¡ã³ãã§è³ªåã«çããæºåãã§ããŸããã
ããã§ãäœãé¢çœãã®ãããªãäžèšã®æ°ããã®ããã¹ããèªãã§ãµã€ã eèªäœãèŠãå¿ èŠããããããŸãã¯å¿ èŠã ã£ãã®ãïŒ
1. 2ã€ã®APIïŒå®éã«ã¯4ïŒ+ oviã+ bingïŒãåãæ¿ãã®åé¡ãªãïŒ
2.ãµãŒããŒããããŒã¿ãããŠã³ããŒãããåèªã¿èŸŒã¿
3.ãããäžã®å€éšãã©ã³-ãã ãããã©ã³ãéããŠãããã移åããæ¹ãè¯ã
4.ãã«ãŒã³å ã®ããŒã«ãŒãšããŒã¿ã®ã¯ã©ã¹ã¿ãŒ ïŒ www.gdeetotdom.ru/map/#lat=55.72867&lng=37.81804&m=google&z=15&l=7-14 ãæ£ç¢ºã«ãããã®äžéšããã³äžå€®ã«ããïŒ
5. Yandexãããäžã«Googleã¿ã€ã«ã衚瀺ãããŸãïŒããã·ã¢360ãããŒããã©ãã¯ïŒ