Globalization and Localization in EJ 1 ASP.NET MVC Maps
20 Mar 2018 / 1 minute to read
Right-to-Left or RTL describes the ability of application to handle and responds you to communicate with a right-to-left language, such as Arabic or Japanese. enableRTL property is used to change the rendering format to “Right-to-Left”. By default, legend and tooltip will be rendered as “Left-to-Right” in Maps.
@(Html.EJ().Map("maps") .EnableRTL(true) )
In default legend, after setting
EnableRTL is set as true, legend text will be rendered first, and then legend icon will be rendered.
EnableRTL is set as true, then whole interactive legend will be rendered from right-to-left, which means left label will be rendered at right side, and right label will be rendered at left side. Also, navigation arrow position will be changed to right side.
EnableRTL is set as true, tooltip will be rendered at the left side of the mouse cursor.