sinani
sinani
Case 1 ``` @Component({ ... }) export class MyMapComponent { center = { lat: 1; lng: 2 }; onClick() { this.center = { lat: 45, lng, 45 }; } ```...
This worked for me: ``` onMapReady($event) { this.mapObject = $event.data.map; } onCenterClick() { this.mapObject.setCenter({ // or .panTo(..) lat: 43.7260366, lng: -79.829754 }); } ```
> latest prettier version is v6.10.0 Latest `prettier` version is 2.3.1. You're linking to `eslint-config-prettier` project. You need to install an exact Prettier version. https://prettier.io/docs/en/install.html > Install an exact version...
You need to install an exact Prettier version. https://prettier.io/docs/en/install.html > Install an exact version of Prettier locally in your project. This makes sure that everyone in the project gets the...
When you set `"prettier": "^1.17.0"` it's going to periodically update and you'll have to reformat your code. Further, `codeclimate-eslint` itself is also using an unpinned `prettier` version so that's also...