import "core-js" ; type { Map < string , ScriptState > } export const Icons = new Map < string , H . map . Icon > ( ) ; param bitmap { string } export default function getMarkerIcon ( bitmap ) { if ( ! Icons . has ( bitmap ) ) { const icon = new H . map . Icon ( bitmap ) ; Icons . set ( bitmap , icon ) ; } return Icons . get ( bitmap ) ; }