@boldadmin/angular-google-maps
Version:
Google Maps adapter for Angular Framework
27 lines (26 loc) • 1.11 kB
TypeScript
/// <reference types="googlemaps" />
import { Coordinates } from '../value-object/coordinates';
import Circle = google.maps.Circle;
import CircleOptions = google.maps.CircleOptions;
import Geocoder = google.maps.Geocoder;
import LatLng = google.maps.LatLng;
import Map = google.maps.Map;
import MapOptions = google.maps.MapOptions;
import Marker = google.maps.Marker;
import MarkerOptions = google.maps.MarkerOptions;
import SearchBox = google.maps.places.SearchBox;
import Polyline = google.maps.Polyline;
import PolylineOptions = google.maps.PolylineOptions;
export declare class GoogleMapsFactory {
getGoogleMaps(): any;
createMap(options: MapOptions): Map;
createCircle(options: CircleOptions): Circle;
createMarker(options: MarkerOptions): Marker;
createPolyline(options: PolylineOptions): Polyline;
createSearchBox(): SearchBox;
createLatLng(coordinates: Coordinates): LatLng;
createGeocoder(): Geocoder;
getSearchBoxInput(): HTMLInputElement;
createSize(width: number, height: number): google.maps.Size;
createPoint(x: number, y: number): google.maps.Point;
}