Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

dalenguyen/angular-store-locator

Repository files navigation

Angular Store Locator Maps

This is an Angular 2+ Google Maps store locator project.

Demo at: http://angular-store-locator.surge.sh

Clone this project

git clone git@github.com:dalenguyen/angular-store-locator.git .

Customization

The location information is in app/locations.service.ts. You replace the current locations by replacing the sample with a GET request from your API.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Features

  • Search and reorder stores basing on distance
  • Show tooltip when clicking on a store