cancel
Showing results for 
Search instead for 
Did you mean: 

Add Google static maps Api to a new destination

former_member592277
Discoverer
0 Kudos

Hi,

I am trying to configure a new destination to consume Google static API on a Fiori APP.

As explained in this tutorial:

Add a map display to your app

If i create a destination with NoAuthentication I cannot reach the API

Failure reason: "peer not authenticated"


Anyone knows how to configure it properly?

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate

Hi Manuel,

thanks for letting us know. It seems that Google has changed its API and doesn't support keyless access anymore. You will also get an error message when you try to access https://maps.googleapis.com/maps/api.

I will check with my colleagues internally to see how we will update the tutorial content.

Regards,

Marius

Jayakrishnan
Active Participant
0 Kudos

Hi Marius,

Is there any other standard way to integrate google map API with direction API in SAPUI5 application. I have gone through some of the samples by creating separate maps.js file and HTML view. but how do i integrate with sapui5 XML view?. we have got API key.

Thank you,

Regards,

JK.

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

Hi JK,

Sorry, I'm not aware of a new best practice as of now. I would say the "standard" ways are the two scenarios described in the UI5 doc:

https://sapui5.hana.ondemand.com/#/sample/sap.ui.vbm.sample.GeoMapBasic/preview (doesn't seem to work correctly atm)

https://sapui5.hana.ondemand.com/#/entity/sap.ui.vbm.GeoMap

Regards,

Marius

Answers (0)