Skip to content
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

add args to panBy() #1507

Merged
merged 1 commit into from
May 9, 2017
Merged

add args to panBy() #1507

merged 1 commit into from
May 9, 2017

Conversation

rapropos
Copy link
Contributor

@rapropos rapropos commented May 8, 2017

In the google-maps plugin, there is a panBy() function with no arguments. Looking at the plugin code, it should take two numeric strings.

@@ -363,7 +363,7 @@ export class GoogleMap {
remove(): void { }

@CordovaInstance({ sync: true })
panBy(): void { }
panBy(x: string, y: string): void { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameters of panBy, are numbers since they refer to pixels.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin calls parseInt() on them. I believe they are strings.

@ihadeed ihadeed merged commit ec85792 into danielsogl:master May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants