Skip to content

GeoPoint issue on PostgreSQL #3285

Closed
Closed
@vferdiansyah

Description

@vferdiansyah

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.3.1
    • Operating System: macOS Sierra 10.12.2
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
  • Database

    • PostgreSQL version: 9.6.1
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): localhost

I'm using Parse Dashboard (v1.0.22) to enter my data. When I'm inputting a GeoPoint, at first everything looks good (see image below).

screen shot 2016-12-25 at 10 17 52

But after I refreshed my window, it seems like the latitude and longitude was reversed automatically somehow (see image below).

screen shot 2016-12-25 at 10 20 01

I'm using Google Maps in my app so I have to use coordinate.latitude as GMap's longitude and coordinate.longitude as GMap's latitude to make the map works.

Anyone experienced the same issue?

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