Skip to content

Different Longitude values from decoder in android and ios web view cordova - Using Javascript #52

@bmunjal

Description

@bmunjal

Hi there

I love your algorithm and it was working great for me on android but did not seem to be providing right coordinates for the same polyline on ios.

One of the examples:
Polyline: BHmv3jsdxtq2spCxgDw6E15Bj1C

Results returned on browser and android webview:
lat: 49.2891891, lng: -123.1394009
lat: 49.2890346, lng: -123.1391537
lat: 49.2889423, lng: -123.1392899

However results returned on iphone webview have different longitude values (latitudes are same):
lat: 49.2891891, lng: 91.6089639
lat: 49.2890346, lng: 91.60921110000001
lat: 49.2889423, lng: 91.60907490000001

Please help. I have tried debugging it but to no avail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions