- Custom event button
- Custom renderer
- Baidu Map
Custom event button
The Store Locator Widget provides a customizable event button in its store renderers.
You can also modify the default label for this button “Set as Favorite” by updating the Store Locator Widget configuration. Please refer to the customTranslations documentation to do so.
Example of store event handling
A more detailed article is available on the Woosmap blog.
The two following examples can be useful for those who want to customize the Store Locator Widget. The simple example is sort of a default theme that you can edit it to add or remove informations. The advanced example has all previous informations plus pictures and ratings.
Example of simple store custom renderers
Example of advanced store custom renderers
When using Baidu provider for Store Locator Widget, autocomplete allows user to search for city names directly at first character input. As the webapp provides an unified configuration to handle various provider options, you can use the places configuration the same way than with Google provider.
Please see MapsConf object Specification for more details.
Note that the Localities autocomplete service is not available for China yet.
You can use some Baidu styling options by using the baiduMapStyle property of the WoosmapViewConf object Specification. Currently, only Baidu JsAPI v2 styling is available using the following styles :