|
|
WindowsLive
From $1
目次- 1. live.aerialmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml
- 2. live.contacts(width : num, height : num, border : str, language : str, location : str, publish : str) : xml
- 3. live.directions(from : str, to : str, width : num, height : num, kind : str, publish : str, subscribe : str) : xml
- 4. live.findonmap(where : str, what : str, zoom : num, width : num, height : num, max : num, kind : str, publish : str, subscribe : str) : xml
- 5. live.hybridmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml
- 6. live.map(address : str, zoom : num, width : num, height : num, description : str, title : str, kind : str, publish : str, subscribe : str) : xml
- 7. live.roadmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml
This library contains functions for embedding Microsoft Windows Live Controls. 関連リンク: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.deki.services SID: http://services.mindtouch.com/deki/d...7/windows.live
Functions:
- live.aerialmap
- live.contacts
- live.directions
- live.findonmap
- live.hybridmap
- live.map
- live.roadmap
live.aerialmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml Embed Virtual Earth map in aerial-only mode with optional description. Parameters:
| Name | Type | Description | address
| str
| Optional. Street address to center map on (default: nil) | zoom
| num
| Optional. Map zoom level (1-19; default: 14) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | description
| str
| Optional. Map marker description (default: nil) | title
| str
| Optional. Map marker title (default: "Address") | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Format: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance. | Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 aerial map of San Diego: {{ live.aerialmap("San Diego, California, United States", 11, 200, 200, "This is an aerial map of San Diego", "San Deigo") }} | |  | | To prompt for an address and display the aerial map:
{{ dhtml.inputbox{ length: 50, label: "Address: ", field: "address", publish: "inputbox1"} }}
{{ live.aerialmap{zoom: 11, subscribe: "inputbox1"} }} | |
| | To prompt for to/from locations and display the aerial map with directions:
{{ dhtml.form{ publish: "form1", length: 50, inputs: [ { label: "From: ", field: "from", hidden: false }, { label: "To: ", field: "to", hidden: false } ] } }}
{{ live.aerialmap{zoom: 11, subscribe: "form1", publish: "directions"} }}
{{ dhtml.table([{ label: "Directions", field: "text" }, { label: "Distance", field: "info" }] , "directions") }}
| |
 | live.contacts(width : num, height : num, border : str, language : str, location : str, publish : str) : xml Embed Windows Live Contacts control. Parameters:
| Name | Type | Description | width
| num
| Optional. Control width (default: 250) | height
| num
| Optional. Control height (default: 350) | border
| str
| Optional. Control border style (default: "solid 1px black") | language
| str
| Optional. Control language (default: "en") | location
| str
| Optional. Control location (default: "right") | publish
| str
| Optional. Publish on channel (default: "default") | Publish Format: | Name | Type | Description | name
| str
| Contact name.
| email
| str
| Contact email.
| phone
| str
| Contact phone.
| address
| str
| Contact address.
| uri
| str
| Contact uri.
| Samples:
| Output | | To embed a 200 by 200 Windows Live Contacts control: {{ live.contacts(200, 200) }} | |
| | To embed a Windows Live Contacts control that uses a non-default border and the wiki's site language: {{ live.contacts(200, 200, "dotted 5px green", site.language) }} | |
| | To embed a Windows Live Contacts control and display a map of a contact address: {{ live.contacts{width: 200, height: 200, location: "left", publish: "contactinfo"} }}
{{ live.aerialmap{zoom: 11, subscribe: "contactinfo") }} | |
 | live.directions(from : str, to : str, width : num, height : num, kind : str, publish : str, subscribe : str) : xml Embed Virtual Earth map showing directions from one address to another. Parameters:
| Name | Type | Description | from
| str
| Optional. From address (default: nil) | to
| str
| Optional. To address (default: nil) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | kind
| str
| Optional. Map kind (either "aerial", "road", or "hybrid"; default: nil) | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Formats: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance.
| Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 road map with directions: {{ live.directions("San Diego, CA", "La Jolla, CA", 200, 200, "road") }} | |
| | To prompt for to/from locations and display the road map with directions:
{{ dhtml.form{ publish: "form1", length: 50, inputs: [ { label: "From: ", field: "from", hidden: false }, { label: "To: ", field: "to", hidden: false } ] } }}
{{ live.directions{kind: "road", subscribe: "form1", publish: "directions"} }}
{{ dhtml.table([{ label: "Directions", field: "text" }, { label: "Distance", field: "info" }] , "directions") }}
| |
| live.findonmap(where : str, what : str, zoom : num, width : num, height : num, max : num, kind : str, publish : str, subscribe : str) : xml Embed Virtual Earth map showing places of interest near an address. Parameters:
| Name | Type | Description | where
| str
| Street address to center map on. | what
| str
| What to find. | zoom
| num
| Optional. Map zoom level (1-19; default: 14) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | max
| num
| Optional. Max results to display (1-20; default: 10) | kind
| str
| Optional. Map kind (either "aerial", "road", or "hybrid"; default: nil) | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Format: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance.
| Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 road map that displays video rentals: {{ live.findonmap("San Diego, CA", "video rental", 11, 200, 200, _, "road") }}
| |
| live.hybridmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml Embed Virtual Earth map in hybrid-only mode with optional description. Parameters:
| Name | Type | Description | address
| str
| Optional. Street address to center map on (default: nil) | zoom
| num
| Optional. Map zoom level (1-19; default: 14) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | description
| str
| Optional. Map marker description (default: nil) | title
| str
| Optional. Map marker title (default: "Address") | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Format: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance.
| Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 hybrid map of San Diego: {{ live.hybridmap("San Diego, CA", 11, 200, 200, "This is a hybrid map of San Diego", "San Diego") }} | |
| | To prompt for an address and display the hybrid map:
{{ dhtml.inputbox{ length: 50, label: "Address: ", field: "address", publish: "inputbox1"} }}
{{ live.hybridmap{zoom: 11, subscribe: "inputbox1"} }} | |
 | | To prompt for to/from locations and display the hybrid map with directions:
{{ dhtml.form{ publish: "form1", length: 50, inputs: [ { label: "From: ", field: "from", hidden: false }, { label: "To: ", field: "to", hidden: false } ] } }}
{{ live.hybridmap{zoom: 11, subscribe: "form1", publish: "directions"} }}
{{ dhtml.table([{ label: "Directions", field: "text" }, { label: "Distance", field: "info" }] , "directions") }}
| |
 | live.map(address : str, zoom : num, width : num, height : num, description : str, title : str, kind : str, publish : str, subscribe : str) : xml Embed Virtual Earth map with optional description. Parameters:
| Name | Type | Description | address
| str
| Optional. Street address to center map on (default: nil) | zoom
| num
| Optional. Map zoom level (1-19; default: 14) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | description
| str
| Optional. Map marker description (default: nil) | title
| str
| Optional. Map marker title (default: "Address") | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Format: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance.
| Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 map of San Diego: {{ live.map("San Diego, CA", 11, 200, 200, "This is a map of San Diego", "San Diego") }} | |
| | To prompt for an address and display the map:
{{ dhtml.inputbox{ length: 50, label: "Address: ", field: "address", publish: "inputbox1"} }}
{{ live.map{zoom: 11, subscribe: "inputbox1"} }} | |
| | To prompt for to/from locations and display the map with directions:
{{ dhtml.form{ publish: "form1", length: 50, inputs: [ { label: "From: ", field: "from", hidden: false }, { label: "To: ", field: "to", hidden: false } ] } }}
{{ live.map{zoom: 11, subscribe: "form1", publish: "directions"} }}
{{ dhtml.table([{ label: "Directions", field: "text" }, { label: "Distance", field: "info" }] , "directions") }}
| |
 | live.roadmap(address : str, zoom : num, width : num, height : num, description : str, title : str, publish : str, subscribe : str) : xml Embed Virtual Earth map in road-only mode with optional description. Parameters:
| Name | Type | Description | address
| str
| Optional. Street address to center map on (default: nil) | zoom
| num
| Optional. Map zoom level (1-19; default: 14) | width
| num
| Optional. Map width (default: 450) | height
| num
| Optional. Map height (default: 300) | description
| str
| Optional. Map marker description (default: nil) | title
| str
| Optional. Map marker title (default: "Address") | publish
| str
| Optional. Publish on channel (default: "default") | subscribe
| str
| Optional. Subscribe to channel (default: nil) | Publish Format: | Name | Type | Description | text
| str
| Map directions.
| info
| str
| Distance.
| Subscribe Formats: | Name | Type | Description | from
| str
| From address.
| to
| str
| To address.
| | Name | Type | Description | address
| str
| Street address. | label
| str
| Map marker title. | info
| str
| Map marker description. | Samples:
| Output | | To embed a 200 by 200 road map of San Diego: {{ live.roadmap("San Diego, CA", 11, 200, 200, "This is a map of San Diego", "San Diego") }} | |
| | To prompt for an address and display the road map:
{{ dhtml.inputbox{ length: 50, label: "Address: ", field: "address", publish: "inputbox1"} }}
{{ live.roadmap{zoom: 11, subscribe: "inputbox1"} }} | |
 | | To prompt for to/from locations and display the road map with directions:
{{ dhtml.form{ publish: "form1", length: 50, inputs: [ { label: "From: ", field: "from", hidden: false }, { label: "To: ", field: "to", hidden: false } ] } }}
{{ live.roadmap{zoom: 11, subscribe: "form1", publish: "directions"} }}
{{ dhtml.table([{ label: "Directions", field: "text" }, { label: "Distance", field: "info" }] , "directions") }}
| |
 |
| ファイル | サイズ | 日付 | 添付したユーザ | |
|---|
  |  | WindowsLiveAerial1.JPG 説明なし | 16.2 kB | 2007年 10月 24日, 21:31 | BrigetteK | | | |  | WindowsLiveAerial2.JPG 説明なし | 45.78 kB | 2007年 10月 24日, 00:45 | BrigetteK | |   |  | WindowsLiveAerial3.JPG 説明なし | 87.96 kB | 2007年 10月 24日, 21:33 | BrigetteK | | | |  | WindowsLiveContacts1.JPG 説明なし | 11.3 kB | 2007年 10月 24日, 01:30 | BrigetteK | | | |  | WindowsLiveContacts2.JPG 説明なし | 15.17 kB | 2007年 10月 24日, 01:39 | BrigetteK | | | |  | WindowsLiveContacts3.JPG 説明なし | 58.71 kB | 2007年 10月 24日, 19:14 | BrigetteK | | | |  | WindowsLiveDirections1.JPG 説明なし | 14.37 kB | 2007年 10月 24日, 19:30 | BrigetteK | | | |  | WindowsLiveDirections2.JPG 説明なし | 75.29 kB | 2007年 10月 24日, 19:34 | BrigetteK | | | |  | WindowsLiveFindOnMap1.JPG 説明なし | 16.14 kB | 2007年 10月 24日, 19:51 | BrigetteK | | | |  | WindowsLiveHybridMap1.JPG 説明なし | 18.53 kB | 2007年 10月 24日, 21:24 | BrigetteK | | | |  | WindowsLiveHybridMap2.JPG 説明なし | 48.37 kB | 2007年 10月 24日, 21:24 | BrigetteK | | | |  | WindowsLiveHybridMap3.JPG 説明なし | 90.23 kB | 2007年 10月 24日, 21:24 | BrigetteK | | | |  | WindowsLiveMap1.JPG 説明なし | 14.46 kB | 2007年 10月 24日, 21:41 | BrigetteK | | | |  | WindowsLiveMap2.JPG 説明なし | 38.42 kB | 2007年 10月 24日, 21:41 | BrigetteK | | | |  | WindowsLiveMap3.JPG 説明なし | 77.35 kB | 2007年 10月 24日, 21:41 | BrigetteK | | | |  | WindowsLiveRoadMap1.JPG 説明なし | 15.58 kB | 2007年 10月 24日, 21:46 | BrigetteK | | | |  | WindowsLiveRoadMap2.JPG 説明なし | 38.46 kB | 2007年 10月 24日, 21:46 | BrigetteK | | | |  | WindowsLiveRoadMap3.JPG 説明なし | 77.6 kB | 2007年 10月 24日, 21:46 | BrigetteK | |
|
Anyone know anything about this?
the correct syntax is
{{live.directions("92024", "92101")}} 2007年 10月 3日, 04:51に編集