[]
        
(Showing Draft Content)

C1.Web.Api.Visitor.Providers.GoogleMapLocationProvider

GoogleMapLocationProvider Class

A location provider help to detect the Visitor Location using Google MAP API.

Inheritance
GoogleMapLocationProvider
Implements
Namespace: C1.Web.Api.Visitor.Providers
Assembly: C1.AspNetCore.Api.Visitor.dll
Syntax
public class GoogleMapLocationProvider : ILocationProvider

Constructors

Name Description
GoogleMapLocationProvider(string)

Default constructor.

Properties

Name Description
ApiKey

An API Key to working with Google MAP API.

Methods

Name Description
LocationFromIPAddress(string)

Getting Geographical location based on an IP Address

LocationFromLatlng(double, double)

Getting Geographical location based on latitude and longitude point.

Type()

Get location provider type