@googlemaps/extended-component-library
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -7,4 +7,4 @@ /** | ||
/** Package version of this component library. */ | ||
export declare const LIBRARY_VERSION = "0.6.5"; | ||
export declare const LIBRARY_VERSION = "0.6.6"; | ||
/** Identifier of where this component library is sourced from. */ | ||
export declare const ATTRIBUTION_SOURCE_ID = "GIT"; |
@@ -7,5 +7,5 @@ /** | ||
/** Package version of this component library. */ | ||
export const LIBRARY_VERSION = '0.6.5'; // x-release-please-version | ||
export const LIBRARY_VERSION = '0.6.6'; // x-release-please-version | ||
/** Identifier of where this component library is sourced from. */ | ||
export const ATTRIBUTION_SOURCE_ID = 'NPM'; | ||
//# sourceMappingURL=constants.js.map |
@@ -438,8 +438,11 @@ /** | ||
renderMapDirections() { | ||
if (this.featureSet === FeatureSet.ADVANCED) { | ||
const originLatLng = this.searchLocation?.location; | ||
const destinationLatLng = this.selectedListing?.position; | ||
if (this.featureSet === FeatureSet.ADVANCED && originLatLng && | ||
destinationLatLng) { | ||
// clang-format off | ||
return html ` | ||
<gmpx-route-overview no-pin | ||
.originLatLng=${this.searchLocation?.location} | ||
.destinationLatLng=${this.selectedListing?.position}> | ||
.originLatLng=${originLatLng} | ||
.destinationLatLng=${destinationLatLng}> | ||
</gmpx-route-overview>`; | ||
@@ -446,0 +449,0 @@ // clang-format on |
@@ -30,3 +30,5 @@ /** | ||
fields: string[]; | ||
locationBias?: google.maps.LatLngBounds; | ||
locationBias?: google.maps.LatLngLiteral | google.maps.LatLngBounds; | ||
includedType?: string; | ||
region?: string; | ||
} | ||
@@ -33,0 +35,0 @@ /** Updated Place class with new attribution schema. */ |
{ | ||
"name": "@googlemaps/extended-component-library", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "Web Components for building rich experiences with the Google Maps JavaScript API.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1240269
12815