-
Couldn't load subscription status.
- Fork 189
Added support for paths, paths with markers, custom marker icons, and style to the static_map_provider #128
base: master
Are you sure you want to change the base?
Conversation
This change will work for each function that places markers on a static map only when customIcon is set to true. Methods: getStaticUriWithMarkers getStaticUriWithMarkersAndZoom getStaticUriWithPathAndMarkers
Added the ability to use custom icons for markers on the static map.
|
The most recent commits allow the use of custom marker icons on the static map. I also added the function getStaticUriWithPathAndMarkers. Each function that deals with markers can now be passed a Boolean value that when set to true will attempt to use the custom marker icon set on a Marker object. This value defaults to false. |
Added the ability to style the static maps
|
The most recent commits will allow the use of styled static maps. A valid style string must be passed to the static_map_provider. The string should not start with '&style=' Incorrect style strings will result in a static map without any styling. |
Style now takes a List<String> where each string does not start with "&style=".
Added support for multiple style declarations within a single URI.
|
The most recent commits will allow the use of multiple style declarations within a single URI. Incorrect style strings will result in a static map without that particular style. |
remove print statement
Added ability to color path on static map
|
The most recent commits provide the ability to color the path on the static map. String values must meet the following requirements from Google's developer guide. color: (optional) specifies a color either as a 24-bit (example: color=0xFFFFCC) or 32-bit hexadecimal value (example: color=0xFFFFCCFF), or from the set {black, brown, green, purple, yellow, blue, gray, orange, red, white}. |
These changes allow the static map provider to support drawing paths on the static map.