Skip to content

Commit

Permalink
chore: fire „ready“ event when map is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Mar 30, 2022
1 parent b56e6b0 commit cdb33dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Classes/TiGooglemapsView.m
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ - (void)mapViewDidFinishTileRendering:(GMSMapView *)mapView
if ([[self proxy] _hasListeners:@"complete"]) {
[[self proxy] fireEvent:@"complete"];
}
if ([[self proxy] _hasListeners:@"ready"]) {
[[self proxy] fireEvent:@"ready"];
}
}

#pragma mark Helper
Expand Down
2 changes: 1 addition & 1 deletion manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 7.1.0
version: 7.1.1
apiversion: 2
mac: false
architectures: arm64 x86_64
Expand Down

0 comments on commit cdb33dc

Please sign in to comment.