Is there a size limit for an encoded path to the google static map API? -


i've got application draws map using set of latlng points create polyline. want generate static map of path using google static map api , passed result of polyline's getpath() method google.maps.geometry.encoding.encodepath generate encoded path. when pass to: https://maps.googleapis.com/maps/api/staticmap?size=400x400&path=weight:3%7ccolor:orange%7cenc:polyline_data "polyline_data" represents encoded line status of "400 (bad request)"

when cut number of points down pass in every 20th point encoded path renders static map correctly. polyline comprised of 6000 points , when cut down 300 renders cleanly.

i understand resolution of points started fine grained have not been able find actual limit number of latlng points passed encodepath method such encoded string can passed google static map api. can point me @ specified limits? thank you.

from web services documentation

additionally, urls limited 8192 characters web services. services, character limit seldom approached. however, note services have several parameters may result in long urls.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -