DATA_NOT_AVAILABLE from getElevationAlongPath()

103 views
Skip to first unread message

JavaJive

unread,
Jun 25, 2010, 4:40:05 AM6/25/10
to Google Maps JavaScript API v3
I have tried to use the getElevationAlongPath() service and always get
the message DATA_NOT_AVAILABLE for a selection of locations within the
UK. An example of the parameters being sent is:
( [(51.30788524946315, -1.2453503646277357),(51.41985011272115,
-0.9406086444543159)], 1023 )

Am I doing something wrong, or does this service only cover the US?

PS: Please fix Google Groups broken colour schemes so that they can
be read on a machine whose desktop colours are set to have white text
on a black background.

Miguel Angel Vilela

unread,
Jun 25, 2010, 5:26:11 AM6/25/10
to google-map...@googlegroups.com

Data is available in many countries, I've used it in Switzerland and Australia so far without any problem. Can you please show us your code in a fully working page?


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


JavaJive

unread,
Jun 25, 2010, 8:30:27 AM6/25/10
to Google Maps JavaScript API v3
The problem seems to be that the maximum number of sample points is
not 1024 as documented, but 512.

Also, if you plan to use the Google Chart API to display the results,
remember that the maximum URL length is 2048 and the maximum chart
size is 300,000.
Reply all
Reply to author
Forward
0 new messages