Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the disable-gutenberg domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":17826,"date":"2019-02-15T17:32:19","date_gmt":"2019-02-15T17:32:19","guid":{"rendered":"http:\/\/wp\/?page_id=17826"},"modified":"2020-07-09T08:18:35","modified_gmt":"2020-07-09T08:18:35","slug":"maps-locations","status":"publish","type":"page","link":"https:\/\/www.salephpscripts.com\/wordpress-mapbox\/demo\/documentation\/maps-locations\/","title":{"rendered":"Maps Locations"},"content":{"rendered":"
\n

Maps locations<\/h2>\n

There are 3 ways to provide locations functionality on maps site:<\/p>\n

    \n
  1. Use predefined locations<\/strong> - this way users are able to use previously defined locations<\/a> for their listings. Autocomplete on addresses fields and \"Get my location\" button on addresses fields should be disabled<\/a>. So addresses fields will be used by users to manually fill in streets, buildings, postal codes, e.t.c. Also search by address<\/a> should be disabled in the search form. Visitors will search listings only by previously defined locations drop-down menu. Actually radius search is not necessary in this method.<\/li>\n
  2. Use addresses fields<\/strong> - do not need to insert predefined locations. Users will use only addresses fields, autocomplete function<\/a> and \"Get my location\" button on addresses fields can help them. Listings addresses fields (address line 1, address line 2, zip code) should contain whole information about country, state, city, region, streets, buildings, postal codes e.t.c. To get correct search results with nearby locations it is quite recommended to enable search by radius and set up default radius value in the search settings<\/a>.<\/li>\n
  3. Both methods<\/strong> (default)<\/em> - usage of predefined locations + addresses fields. But in this case information in addresses fields may contain country, state, city, region, the same as selected predefined locations. It is recommended to exclude locations levels<\/a> from address line.<\/li>\n<\/ol>\n

    <\/p>\n

    Some additional explanation about plugin search engine and its fields here<\/a>.<\/p>\n

    Predefined locations<\/h3>\n

    Site admin may create\/edit\/delete special predefined locations items. Management of directory locations tree has exactly the same functionality as standard WordPress categories, but these are separate items and have special administration page \"Maps listings -> Maps locations<\/em>\"<\/p>\n

    <\/i> Custom icons may be associated with maps locations displaying in the search form dropdown. Default icons files place in \"resources\/images\/locations_icons\/<\/em>\" folder of the plugin. Site administrator can upload custom icons into \"w2dc-plugin\/resources\/images\/locations_icons\/<\/em>\" folder of your child theme via the Files manager of hosting control panel or via FTP.
    \n<\/i> The plugin uses only one folder for icons: native folder or custom folder in your child theme when exists.<\/p>\n

    <\/p>\n

    After locations levels<\/a> were successfully configured and locations tree completed - users may select any predefined location from select boxes group on create\/edit listing page.<\/p>\n

    <\/p>\n

    <\/i> Listings<\/a> have an option to allow users to select more than 1 location for each listing.<\/p>\n

    Locations levels<\/h3>\n

    Just in some words, locations levels - these are names of nesting levels of directory locations tree. By default there are 3 locations levels: Country, State and City<\/strong>. Site admin can manage locations levels and exclude any of them from address strings. Also it is possible users can add new locations at the frontend submission form, 'Add Country', 'Add State' e.t.c. links appear below locations dropdowns.<\/p>\n

    When your maps site will be used locally, for example, for visitors from one country or one state\/region - do not delete unnecessary locations levels and predefined locations, they are required to set correct location point at the MapBox map during listings creation\/edition. You can just exclude needed locations levels from address line - there is such option for each locations level, it allows to build custom address line at the frontend. See examples:<\/p>\n

    <\/p>\n

    Also when you set up local maps site - it is recommended to fill in \"Default country\/state for correct geocoding<\/em>\" setting<\/a>.\n<\/div>\n

    \r\n

    Table of Contents<\/h4>\r\n