ThinkGeo.com    |     Documentation    |     Premium Support

MouseCoordinateMapTool resize font

Good day.

We are using MouseCoordinateMapTool.

---- Code —
MouseCoordinateMapTool coordinateTool = __map.MapTools.MouseCoordinate;
coordinateTool.MouseCoordinateType = MouseCoordinateType.DegreesMinutesSeconds;
MouseCoordinateMapToolSetting coordinateToolSetting = new MouseCoordinateMapToolSetting(coordinateTool);
coordinateToolSetting.Enabled(true);

We want change coodinate font size and other font settings(color, font-family etc…).
Is it posible?
Please check this problem.

Best regards.

Hi Binary,

Yes, we can change the styles by CSS style. We just need to create a style for the element with ID “MousePosition”, like below:

<style>
#MousePosition {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
}
</style>

Hope it’s helpful.

Thanks,
Peter

Hi Peter,
We are resolve a problem with your support.
Thank you for your help.

Hi Binary,

I am glad to hear that works.

Regards,

Don