Community

Topic: Geo Augmented Markers

Using a custom view for for Marker that is not an ImageView (SOLVED)

Julien
Thursday, January 4, 2018

Is it possible to cast the MarkerView as something else as an ImageView in the GetView method shown in the Xamarin tutorial? I would like to use more complexe Views(small windows) as markers displayed by the camera.

Thanks.

user profile image
Support Team  (expert)
Monday, January 8, 2018

Hi,
for performance reasons it's not possible to use a custom view as a marker icon; alternatively, if you need to show few markers (like less then 10 markers), you could try to convert your custom view into a bitmap at runtime and set it as Bitmap property of the ImageView.

Julien
Tuesday, January 9, 2018

Hi,
Thanks for the suggestion, converting Views into Bitmap seems to do the trick as I don't have that many to display.

Sign in to add a comment