explooosion / Agm-Direction

This is the directive for @agm/core (not official)
https://robby570.tw/Agm-Direction-Docs/
MIT License
75 stars 26 forks source link

suppressMarkers and suppressInfoWindows not working #102

Closed Svkiyo closed 4 years ago

Svkiyo commented 4 years ago

suppressMarkers and suppressInfoWindows not working

<agm-direction *ngIf="direction.destination" [renderOptions]="{suppressMarkers: true, suppressInfoWindows: true}" [origin]="direction.origin"
          [destination]="direction.destination">
        </agm-direction>

image

    "@agm/core": "^1.0.0-beta.7",
    "@angular-devkit/build-angular": "^0.13.0",
    "@angular/animations": "^7.2.12",
    "@angular/cdk": "^7.3.7",
    "@angular/common": "~7.2.0",
    "@angular/compiler": "~7.2.0",
    "@angular/core": "~7.2.0",
    "@angular/forms": "~7.2.0",
    "@angular/material": "^7.3.7",
    "@angular/platform-browser": "~7.2.0",
    "@angular/platform-browser-dynamic": "~7.2.0",
    "@angular/router": "~7.2.0",
    "@types/google-maps": "^3.2.2",
    "@types/node": "^11.11.3",
    "agm-direction": "^0.8.0",
    "core-js": "^2.5.4",
    "rxjs": "~6.3.3",
    "snazzy-info-window": "^1.1.0",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
eschricker commented 4 years ago

I have the same problem. With agm-direction version 0.7.9 it's working. So i downgraded my project to this version.

explooosion commented 4 years ago

Hi @Svkiyo @eschricker

Please install latest version.

eschricker commented 4 years ago

Great it's working. It's also working with @agm/core version 3.0.0-beta.0.

Thank you for the fast reply.