timcblank
timcblank
You have to set a stroke position as well. [strokePosition]="1" 1 = around the outside of the circle for example.
Did you set a default height in the CSS for the AGM element? Need a fixed height to start with to display it.
``` public paths = [ {lat: 25.774, lng: -80.190}, {lat: 18.466, lng: -66.118}, {lat: 32.321, lng: -64.757} ]; ``` That is not an array or an iterable, but an Object...
I wrap the AGM tag in two container elements ``` ``` I then set the outer container to 100%, the inner container to some arbitrary height (it doesn't matter), and...
Need to install googlemap types `npm install @types/googlemaps` Then in the component import the types. `import { } from 'googlemaps';` Then need to define the position for use through a...
"google" is defined as a type from the types install with the project. You get access to those types from import. Make sure you've also included the AgmModule with your...
All googlemap types are imported through the command `import { } from 'googlemaps';` You don't need to declare the variable google at all. It becomes available inside the MapsAPILoader load...
As part of your template: ``` ``` In the TS: ``` public latitude: number; public longitude: number; private centerLat: number; private centerLng: number; public zoom: number; private changeLat: number; private...
If you are using a container then you may need to check for the resize event for the container instead.
copy of 517 https://github.com/SebastianM/angular-google-maps/issues/517 Basically you can make an object with the iconUrl for a marker and set the size from your component.ts file Just make sure the url is...