angular-google-maps
Installation
SKILL.md
Angular Google Maps Skill
Rules
Setup and Configuration
- Import
GoogleMapsModulefrom@angular/google-maps - Load Google Maps script in
index.htmlwith API key - Use
@types/google.mapsfor TypeScript types - Restrict API key by domain/IP for security
Map Component
- Use
<google-map>component with[center],[zoom],[options]bindings - Set explicit height on
google-mapelement (required for display) - Use
google.maps.LatLngLiteraltype for positions:{ lat: number, lng: number } - Handle map events:
(mapClick),(mapDrag),(zoomChanged)