sg

Pazartesi, Ocak 16, 2006

Re: GPX File Creation with mfkenney/gpsroute.html code


Simon,

SimonFinch wrote:
> Is there a limit to the URL length in the GPX specification which is
> being thrown out by the long url? And if so, how can I edit the code to
> just show my site's URL and not the whole file creation url?

As barry pointed out, this is an entity encoding problem with the '&'.
My code does attempt to escape the URL before including it in the XML
output:

try {
strings.push(encodeURI(window.location.href));
} catch(e) {
strings.push(escape(window.location.href));
}

Are you perhaps using an old version of gmapgpx.js? ...

--Mike

>
> Cheers,
>
> Simon

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık