google maps - Reverse latitude and longitude in mongodb 2Dsphere indexes -


actually, mongodb stores coordinates ordered [<longitude>, <latitude>].

as use directly db models in angular app, , services google maps or openstreetmap uses maritime format (reversed order), more easy play coordinates without having reverse them in calls.

is there way on version 3.0.4 ?

thanks advance if have solution !


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -