- By Monitri Mirai
- 26, March, 2024
- Technology
- 20 Feb, 2024
Loading ...
Amarker identifies a location on a map. By default, a marker uses a standard image. Markers can display custom images, in which case they are usually referred to as "icons." Markers and icons are objects of type Marker and they are designed to be interactive. For example, by default they receive 'click' events, so you can add an event listener to bring up an info window displaying custom information
Now copy and paste the below code as .html file on your local or online server.
Monitri Mirai Google Map API
Open the file in the browser and you will see the results as shown in the below video