I'm generating a google static map URL. Because of the map style, it's coming out very long. The google docs say the maximum URL length is 2048. It seems strange to me that google would impose this limit when styling is so verbose and must be included in the URL. It would be nice if they let you instead pass the URL to a style sheet the way they let you pass a URL to a marker image.
Anyway, my URL is 2295 characters, but google is returning the map to me without any complaints. I thought maybe google was counting characters after URL Decoding the URL, but if I add additional markers to extend my decoded URL length past 2048 characters, it still works. My worry is that they may fix this in the future and stop accepting my URLs. Does anyone know if there's a good reason why the length is not being limited?
Example (Requires a valid API key)