1 hr 20 min
${e.name}
${e.formatted_address}
`}handleClick(e){const{placeId:t}=e.currentTarget.dataset,i=this.sights.find((e=>e.place_id===t)),r=new CustomEvent("place-selected",{bubbles:!0,composed:!0,detail:i});this.dispatchEvent(r)}};Yt.styles=Ee(e(":host{overflow-y:scroll}.sight-item{display:flex;padding:1em}.sight-item:first-child{padding-top:2em}.sight-item:last-child{padding-bottom:2em}.sight-item:hover{background:#f8f9fc;cursor:pointer}.sight-image{background:#ccc;border-radius:7px;flex-shrink:0;height:70px;object-fit:cover;width:85px}.sight-info{display:flex;flex-direction:column;justify-content:space-between;margin-left:.8em;overflow:hidden;padding:.2em 0}.sight-info>p{color:#757575;font-size:.9em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sight-info>p:first-child{color:#000;font-size:1.1em}")),Wt([Ye({attribute:!1})],Yt.prototype,"sights",void 0),Yt=Wt([We("travel-sights")],Yt);var Jt=function(e,t,i,r){var o,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,i,n):o(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};const Zt={maxHeight:400,maxWidth:700};let Qt=class extends Ne{render(){if(!this.place)return ie` Your world isn’t flat, and now your map isn’t either. With the Maps JavaScript API you can create next generation mapping experiences for the web using WebGL-accelerated features and the same performant, client-side rendered vector map you know from Google Maps. Tilt and Rotation (beta) Manually and programmatically control up to 67.5 degrees of tilt and full 360 degree rotation to create immersive user interactions, and bring Google Map’s oblique 3D building models into your apps for the first time. WebGL Overlay View (beta) Use the rendering power of the GPU on client devices to place 2D and 3D objects directly on the basemap. WebGL Overlay View gives you direct hooks into the WebGL rendering context of the vector basemap, allowing you to create mapping experiences never before possible. Get Started Learn more in the Maps JavaScript API documentation, or get started with our WebGL codelab. WebGL-powered features for the Maps JavaScript API