maui-maps

Integrate map controls, pins, polygons, and geocoding into .NET MAUI apps.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/snailb1007/snail-codex-skills --skill maui-maps-snailb1007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maui-maps
Source: https://github.com/snailb1007/snail-codex-skills/tree/main/skills/maui-maps
Command: npx skills add https://github.com/snailb1007/snail-codex-skills --skill maui-maps-snailb1007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Guidance for adding map controls, pins, polygons, polylines, geocoding, Google Maps API key configuration, and platform setup in .NET MAUI apps using Microsoft.Maui.Controls.Maps.

Core Features & Use Cases

  • Step-by-step guidance to integrate map visuals and interactions across Android, iOS, and Windows using MAUI.
  • Instructions for adding pins, shapes (Polygon, Polyline), and geocoding capabilities, plus API key configuration for Google Maps.
  • Real-world scenario coverage including map setup, markers, region moves, and basic data bindings.

Quick Start

Enable MAUI Maps in MauiProgram and add a basic Map control to display a location.

Frequently Asked Questions about maui-maps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add map controls and geocoding to a .NET MAUI app?

To add map controls and geocoding in .NET MAUI, call UseMauiMaps in MauiProgram, add the Map control from Microsoft.Maui.Controls.Maps, and configure platform-specific settings including the Google Maps API key.

Does MAUI Maps support adding pins, polygons, and polylines on Android, iOS, and Windows?

Yes, MAUI Maps supports adding pins, polygons, and polylines across Android, iOS, and Windows. You use Microsoft.Maui.Controls.Maps to place markers and draw interactive shapes on the map surface.

What steps are required to configure a Google Maps API key for a MAUI app?

Configuring a Google Maps API key for a MAUI app involves obtaining a key from Google and applying it within the Android and iOS platform-specific setup files to enable the underlying map rendering services.

Can I use geocoding to move the map region to a specific address in MAUI?

Yes, you can use geocoding to convert an address into coordinates and then move the map region. The Skill provides real-world scenarios covering region moves and basic data bindings for map interactions.

Why are my MAUI Maps not displaying after adding the Map control?

If MAUI Maps are not displaying, verify that UseMauiMaps is called in MauiProgram and that the Google Maps API key is correctly configured for the target platform, as missing these prerequisites prevents map rendering.