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