
The Google Map widget subscribes to two site events – one of them provides the longitude and latitude of the location to display and the other searches the address using the Google Destination APIs to find the searched address coordinates.The Google Map script is loaded once with the API Key provided by the Portal admin.Read here for more information about the widget settings and the supported APIs. The Google Map widget has a custom widget settings UI for an extended configuration scenario. Widget Settings – the Customer Contact list includes the default key-value widget settings UI.
Google earth widget code#
Some words about the code used to implement these widgets.

Google earth widget download#
Get the source code – follow the steps described here under Download and Installation to.The SAP Cloud Portal samples are available in our sample GitHub repository. You can follow the steps in the first part of this blog

Create a destination named northwind – connecting to the Northwind OData API on your SAP Cloud Platform account.Follow these instructions to obtain a Google API Key.The API p rovides eventing capabilities for applications like firing events and attaching or detaching event handlers for events which are notified when events are fired. This is done using the SAPUI5 Eventbus API. The widgets are two separate SAPUI5 apps that communicate with each other, so when an end user selects a customer from the Customer Contacts widget – his address location is displayed on the Google Map widget. Customer Contacts widget – a list of customers retrieved from the Northwind public OData service.Google Maps widget – displaying a selected location on a Google map.

In this blog we will create two Portal widgets: With the SAP Cloud Portal customers can create great looking access points that bring all these applications together into one comprehensive business solution. If you have further questions, contact us under the SAP Cloud Platform its pretty straight forward to build applications and enhance their capabilities through integration with SAP and 3rd party solution and systems.
Google earth widget android#
And because Android widgets are tappable, you can zoom in and out without opening the Maps app.Note that our public GitHub repository, providing code samples for Cloud Portal on the Neo environment, is not available anymore. So if you're about to leave home, work, school or anywhere else, you’ll know at a glance exactly what local traffic might be like. And with the new nearby traffic widget, launching in the coming weeks, you’ll see this information for your current location right from your Android Home screen.

Whether you’re commuting or heading out to meet friends, Google Maps’ real-time traffic predictions can help you easily plan your route. To celebrate, we’re spotlighting five of our favorite widget features to help everyone better organize and personalize their Home screens. With the upcoming launch of the nearby traffic widget for Google Maps (more on that soon), 35 Google widgets will be available on Android. Widgets are a simple way to personalize any Home screen, putting the information that’s most important to you - your inbox, the weather, your to-do list or even a photo of your dog - front and center.
