简体   繁体   English

GoogleCode 商店定位器

[英]GoogleCode Store Locator

I am trying to build a search feature for my website.我正在尝试为我的网站构建搜索功能。 I have some address of dealers (lat,lng,descr fields) and upon searching for a location.我有一些经销商的地址(纬度、经度、描述字段)并在搜索位置时。 I want to show on map, all dealers close around 10-15 miles range.我想在地图上显示,所有经销商都在 10-15 英里范围内。 I found this googlecode storelocator.我找到了这个 googlecode storelocator。 However, after looking for weeks I could not find a single example of fetching data from mysql tables.但是,在寻找了数周之后,我找不到从 mysql 表中获取数据的单个示例。 http://storelocator.googlecode.com/git/reference.html#storeLocator.DataFeed http://storelocator.googlecode.com/git/reference.html#storeLocator.DataFeed

I am trying to implement this in laravel 5 using eloquent and views.我正在尝试使用 eloquent 和视图在 laravel 5 中实现这一点。 Any guidance or example would be wonderful.任何指导或例子都会很棒。

I am a newbie so a detailed answer would be highly appreciated.我是新手,因此非常感谢详细的答案。 :) :)

Make sure your connections are set up in config/database.php and you can follow the ORM page on the Laravel 5 site to get going: http://laravel.com/docs/5.0/eloquent确保您的连接在config/database.php中设置,您可以按照 Laravel 5 站点上的 ORM 页面开始操作: http ://laravel.com/docs/5.0/eloquent

After that, start a new question for specific help.之后,开始一个新问题以获得特定帮助。 But this is a pretty broad question as it stands.但就目前而言,这是一个相当广泛的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Shopify中实现JQuery存储定位器插件 - Implementing JQuery store locator plugin into Shopify 在网站上的商店定位器后面刮取 JSON 数据 - Scrape JSON data behind store locator on website 修改Google Maps API商店定位器以在WordPress中使用JSON数据 - Modifying Google Maps API store locator to use JSON data in WordPress 如何使用 WP Store Locator 在前端显示自定义元数据? - How to show custom metadata on the frontend wit WP Store Locator? jQuery商店定位器 - 删除谷歌地图及其功能 - jQuery store locator - removing the google map and its functionality Google Map API 使用商店定位器和我的地图 - Google Map API working with Store Locator and My Maps 如何通过 Bjron Holines Store Locator 插件使用 javascript + 已经在系统现有 ColdFusion 代码上为多个域设置 cookie - How can I set a cookie for multiple domains using javascript + already on the system existing ColdFusion code, via Bjron Holines Store Locator plugin com.googlecode.json-simple和Java Streams不能一起使用 - com.googlecode.json-simple & Java Streams not working together 如何使用循环读取 json 文件并将变量插入定位器? - How do I read json file with a loop and insert variables into locator? 将此存储为对象 - Store this as an object
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM