Custom Marker Widget

An alternative to Marker when you may want to have the full control of the marker rendering.

Check out the demo


This component is an alternative to the built-in marker. In some cases, you may want to have the full control of the marker rendering. You can provide any React components to design your custom marker.

The component currently doesn’t support options updates. Once the component is rendered, changing the props won’t update the marker options. You have to unmount then mount the widget back.

This component is part of the InstantSearch open source UI library that lets you quickly build a search interface in your frontend application.

InstantSearch’s goal is to help you implement awesome search experiences as smoothly as possible by providing a complete search ecosystem. InstantSearch tackles an important part of this vast goal by providing frontend widgets that you can assemble into unique search interfaces.


Was this useful?




Built and supported by Algolia




The best Search and Discovery Platform for your business.

Recommended content

Frontend Tools
Widgets & Plugins

Marker Widget

A widget that wraps google.maps.Marker, all the options available on the Marker can be provided as props.

  • JavaScript
  • React
  • Vue.js
  • Angular