/** * SchoolHeroMap * The location map that sits atop the school-detail hero. Shows a static * preview (pin + tiles) that blends down into the title; the whole band — or * the parent's "View on map" link, via the imperative `open()` handle — expands * it to a fullscreen, interactive map. */ 'use client'; import dynamic from 'next/dynamic'; import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react'; import styles from './SchoolHeroMap.module.css'; const LeafletHeroMap = dynamic(() => import('./LeafletHeroMapInner'), { ssr: false, loading: () =>