使用 Gmap 和位置进行 Drupal 搜索

发布于 2024-12-27 05:50:32 字数 294 浏览 2 评论 0原文

我们有 drupal 6 项目,其中一个单独的内容类型是作者,我们在其中记录他们的姓名、电子邮件和所有与位置相关的字段,如邮政编码、城市、地址等,现在我们希望创建一个搜索表单,用户可以在其中选择作者类型,例如(用户输入邮政编码并选择以英里为单位的搜索范围(如 1 英里或 5 英里等)后,作者内容类型中的英语作者、德语作者字段,之后当用户按下搜索按钮时,它会使用自定义标记显示谷歌地图上的所有位置图像位于该搜索表单的右侧,

因此布局类似于

搜索表单(左侧)和带有位置的 Google 地图(右侧)

请帮助我提供示例,提前致谢。

we have drupal 6 project where one separate content type is AUTHOR where we record their name,email, and all location related fields like Zipcode, City, address etc now we want that to create a search form where user can select the Authors type like (English Author, German AUthors fields from Author content type after that user enter the zipcode and select the search range in miles like 1 Mile or 5 miles etc after that when user press the search button it show all the location on google map with custom marker image on right side of that search form

so layout like that

SEARCH FORM (on left) AND Google map with locations (on Right)

Please help me with examples thank in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稍尽春風 2025-01-03 05:50:32

我认为 位置GMap 模块将为您提供所需的一切。

I think the Location and GMap modules will give you everything you need.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文