mcnero.blogg.se

Google earth widget
Google earth widget






  1. Google earth widget android#
  2. Google earth widget code#
  3. Google earth widget download#

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.

  • Now that widgets are set on the portal site page you can publish the site and view the its runtime.
  • You can go ahead and change additional widget settings – In the Google Map Configuration settings you can search for a different location to display, change the map zoom level, and set the widget height.
  • google earth widget

  • Enter the Google API key and click on Submit Key – notice that the map is loaded in the widget.Click OK to apply the changes.
  • Click on the Google Map widget to open the widget settings.
  • Click on the Customer Contact widget to open the widget settings and set the widget height.
  • Notice that if you configured the northwind destination properly – you should be able to see the list of customers in the Customer Contacts widget.
  • Once the widgets are added you can design their appearance on the page using the section settings editor.
  • Search and select the Customer Contacts and Google Map widgets to add them to the page.
  • Click on the + icon in one of the site pages sections to open the widget gallery.
  • To create a content-rich portal site, with a Launchpad page, Fiori apps, and ABAP WD app – follow this 9-step portal mission.
  • Create a Portal site – to create a new multi-page portal site, follow the steps described here.
  • – Deploy the widgets to your SAP Cloud Platform account. – Upload the two widgets available under this folder to your SAP Web IDE

    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

    google earth widget

    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.

    google earth widget

    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.

    google earth widget

    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.








    Google earth widget