Hi,
I'm having issue in creating Gmap overlays. It is throwing cannot find "google". May i know how can i reference the Google Api in React with Typescript
let overlay = new google.maps.Marker({
position: {
lat: result[0].Latitude,
lng: result[0].Longitude
},
title: result[0].Title
});
this.setState(
{
overlays:overlay
})
<GMap overlays={this.state.overlays} options={options} style={{width: '100%', minHeight: '320px'}} />
Thank you
Sai.
GMap : cannot find google error
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests