To fully work with Near Me and Drop-pin on Maps, you have to ensure that the directory should be running through a configured SSL.
Without an SSL defined, the Near me and Drop-pin on Maps won’t work.
To know more about SSL, please, get in contact with your hosting provider to enable the SSL for your server.
some hosting providers may offer different services for SSL settings. You may have access to SSL through Cloudflare, Let’s Encrypt or others. Most of these services are one-click enable, you should check if your domain and all related URL (HTTP) are being redirected to (HTTPS)