Hi there, with bigger areas (3 o 4 times), it sends the error again, I changed to SAMPLES=50 and it works nice. Is there a lot of precision error with these number of samples? mariobi40
On 13 jun, 09:37, mariovi <[email protected]> wrote: > Dear friends, here again, I print out the status in the text box and > it sends > > status = OVER_QUERY_LIMIT > > what does it mean? > let me say again, the problema, with alerts or loop pauses, it runs > ok, without them, if fails, stops execution, with this status. > I will prepare the code to be available publicly this week, since I > work for a government agency and it takes time. > > thanks > mariobi40 > > On 10 jun, 19:32, mariovi <[email protected]> wrote: > > > > > 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?- > > > Ocultar texto de la cita - > > > - Mostrar texto de la cita -- Ocultar texto de la cita - > > - Mostrar texto de la cita - -- 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.
