Skip to content

Google Map is Empty after Implement Options #19908

@DMaternusFielddata

Description

@DMaternusFielddata

Hi,
if I iplements the Code for the Google Map Options, my Map empty.
What do I Wrong?
https://stackblitz.com/

.html

<google-map
  height="500px"
  width="100%"
  [options]="mapOptions"
  [zoom]="mapZoom"
></google-map>

.ts


import { Component} from '@angular/core';
import { MapInfoWindow, MapMarker, GoogleMap } from '@angular/google-maps'

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.css' ]
})
export class AppComponent {
  zoom=15;
  options : google.maps.MapOption = {
    maxZoom: 18,
    minZoom: 15,
    fullscreenControl: false,
    streetViewControl: false,
    mapTypeControl: false,
  }
}

"@angular/core": "~9.1.3",
"@angular/google-maps": "^9.2.2",

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: google-maps

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions