-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SebmGoogleMap): support panning
You can now use the panning feature of Google Maps when use `usePanning` binding: ``` <sebm-google-map <sebm-google-map [latitude]="lat" [longitude]="lng" [zoom]="9" [usePanning]="true"> </sebm-google-map> ``` When latitude/latitude values change and usePanning is true, the map uses the `panTo()` method of Google Maps. BREAKING CHANGES: The latitude, longitude and zoom inputs of <sebm-google-map> must be of type number now. Strings are not supported any more. Example: Old (now unsuported way): ``` <sebm-google-map latitude="33" longitude="22" zoom="8">... ``` New: ``` <sebm-google-map [latitude]="33" [longitude]="22" [zoom]="8">... ``` Closes #412 Closes #416
- Loading branch information
1 parent
7e09969
commit 760f410
Showing
2 changed files
with
46 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters