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

GetMarkers() APi has wrong return type #4641

Closed
rbirkgit opened this issue Feb 20, 2022 · 1 comment
Closed

GetMarkers() APi has wrong return type #4641

rbirkgit opened this issue Feb 20, 2022 · 1 comment

Comments

@rbirkgit
Copy link

I see this in the type declaration. It's not returning an array, but an object.

getMarkers(inFront?: boolean): MarkerLike[];

So should probably something like:

getMarkers(inFront?: boolean): Record(number, MarkerLike>;

@andrewnester
Copy link
Contributor

Released in Ace 1.12.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants