Display no stores on initial view - Store Locator JS API (Library)

Is it possible to start the Store Locator and show no stores? I.e. only show stores, after a search has been made please?

Yes, sure.
You need to instantiate the woosmap.TiledView() after the wanted user action.
For example, in the below jsfiddle, the Mapview is instantiated after the user hit “Enter” in the input text.

1 Like