We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the build I get this error when trying to get the camera position:
Property 'lat' does not exist on type 'GoogleMapsLatLng | GoogleMapsLatLngBounds'.
In the ts of ionic-native there is this class but it doesnt share the object Instance.
/** * @private */ export class GoogleMapsLatLng { private _objectInstance: any; constructor(public lat: number, public lng: number) { this._objectInstance = new plugin.google.maps.LatLng(lat, lng); } equals(other: GoogleMapsLatLng): boolean { return this.lat === other.lat && this.lng === other.lng; } @CordovaInstance({ sync: true }) toString(): string { return; } toUrlValue(precision?: number): string { precision = precision || 6; return this.lat.toFixed(precision) + ',' + this.lng.toFixed(precision); } }
How can I retrive the lat or the original object? toString works fine.
toString
Or how can I skipped the ionic-native and use the regular plugin??
The text was updated successfully, but these errors were encountered:
72a694a
Just pushed a commit that should fix this issue. Please stay tuned for the next release and let us know if the issue is resolved.
Sorry, something went wrong.
Please update to [email protected] and let me know if you're still having this issue.
[email protected]
I'm having this issue on [email protected]
this.map.getCameraPosition().then(camera => { this.params.location = { latitude: camera.target.lat, longitude: camera.target.lng }; });
No branches or pull requests
In the build I get this error when trying to get the camera position:
Property 'lat' does not exist on type 'GoogleMapsLatLng | GoogleMapsLatLngBounds'.
In the ts of ionic-native there is this class but it doesnt share the object Instance.
How can I retrive the lat or the original object?
toString
works fine.Or how can I skipped the ionic-native and use the regular plugin??
The text was updated successfully, but these errors were encountered: