Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Custom Information Window

$
0
0

Dear Xamarin Support team,

I need a help from you for the given requirement.

In my application I added google map and everything working perfect. My question is how to Split a tooltip on marker in to two lines in C#? Each marker Tooltip infomration is very lengthy and need to split in to two lines. For that I saw many java based coding and not found any of C# coding? Can u help me for this requirement?

MarkerOptions marker1 = new MarkerOptions ();
marker1.SetPosition (LastPos);
marker1.SetTitle (strhotspot);
marker1.InvokeIcon(BitmapDescriptorFactory.FromResource(Uicon));
_map.AddMarker (marker1);

Here strhotspot variable contains 200 characters and need to split that in to two lines.
Pls help me with the code.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>