Oracle Magazine, July/August 2017
Cloud Developer MOBILE However as explained earlier there is one snag for demonstration purposes and that is that I simply dont know where you are located As such when you created the places earlier in this article they may be nowhere near you For this demo app youre going to hardcode your latitude and longitude but while proceeding through the steps Ill show you how to remove the hard coding and use your current location for the real application you may choose to build after reading this article 14 In the Oracle Mobile Cloud Service UI click the hamburger menu and this time rather than expanding the Applications menu select it 15 On the resulting screen select the mobile apps blue icon box 16 Choose New Application when Oracle Mobile Application Accelerator prompts you to and enter the application name Customers in the first step of the wizard 17 In the next step of the wizard First Screen ensure that the Simple Screen ORACLE MAGAZINE JULY AUGUST 2017 65 option is selected and then click Next 18 For Screen Title enter Customers click Next and then complete the wizard by clicking Next and then Create 19 On the resulting Oracle Mobile Application Accelerator designer screen under Components drag the map icon into the mobile app By default the map will display Oracles headquarters in Redwood Shores California 20 With the map selected select the Properties tab on the right and make sure Best Fit for Points is selected 21 Still on the right select the Data tab In the resulting options make sure Multiple Points and Geolocation Code are selected 22 Still on the Data tab click the Business Object list and select Browse Service Catalog In Oracle Mobile Application Accelerator APIs are called business objects In the following steps you will bind the map to your places API mapping the data
You must have JavaScript enabled to view digital editions.