Marker Widget

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

Check out the demo

About

This widget is a wrapper around google.maps.Marker, all the options available on the Marker can be provided as props. This component can’t render any children components. You can take a look at <CustomMarker /> for this behavior.

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.

 

Examples

Was this useful?

Support

Built and supported by Algolia

Contributors

Algolia

Algolia

The best Search and Discovery Platform for your business.

Recommended content

Frontend Tools
Widgets & Plugins

Custom Marker Widget

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

  • JavaScript
  • React
  • Vue.js
  • Angular