on 11-15-2011 9:18 AM
Dear All,
I have a task to embed Google Maps into web dynpro and/or CRM WebUI.
There is no problem with embedding only map with route on it, but I need also calculated distance.
In WebDynpro I've just created iFrame CHIP component which targets: http://maps.google.pl/maps?output=embed and two CHIPS with import parameters to give source and destination address. Route is calculated and drawn.
Problem is with the distance, because the only way is to consume google web service (which is not SOAP, so I can't use service consumer). It must be something like web request.
URL which I need to access is:
or
where origins and destinations must be connected with import CHIPS. How to access such service in a proper way?
Second thing is that I have to parse response.. it could be XML or JSON format. I just need summary distance. Any idea?
Btw - I'm quite fresh with WebDynpro and WebUI, so I'm looking for good 'HOW TO' guide. Can you recommend something which is good to start with?
thanks in advance
Hi,
check this reference to start with: [How to integrate google maps in Web Dynpro ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0bca5ae-3c5c-2d10-938d-a81787f59ace?QuickLink=index&overridelayout=true]
Also this demo by Thomas Jung Sir: [Google Maps: Flash Islands in WDA|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/80f16eef-91ef-2b10-4fb5-d709436f3cc3&overridelayout=true]
hope this helps u.,
@moderators: Don't Close this thread instead move to Web Dynpro ABAP Forum
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I know first document and I've used it but as I said - this only shows route on map, but gives no other informations. I need to know distance which involves http-request to other web service. Second one uses flash islands, so I'm also not sure if that's solution which I'm looking for.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.