-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#20 Add dummy marker storage service #36
Conversation
src/src/app/main/components/google-map/google-map.component.html
Outdated
Show resolved
Hide resolved
} | ||
|
||
addMarker(evnt: google.maps.MouseEvent) { | ||
this.markerPositions.push(evnt.latLng); | ||
const newMarker = <Marker>{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natlex-to-me буквально на днях в картах поменялись типы, теперь этот тип называется google.maps.MapMouseEvent
. Скорее всего, еще стоит обновить пакет
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@artfulsage при обновлении пакета @types/googlemaps@3.43.0 возникает проблема
Namespace 'google.maps' has no exported member 'MouseEvent'.
Подробности тут DefinitelyTyped/DefinitelyTyped#50253
c0a3882
to
d2891e0
Compare
No description provided.