Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

Sobelz Map Selector

Àpèjúwe

The Sobelz Map plugin allows users to select locations on a map and integrates with the WooCommerce checkout page.
By selecting a location by the user, the fields related to the location are filled.

Features

  • Accurate location selection on the map.
  • Integration with WooCommerce checkout fields.
  • The appearance of the map can be adjusted:
    • Customize search box and button text.
    • Change map and button color.
    • Change map icons.
    • Personalize field IDs for a tailored experience.
    • Show or hide the map on the payment page.

Configuration

  1. Navigate to ‘Map Selector’ in the WordPress admin menu.
  2. Adjust the plugin settings, including map color, submit button color, and other options.
  3. Customize the map appearance and behavior to suit your needs.

Support

For support and inquiries, please contact us at sobelzcom@gmail.com.

License

Sobelz Map Plugin is licensed under the GPLv2 or later license.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

Third Party Services

The map display and functionality in this plugin are powered by a compressed React file that utilizes the Nominatim API and Tile URL from OpenStreetMap.

Nominatim API

The Nominatim API is employed to retrieve geographic information about places, including latitude and longitude. The plugin uses the following URL to make requests to the Nominatim API:

This URL specifies that the response should be in JSON format, and the language is set to Persian (fa).

The response from the Nominatim API is utilized to initialize the map.

Default Map Location

The default location of the map is set to Iran. The tile images for the map are retrieved using the following URL:

Here, the {z} parameter specifies the zoom level, {x} specifies the x-coordinate of the map center, and {y} specifies the y-coordinate.

User Interaction

Users can resize the map by dragging the edges.

External Service Documentation

Please note that this plugin relies on the Nominatim API, Tile URL and OpenStreetMap services. It is important for users to be aware of the third-party service usage.

By using this plugin, you agree to comply with the terms of use and policies of the external services mentioned above.

Source Code

Àwọn àwòrán ìbòjú

  • Plugin display after installation screenshot-1.png.
  • Plugin Settings Page screenshot-2.png.
  • Plugin Functionality Example screenshot-3.png.
  • Customizing Plugin Settings screenshot-4.png.

Ìgbéwọlẹ̀

  1. Upload the sobelz-map folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Visit the ‘Map Selector Settings’ page in the WordPress admin to configure the plugin.

Note: If the map is not displayed on the checkout page for you after installing the plugin, please replace the existing content on the checkout page with the shortcode [woocommerce_checkout].

FAQ

Q: Is this plugin compatible with the latest version of WordPress?
A: Yes, the plugin is tested and compatible with WordPress version 6.4.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Sobelz Map Selector” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Sobelz Map Selector” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.0

  • Initial release.