google-maps-services-java icon indicating copy to clipboard operation
google-maps-services-java copied to clipboard

feat: COF #10682 - Color, weight and other attributes working with Encoded Polyline

Open JonSilvestrini opened this issue 5 years ago • 2 comments

Hello everyone!

Recently, i started a work who needs draw a static map with two routes with custom properties (by custom properties, please understood like color, weight, etc) and same time to be need with encoded polyline because was too much points to simply put on a path. Reading this documentation, https://developers.google.com/maps/documentation/maps-static/dev-guide, i noticed that Maps API support this customization, but reading the code of Java library for Maps, the library not supports this function yet. Well, i maked a few modification on library to add this function and want to share this modifications with you guys. I hope that contribution be helpful. Thanks for the attention.

Best regards, Jonatas Silvestrini

JonSilvestrini avatar Mar 27 '20 12:03 JonSilvestrini

@JonSilvestrini

Thanks for the contribution. Would you mind rebasing this and adding a simple test for the encoding of these additional attributes? Thanks!

jpoehnelt avatar Apr 28 '20 16:04 jpoehnelt

Hi @jpoehnelt Sure, i will write the tests and rebase it Thanks!

JonSilvestrini avatar May 05 '20 11:05 JonSilvestrini