High-definition map JavaScript API part function