Google Static maps no url limit

Asked

Viewed 94 times

1

I wanted to create an image of several routes in google maps, I already used the encodepath to reduce the size of the url, I also tried to reduce the definition of coordinate points among other ideas I had however what I need is to have no character impediment. Using html2canvas may be a solution, but because it only works on the client side, it’s an impediment to some of the functions I wanted to use. I leave here an example image of what I’m looking for. inserir a descrição da imagem aqui The solution may not have to go through using Static maps, what I’m really looking for are ideas to help me find a solution to my case. Thank you

  • But html2canvas is front-end, but that doesn’t stop you from going up to the server and saving in a normal image the result of toDataURL. Other than that I recommend you explain your problem better, I understand it a little bit, but I don’t know what the URL limit is, you mean the HTTP limit via GET to pass querystring? Please explain it better.

  • One of the functions was to generate a pdf on the server already with the image to send by email without the client having to see the image in the browser. The limit I’m talking about is the url only supporting 2048 characters and how I have many points exceeds that limit. Can I explain myself? Thanks for the help.

  • 1

    Yes you did, but tip You’re supposed to ask a clearer question and not explain it to me, you understand? Don’t take this the wrong way, these are just tips we sometimes give you to make your question clearer, there are numerous types of size limitations, the way you wrote the question you can draw numerous hasty conclusions and come up with answers that will not help you at all. =)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.