![]() ![]() Support for static Google maps in the form of a standard PNG file.There are many configuration options here, and no additional modules are required. A map widget working both with commercial suppliers (Google Maps, Baidu, Yandex, Here) and with the Open Leaflet library (with OpenStreetMap map layers running by default).Geolocation shows its full potential after running the secondary modules. You can determine the position of the website visitor using the location service provided by the browser or based on the IP address. This allows you to create a list of places within a given radius from the user. use distances in kilometres from a given point. If you want to use fields with coordinates in the views, you gain some interesting features. In its simplest version, it contains a field definition, two types of controls for editing it (coordinates and an HTML5 widget that retrieves the location from the browser), and formatters that display the location as text (decimal, sexagesimal – in the form of degrees, minutes and seconds, and using tokens). Its basis is simple, but it also contains over 20 accompanying modules. It's a module that adds a field with latitude and longitude to Drupal. Modules from the geolocation family Geolocation Field Alternatively, it is possible to combine address fields with other modules, which will be discussed later in the article. The Address module displays the saved addresses in their basic form customising the appearance of these fields requires having knowledge of building your own templates and CSS coding. The set includes ready-made validators (including the ones for postal codes) and additional "Country" and "Zone" fields. Its configuration is very simple: just select the address elements that you want to be visible or required. The module's capabilities will be especially appreciated by people who need to address support for different countries. Thanks to it, you do not have to create separate fields for a street name, apartment number, city, and post code. This module provides a field necessary to save the address, working for every country in the world. At the end, we will build together a sample places database, convenient to edit and eye-catching. Familiarise yourself with them and choose the ones that best suit your needs. I will start by presenting the top 10 geolocation modules for Drupal. I will show you some best practices on their basis. The topic of geolocation has also been raised in many large projects implemented by Droptica. It is a complicated matter and it requires integrating a large number of independent solutions. Consistent support of addresses, coordinates, maps and searching for places is definitely the Achilles' heel of most modern CMS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |