tvgemert
tvgemert

Reputation: 1486

jQuery Google Maps implementation including route generation

Does anyone know a jQuery implementation for Google Maps with which you can also generate the route?

Upvotes: 0

Views: 1726

Answers (1)

dermatthias
dermatthias

Reputation: 1180

I don't think it's a good idea to wrap the Google Maps API with jQuery. They can both live quite happily next to each other in one JavaScript application / file. And to be honest, how would you do this anyway? jQuery serves a different purpose than wrapping everything JavaScript'ish.

There are some good demos and tutorials for directions (I think that's what you mean with routes) in the official API docs. A small example can be found here. View the source of the page so see the code. It's quite easy to follow.

Upvotes: 1

Related Questions