javascript - Google Maps JS API: Gradient Polyline -



javascript - Google Maps JS API: Gradient Polyline -

in ios version of google maps api, there's way of doing gradient polylines using "spans" property.

http://www.googblogs.com/gradient-polylines-and-structured-reverse-geocoding-results-google-maps-sdk-for-ios-v1-7/

https://developers.google.com/maps/documentation/ios/shapes?utm_source=welovemapsdevelopers&utm_campaign=gm-for-ios-sdk-1-7#change_the_color_of_individual_line_segments

however, there's no mention of alternative via javascript.

https://developers.google.com/maps/documentation/javascript/reference?csw=1#polyline

is there way gradient polyline via js?

thanks!

as seems limitation of svg, created ton of lines little gradients instead.

javascript google-maps google-maps-api-3

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -