Treweler Store Locator
Display markers by distance to user’s position
For your convenience, here is an example of a custom map embedded in a WordPress page using a shortcode. In shortcode settings the map is set to “fullwidth”, at a map height of 800 pixels and a map width of 85%. You can also disable the zoom action in the shortcode settings so that the zoom level doesn’t change when you scroll over the map with the mouse. Get creative and play around with the shortcode settings to create the map style that matches your preference and your web project requirements.
This example of a map was created using the custom Treweler Light map style, with Austria as the location. The Zoom Level is initially set to 6,5. Choosing the zoom range from a minimum zoom level of 6 to a maximum zoom level of 16 allows users to focus on the necessary map details. The two types of attributes required by Mapbox are set at the lower left and lower right corners of the map. The feature list reveals custom markers with icons, popups and store locator that are easily accessed when you need them.
An impressively-designed map placed in a strategic part of your project webpage can instantly enhance the appearance of your page and immediately show plenty of information visually through one map. Just set the shortcode settings, copy the shortcode from the map page and paste the code precisely where you want the map to be placed on your page. If you are using custom WordPress themes or WordPress builders such as Elementor, WPBakery Page Builder or Visual Composer, you can also use shortcodes to embed your customized map into your WordPress page.