user1565030
user1565030

Reputation: 23

Getting KML map api response as java script source

I have called this url http://maps.google.com/maps?f=d&hl=en&saddr=60012& daddr=500+NORTHWEST+HWY,+CARY,+IL,+60013&ie=UTF8&0&om=0&output=kml&sensor=false instead of getting KML response I am getting it as full javascript source. I am really confused with that. Could any one help me out from this issue.

Upvotes: 2

Views: 255

Answers (1)

Hesham Saeed
Hesham Saeed

Reputation: 5378

This way of extracting the Google Directions from Google by parsing the KML file is no longer available since 27 July 2012 (because Google has changed the structure of retrieving Google Directions, now you can only get it by JSON or XML), it is time to migrate your code to JSON instead of KML.

See the answer (for Android, but I guess you can work it out for BlackBerry) in my own question here.

Upvotes: 1

Related Questions