Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

To Intigrate Google Map in BSP page

Hello Experts,

My requirement is to show the google map in my BSP page. I have generated API key for that also. the following code works in .html extension but it wont work if i create a view in IC webclient and paste in its .htm page

But same code with BSP tags. wont work. It will just gives you a blank screen.

Bsp tags added are as follows

<%@page language="abap" %>

<%@extension name="thtmlb" prefix="thtmlb" %>

<%@extension name="chtmlb" prefix="chtmlb" %>

<%@extension name="bsp" prefix="bsp" %>

<%@extension name="htmlb" prefix="htmlb"%>

http://code.google.com/apis/maps/documentation/examples/event-argumentsl

You People can have a look at source code which i have used.right-click view source code

i found the follwing blog. I tried the same in system still the view is grayed out . I cant see any thing

Geocode Business Partner with Google Maps

suggest me What else should be done .

Thanks in advance

SRiNi

replied

Put the below code in your layout of the page/view.


<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>

<htmlb:content design="design2003">
  <htmlb:page title = "FIRST PAGE ">
    <htmlb:form>

     <iframe src="URL OF GOOGLE MAPS" width="100%" height="500px">
     </iframe>

    </htmlb:form>
  </htmlb:page>
</htmlb:content>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question