Awadhesh12 / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

decent example of geo location + directions based on current location? #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

There seems to be no decent clean example out there on how to do 

mobile maps
+ geo location
+ directions from current location to location X

Could the team provide a clean working example based on above case?

Original issue reported on code.google.com by voorr...@gmail.com on 21 Nov 2012 at 11:24

GoogleCodeExporter commented 9 years ago
the query-google-maps-mobile.html has a directions example.

It includes a demo.js without it won't work. 
So is start removing all the mess in it to a bare minimum to keep it working:

window.demo = { 
        'init': function() {},      
        'col': [], 
        'add': function(a, b) { if (b) { this.col[a] = b; } return this; },
        'load': function(a) { var self = this; if (a) { self.col[a](); } }
    };

I have no idea what above code does.. but without this the map will not appear 
;( 
A clean example would be really nice this example does have directions and 
route to location X based on current location

Original comment by voorr...@gmail.com on 21 Nov 2012 at 11:57

GoogleCodeExporter commented 9 years ago
I need this sort of example. I have wasted lot of time in searching

Original comment by ahannan....@gmail.com on 20 Jun 2013 at 9:51