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

No method exposed to use CustomGeocode - findAddressCanidates query #25

Closed
keithdougherty opened this issue Jun 7, 2018 · 4 comments
Closed

Comments

@keithdougherty
Copy link

public virtual Task<SingleInputGeocodeResponse> Geocode(SingleInputGeocode geocode, CancellationToken ct = default(CancellationToken))

There is a method to geocode, which is using the "find" query, however there is no method being exposed to handle the "findAddressCanidates" query, which uses the CustomGeocode class

@davetimmins
Copy link
Owner

Its the SingleInputCustomGeocode operation, you can add it to your own gateway if you need to call it.

@davetimmins
Copy link
Owner

The reason it isn't included is because I never got round to needing to use it. I only added the operation as I was using other related ones and it was similar

@keithdougherty
Copy link
Author

Sure, it wasn't a big deal to implement using the Get in the PortalGatewayBase class from our own gateway class. Just wanted to let you know that there wasn't a virtual method that accepts the SingleInputCustomGeocode operation in the PortalGateway class and only one for the SingleInputGeocode operation. But like I said, not a big deal.

davetimmins added a commit that referenced this issue Jun 10, 2018
@davetimmins
Copy link
Owner

There's a CustomGeocode operation in the myget package

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

No branches or pull requests

2 participants