Skip to content

Add StaticMapsRequest.path(EncodedPolyline)#511

Merged
domesticmouse merged 1 commit intogooglemaps:masterfrom
apjanke:static-maps-encoded-polyline-arg
Nov 5, 2018
Merged

Add StaticMapsRequest.path(EncodedPolyline)#511
domesticmouse merged 1 commit intogooglemaps:masterfrom
apjanke:static-maps-encoded-polyline-arg

Conversation

@apjanke
Copy link
Copy Markdown
Contributor

@apjanke apjanke commented Nov 4, 2018

Closes #233.

This adds a StaticMapsRequest.path(path) variant that accepts an EncodedPolyline as the path argument. It uses the encoded polyline in the request it produces.

The test case EncodedPolyline was produced using apjanke/gmsj-cli@599cee7. It seems to produce a correctly formatted request. I have not tested it by actually running the requests against the Google Maps API server, though.

@domesticmouse domesticmouse merged commit f5707f8 into googlemaps:master Nov 5, 2018
@apjanke apjanke deleted the static-maps-encoded-polyline-arg branch November 8, 2018 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants