Adding Markers & info windows in map

This documentation provides methods for adding markers and info windows to marker.

Adding Default Marker

Set custom color marker

Set draggable marker

Adding custom marker

  • Add your custom marker image
  • Create a div and add append styles to that div
  • Add div to element options in marker

Get marker position on drag

Remove Marker

Adding info windows to your marker

You can set text or add an HTML element to marker info windows
  • Create info windows and set text to your info windows
  • Create info windows and set HTML element to your info windows
  • Adding info windows to your markers

Example