Xamarin.forms.googlemaps: Polyline with Symbols and/or Patterns

Created on 29 Mar 2018  路  3Comments  路  Source: amay077/Xamarin.Forms.GoogleMaps


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
enhancement

Most helpful comment

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

All 3 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

woellij picture woellij  路  4Comments

goodguy010 picture goodguy010  路  5Comments

LukasThijs picture LukasThijs  路  7Comments

kitkat14 picture kitkat14  路  3Comments

amay077 picture amay077  路  4Comments