Topic: Angular Google Maps
Fend pro asked 7 years ago
Dawid Adach pro answered 7 years ago
<agm-map [latitude]="lat" [longitude]="lng"> <agm-marker [latitude]="lat" [longitude]="lng"></agm-marker> </agm-map>Note:
agm-map-marker
should be map-marker
. We will update our docs correspondingly.
Edyta Dabrowska free answered 7 years ago
Fend pro answered 7 years ago
Edyta Dabrowska free answered 7 years ago
@NgModule({
imports: [
AgmCoreModule.forRoot({
apiKey: 'your key here'
})
],
})
from here: https://developers.google.com/maps/documentation/javascript/get-api-key?hl=en#key
Fend pro answered 7 years ago
Edyta Dabrowska free answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No