Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Mashup Center wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 2.0
  • 3.0
  • 3.0.0.1
  • action widgets
  • actions
  • admin
  • administering
  • administration
  • administrator
  • adminstering
  • Ajax
  • AJAX proxy
  • annotate function
  • annotator
  • API
  • api reference
  • benchmark testing
  • catalog
  • configuing
  • configuration
  • configure
  • configuring
  • creating
  • creating mashups
  • data
  • data mashup builder
  • data mashups
  • database
  • DB2
  • demo
  • deploy
  • deployment
  • designing applications
  • developer
  • developing
  • developing mashups
  • developing widgets
  • documentation
  • ECM Widgets
  • editing
  • Enterprise Content Management Widgets
  • errors
  • events
  • examples
  • explanations
  • feed
  • feed mashups
  • feeds
  • format
  • functions
  • getting started
  • greenhouse
  • guide
  • IMS database feeds
  • IMS feeds
  • IMS transaction feeds
  • installation
  • installing
  • mashup
  • MashupHub
  • mashuphub examples
  • mashuphub users guide
  • mashups
  • messages
  • migrating
  • objects
  • operators
  • Oracle
  • pages
  • payload types
  • pdf
  • performance
  • performance tuning
  • planning
  • product
  • programming
  • proxy
  • rest services
  • security
  • service
  • spaces
  • themes
  • troubleshooting
  • tutorial
  • tutorials
  • upgrading
  • user
  • users
  • v1.0
  • v1.1
  • v2.0
  • v2.0.0.2
  • v4.5.2.1
  • video
  • WAR
  • widget
  • widgets
  • widgets
  • wire
  • YouTube
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Widget Help > OpenStreet Map
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

OpenStreet Map 

expanded Abstract
collapsed Abstract
No abstract provided.
The OpenStreetMap widget displays street and map information for a selected location. You can  configure the OpenStreetMap widget to display information for a particular location, you can wire the OpenStreetMap widget to receive a location from another widget on the page, and you can wire the OpenStreetMap widget to send its location to another widget on the page.

Configuration tips

To display street and map details for a single location, configure the OpenStreetMap widget by providing desired location details. To display street and map details for locations chosen in other widgets, wire the OpenStreetMap widget to receive a location from another widget on the page. The  OpenStreetMap can also send its location information to other widgets on the page, using a variety of formats.


Events

See the following table to learn which events the Accuweather widget can send and receive:  

Send  

Name – event of type string that sends the city name

Longitude – event of type string that sends the location longitude

Latitude – event of type string that sends the location latitude

Street – event of type string that sends the street name

Street number – event of type string that sends the street number

Country – event of type string that sends the country name

Region – event of type string that sends the region name. For example, state for an address in the United States.

Sub region – event of type string that sends the subregion name. For example, county for an address in the United States.

Postal code – event of type string that sends the zip code

Population – event of type string that sends the city population

Type – event of type string that sends the location type. For example, seat of a first-order administrative division.

Data – event of type string that sends all data associated with the location as a comma-separated list (.csv format). For example:

Name,Longitude,Latitude,Country,Region,Subregion,Population,Type|String,String,String,String,String,String,String,String|Raleigh,-78.6386145,35.772096,United States,North Carolina,Wake County,276093,seat of a first-order administrative division  
JSON – event of type JSON that sends all data associated with the location as a JSON object. For example:

[{"name": "Raleigh", "longitude": "-78.6386145", "latitude": "35.772096", "country": "United States", "region": "North Carolina", "subregion": "Wake County", "population": "276093", "type": "seat of a first-order administrative division"}]  

Receive

feedURL – event of type string that receives the location from a feed

location – event of type string that receives the location

Example scenario:

Goal:

Display the street details and county name from location data received from the Customer List widget

Steps required:

1. Drag the OpenStreetMap, Event Explorer and Customer List widgets onto the page.

2. Hover your cursor over the OpenStreetMap widget and click the wiring icon  to open the wiring interface. Do the following steps:  

A.        Click the Receive tab.  
B.        In the Select content to receive section, select string from location.  
C.        In the Select a widget to send content section, select Customer List.
D.        In the Select content to send section, select string from Zip.  
E.        Click Done.


3. Hover your cursor over the OpenStreetMap widget and click the wiring icon  to open the wiring interface. Do the following steps:  

A.        Click the Send tab.  
B.        In the Select content to send section, select string from subregion.  
C.        In the Select a widget to receive content section, select Event Explorer.
D.        In the Select content to send section, select Display Event Data.  
E.        Click Done.



4. In the widget, click different customer names to display the street and population details of their location in the widgets.


expanded Article information
collapsed Article information
Category:
Widget Help
Tags:
mashup, widget

This Version: Version 4 December 21, 2009 11:24:09 AM by Roby R Senatore  

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (4)
collapsed Versions (4)
Version Comparison     
Version Date Changed by               Summary of changes
This version (4) Dec 21, 2009 11:24:09 AM Roby R Senatore  
4 May 18, 2009 4:40:06 PM Anna G O'Neal  
3 Aug 15, 2008 12:27:37 PM Anna G O'Neal  
1 Jul 1, 2008 10:44:23 AM Jason Gary  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use