I do all this as my job activity, I will continue on monday, thanks Thanks a lot for your comments mariobi40
On 10 jun, 18:04, Andrew Leach <[email protected]> wrote: > On 10 June 2011 23:55, mariovi <[email protected]> wrote: > > > { > > if (status == google.maps.ElevationStatus.INVALID_REQUEST) > > { > > document.getElementById("elvolumen").value= > > "INVALID_REQUEST"; > > > } > > else > > { > > if (status == google.maps.ElevationStatus.OVER_QUERY_LIMIT) > > { > > //document.getElementById("elvolumen").value= > > "INVALID_REQUEST"; > > } > > and the execution returns, INVALID_REQUEST, so I am checking why if > > the code before de elevation request runs repeatedly fast, it fails. > > Which "INVALID_REQUEST" does it return? Is it running into a rate > limit, or is the request really invalid? > > Why not simply do > document.getElementById("elvolumen").value = status; > so you get to see exactly what's happening? You'll get a number, but > that's fairly easily interpreted. > > When are you going to provide a link so that proper help can be given? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
