Xamarin.Forms.GoogleMaps
Xamarin.Forms.GoogleMaps copied to clipboard
Polyline with Symbols and/or Patterns
FEATURE REQUEST / SUGGESTION
SUMMARY
Please implement new options for polylines like line pattern and line symbols: https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-arrow
DETAILS
Please implement new options for polylines like line pattern and line symbols: https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-arrow
For example use a PolylineOptions object to initiate a new polyline. and use that options object to specify if you need a symbol or pattern
example in javascript with symbols:
var lineSymbol = {
path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW
};
lineas = new google.maps.Polyline({
path: ruta,
map: GMap,
icons: [{
icon: lineSymbol,
repeat:'60px',
offset: '50%'
}],
strokeColor: color,
strokeWeight: 2,
strokeOpacity: 1,
geodesic:true
});
PLATFORMS
which platform do you want?
- [x] Android
- [x] iOS
- [ ] UWP
Maybe we can!
- https://developers.google.com/maps/documentation/ios-sdk/shapes#change_the_color_of_individual_line_segments
- https://developers.google.com/android/reference/com/google/android/gms/maps/model/PolylineOptions.html?pattern(java.util.List%3Ccom.google.android.gms.maps.model.PatternItem%3E)
Hello ! Will this be added in a future release ? Thanks for your amazing work !
As Sebastien said, will this be added in the future? Sure would be nice. Thanks for the amazing work, indeed!
@amay077 so its been 4 years since mentioned on https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/188#issue-204049649 ... is this still on the roadmap? 🤔