Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
e2e
server
src
.angular-cli.json
README.md
dvconfig.json
karma.conf.js
ng-package.json
package.json
protractor.conf.js
public_api.ts
tsconfig.json
tslint.json

README.md

Geolocation

Locate points of interest

Components

  • create-marker-from-map
  • create-marker
  • delete-marker
  • display-map
  • get-current-location
  • show-marker
  • show-marker-count
  • show-markers

Notes

To use this concept in your app you need to add the following to styles.css:

@import "~leaflet/dist/leaflet.css";
@import "~leaflet-routing-machine/dist/leaflet-routing-machine.css";
@import "~leaflet-control-geocoder/dist/Control.Geocoder.css";

Configuration Options

Option Type Default Description
mapType leaflet or gmap leaflet Specifies which Maps API to use (Leaflet [leaflet] or Google Maps [gmap])
apiKey string undefined Must be set if mapType === gmap
You can’t perform that action at this time.