Mappletä½ã£ã
ãã 飯ã¨ãã é
ãããã£ã±ãªãã¨ããã®ãã©ããã¨ããæ°ããã¦ãYoshioriの日記: Google Mapplet 作った♪ãåèã«ããã¦ãããã¤ã¤ãGoogle Developer Day2007ã§æãã£ãMappletããããã«ä½ã£ã¦ã¿ã¾ããããèå
ã®たたみラボ-Tatami Labsããããå
ã«ä½ã£ã¡ããããããªããã¨å
å¿ããããããªããä½ã£ã¦ã(ãããã¹ã¤ã«æ©ãããããã£ã¦ãããããªããã©ï¼ã
日本の宿探しマップレット
http://dambiyori.sakura.ne.jp/jalanmapplet/jalanmapplet.xml
じゃらんWebサービスã使ã£ã¦å°å³ä¸ã«ããããã«ãªã©ãæ¢ãã¾ããæ¤ç´¢æ¡ä»¶ãªãã¦è»æ´¾ãªããã¯ããã¾ãããåã§ããå¾ã§ããã¡ãã£ã¨ä½ãããäºå®ã
ç»é²æ¹æ³ã¯ã
- http://maps.google.co.jp/preview/ãéã
- ããããã¬ãããã¿ããé¸æ
- ãã³ã³ãã³ãã追å ããã¯ãªãã¯
- ãURL ãæå®ãã¦è¿½å ããã¯ãªãã¯
- ä¸è¨ã®URLãå ¥å
ããã¨ç»é²ããã¾ãã
- ã« Google ãããã«æ»ãããã¯ãªãã¯
- ãæ¥æ¬ã®å®¿ããããããã¬ããããã¯ãªãã¯ããã¨Mappletã表示ããã¾ãã
- ãã®è¾ºãã®å®¿ãæ¤ç´¢ãã¯ãªãã¯ãã¦ãã°ããå¾ ã¤ã¨ã表示ããã¦ããå°å³è¿è¾ºã®å®¿ã表示ãã¾ãã
Google Mappletsèªä½ãã¾ã æ£å¼ãããªãããã§ãããç§ã試è¡é¯èª¤ãã¦ä½ã£ãã®ã§ãªã«ãèµ·ãã¦ãç¥ãã¾ããã
ãã¨ãã½ã¼ã¹ã³ã¼ãä¸å¼ç½®ãã¨ãã¾ããä½ã«ä½¿ã£ã¦ãçµæ§ã§ããã©ãããå©ç¨ãã ããã
http://dambiyori.sakura.ne.jp/jalanmapplet/jalanmapplet.zip
prototype.jsã¨ããæ®éã«ä½¿ãã¾ããã
GDD07ã®Mappletã®ã»ãã·ã§ã³ã§ã¹ãã¼ã«ã¼ã®æ¹ãããã¼ã¿ã¯KMLã«ãã¦åããã»ãããããï¼ãã£ã¦è¨ã£ã¦ãã®ã§ä»åã¯ãããã風ã«ä½ã£ã¦ã¿ã¾ããï¼ãµã¼ããµã¤ãã¯ããããAPIãå©ãã¦KMLå½¢å¼ã§è¿å´ãMappletå´ã¯Maps APIã®KMLèªã¿è¾¼ã¿æ©è½ä½¿ã£ã¦ãã¼ã«ã¼ã表示ï¼ã
確ãã«ç°¡åã ãªããã³ã¼ãã£ã³ã°ã»ã¨ãã©ãããªãããå¤åGoogle Maps API使ã£ã¦ãªã«ããããã人ã®å¤§é¨åã¯ããã§æ¸ãããããªããã¨ããæ°ãããã
追è¨
ä»ã«ãMappletä½ã£ãæ¹ãããã£ãããã¾ããã
http://d.hatena.ne.jp/myrmecoleon/20070602/1180755820
ã¦ã¼ã¶ã好ããªããã«çµã¿åãããããããã沢山åºã¦ããã¨ç©åã便å©ã«ãªãããã
Google Maps API使ã£ã¦ã人ã¯å²ã¨ç°¡åã«ä½ããã¨æãã¾ããã
Mappletã®éçºã¡ã¢
åå¿é²ä»£ããã«ã¾ã¨ãã¦ã¿ããæã
æ´æ°ããããã
http://mappletnavi.net/ãªãã¦ãµã¤ããç«ã¡ä¸ãã£ãã¿ãããªã®ã§ããã£ã¡ãè¦ãã»ãããããã
ãªã³ã¯
mappletä½æäºä¾
ããã°ã©ã ãã¦ã¦æ°ã¥ãããã¨çã¡ã¢
- Googleã¬ã¸ã§ããAPI+Google Maps APIã ãã©å®å
¨ã«åä¸ã§ã¯ãªã
- getBounds()âgetBoundsAsync(callback)çããã¼ã¿ãåãåãã¡ã½ãããè»ä¸¦ã¿å¤æ´ï¼Asyncã¨ããååããããã«ãã£ã¤ãããã¼ã¿ãåãåãã³ã¼ã«ããã¯é¢æ°ãå¼æ°ã«æ¸¡ããå¼ã°ããã®ã¯éåæï¼
- ãããããªãã¸ã§ã¯ããåå¨ããªãã£ãããï¼GMarkerManagerã¨ããï¼
- WebAPIã®å¼ã³åºããªã©å¤é¨ã®ãµã¼ãã¨éä¿¡ããå ´å
- Mapplet Scratch Padã使ãã¨ãã©ã¦ã¶ä¸ã§éçºå¯è½ãããã便å©ã