amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Feature Request: Store Locator

Open craigscott29 opened this issue 8 years ago • 2 comments

On the website I manage, we have a dealer/store locator for our customers. This page is the only page on our site that is not AMP compliant due to all the JavaScript required to run that feature. It's currently a WordPress plug-in, but I'm working on building a custom one to tie into our ERP API. Through doing this it got me thinking, is something like this possible within the scope of AMP?

find-a-dealer

I am aware of the AMP geolocation capabilities and the ability to build out static maps through amp-list. The features this appears to lack are the ability to add multiple markers on a single interactive map and the ability to search within a radius of the users inputted location.

Basically, I'm looking for some sort of combination of amp-list and amp-bind that integrates with a map and allows for:

  • User inputted address searching
  • Radius filtering
  • Custom attributes filtering
  • Multiple markers on an interactive map

Perhaps something like this is possible now and I'm just not thinking/looking hard enough. If that's the case, please point me in the direction to go searching.

craigscott29 avatar Aug 14 '18 14:08 craigscott29

@craigscott29 For now, amp-iframe is the only way. We are considering adding amp-maps component (#12209) but that's currently not prioritized.

aghassemi avatar Aug 14 '18 18:08 aghassemi

closing per comment above.

aghassemi avatar Aug 14 '18 18:08 aghassemi