To change the default clusters color, do the following:
- Visit the link https://www.flaticon.com/free-icon/circle_319873
- Click on the button “SVG” and choose the clusters color.
- Click on the button “Download” to download your SVG custom icon.
- Go back to your website dashboard and edit your map.
- Edit your map, click on the menu “Marker Clustering Settings” and upload your custom icon in the fields “Large cluster image”, “Medium cluster image” and “Small cluster image”.
To change the default marker color, do the following:
- Visit the link https://www.flaticon.com/free-icon/location-pin_106162
- Click on the button “SVG” and choose the marker color.
- Click on the button “Download” to download your SVG custom icon.
- Go back to your website dashboard and edit your map.
- Upload your custom icon in the field “Marker Settings => Marker image”.
If you change the main colors of the plugin, you may need to change the (search form) slider color too. To change the slider color, do the following:
- Open the plugin’s folder in your desktop.
- Open the image under “codespacing-progress-map/assets/img/rangeSlider/sprite-skin-flat.png” in Photoshop or similar.
- Change/edit the image colors and save it in your desktop.
- In your website, upload your image to your media library (Media => Add new).
- Add the following PHP code in the file “functions.php” of your theme/child theme:
function cspm_range_slider_img(){
return 'http://mysite.com/wp-content/uploads/2018/06/sprite-skin-flat.png';
}
add_filter('cspm_range_slider_img', 'cspm_range_slider_img');
- Go back to your media library, open your slider image and copy the image link (the link can be found in the field “URL”).
- Go back to your “functions.php” file and change “http://mysite.com/wp-content/uploads/2018/06/sprite-skin-flat.png” with your image URL.
The plugin provides the possibility to easly change the main colors from the settings. To change the main colors of the plugin, do the followings:
- Click on the menu “Progress Map”
- Click on the menu “Customize”
- Change the colors in the fields “Main color” and “Hover color”
- Save your settings.
To customize the map using your custom CSS code, do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- Add your custom CSS in the field “Custom CSS code”.
To change the display order of the left buttons displayed vertically on the map (Recenter map button, heatmap button, Geotarget button, etc …), do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- In the field “Map vertical elements display order”, drag an element to the position where you want it to appear.
To change the display order of the top buttons displayed horizontally on the map (Map search, Filter, Countries list, Nearby places, etc …), do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- In the field “Map horizontal elements display order”, drag an element to the position where you want it to appear.
To change the countries list button image, do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- Upload your custom image in the field “Countries button image”.
To change the image of the search button, do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- Upload your custom image in the field “Search form button icon”.
To change the faceted search button image, do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Customize”.
- In the field “Faceted search button icon”, upload your custom image.