Xamarin.Forms.GoogleMaps icon indicating copy to clipboard operation
Xamarin.Forms.GoogleMaps copied to clipboard

Polyline with Symbols and/or Patterns

Open galadril opened this issue 6 years ago • 4 comments


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

afbeelding

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

galadril avatar Mar 29 '18 10:03 galadril

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)

amay077 avatar May 04 '18 03:05 amay077

Hello ! Will this be added in a future release ? Thanks for your amazing work !

SebastienForay avatar Sep 20 '20 23:09 SebastienForay

As Sebastien said, will this be added in the future? Sure would be nice. Thanks for the amazing work, indeed!

LittleBoxOfChicken avatar Sep 21 '20 15:09 LittleBoxOfChicken

@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? 🤔

Raykud avatar Jun 28 '21 19:06 Raykud