自定义 Xamarin.Forms 地图Customizing a Xamarin.Forms Map

Xamarin.Forms.Maps 提供跨平台抽象,用于显示在每个平台上使用本机地图 API 的地图,为用户提供快速且熟悉的地图体验。Xamarin.Forms.Maps provides a cross-platform abstraction for displaying maps that use the native map APIs on each platform, to provide a fast and familiar map experience for users.

自定义图钉Customizing a Map Pin

本文介绍如何为 Map 控件创建自定义呈现器,该控件显示带有自定义图钉的本机地图以及每个平台上图钉数据的自定义视图。This article explains how to create a custom renderer for the Map control, which displays a native map with a customized pin and a customized view of the pin data on each platform.

突出显示地图上的圆形区域Highlighting a Circular Area on a Map

本文介绍如何向地图添加圆形叠加层,以突出显示地图上的某一圆形区域。This article explains how to add a circular overlay to a map, to highlight a circular area of the map.

突出显示地图上的区域Highlighting a Region on a Map

本文介绍如何向地图添加多边形叠加层,以突出显示地图上的某一区域。This article explains how to add a polygon overlay to a map, to highlight a region on the map. 多边形是内部空间已填充的封闭形状。Polygons are a closed shape and have their interiors filled in.

突出显示地图上的路线Highlighting a Route on a Map

本文介绍如何向地图添加折线叠加层。This article explains how to add a polyline overlay to a map. 折线叠加层是一系列连接线段,通常用与在地图上显示路线,或形成所需的任何形状。A polyline overlay is a series of connected line segments that are typically used to show a route on a map, or form any shape that's required.