Code Monkey home page Code Monkey logo

Comments (6)

moshen avatar moshen commented on July 24, 2024

Do you mean this? https://developers.google.com/maps/documentation/javascript/reference#LatLng

from node-googlemaps.

vincent-fletcher avatar vincent-fletcher commented on July 24, 2024

Yeah, exactly. I can't seem to figure out how to generate one of these objects using this library?

from node-googlemaps.

Kodextor avatar Kodextor commented on July 24, 2024

I just tried using it recently, I haven't found a way to do the same. Is there a fix for this yet?

from node-googlemaps.

vincent-fletcher avatar vincent-fletcher commented on July 24, 2024

I've not heard anything yet..

On Wednesday, 1 January 2014, Prithvi Raj Jampana wrote:

I just tried using it recently, I haven't found a way to do the same. Is
there a fix for this yet?


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-31421214
.

Regards,
Vincent Fletcher
Glowsticks LTD
www.glowsticksltd.com.au

from node-googlemaps.

moshen avatar moshen commented on July 24, 2024

This is a backend lib for node, for accessing the google maps web services. Since that object isn't just a pojo, it would be kind of a kludge to implement it. You're probably better off returning a simple objects and using the defined constructor on the front-end for creating those objects.

from node-googlemaps.

Kodextor avatar Kodextor commented on July 24, 2024

@moshen Got it! I'm just getting started with the package.
@myzticman I got my job done by just passing the 'lat(coordinate),long(coordinate)' for the origins and destinations, instead of using LatLng object, which is how worked with the API in the front-end. Hope this helps you. :)

from node-googlemaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.