PDA

View Full Version : GL Maps - View your world in 3D - GSensor Enabled - Open Source!


Koush
11th October 2008, 04:51 AM
http://hosted.koushikdutta.com/GLMaps.png

Well, Klaxon (http://forum.xda-developers.com/showthread.php?t=412669)is pretty much complete except for a few bug fixes.

So, I'd been toying around with a new idea, a 3D Map viewer that is accelerometer enabled. That means you can turn your device and see other parts of the map. You need to try it to understand, it's very cool.
I got that done and started adding a couple things just to test it out. The Red "bubble" in the screenshot is where I live, and the buses are the real time locations of buses in Seattle. :)
I'll eventually be adding driving directions and search to this too.

Head over to my website (http://www.koushikdutta.com/2008/10/gl-maps.html) for the CAB download.
I'll make a video shortly of this application, but you gotta try it out yourself for fun. :)

Upcoming VERY SOON

More Map types (traffic, satellite, terrain)
Directions Plugin
Search Plugin

Early Beta 10/12/2008

Fixed random crash bug.
Created GL Maps Plugin SDK
Created open source "standard" plugins


Source Code:
http://www.koushikdutta.com/2008/12/gl-maps-goes-open-source.html

itsallsubliminal
11th October 2008, 05:15 AM
WOAH DUDE! JUST WOAH! This was an awesome idea... i'm gunna try it out now... keep it up!!!!!

EDIT: Just tried it and it is looking GREAT! The panning is super smooth... it closed after a couple minutes of playin and zooming, but this is just a concept i understand.

can't wait for the real deal with all streets and options!!!!

Koush
11th October 2008, 05:33 AM
WOAH DUDE! JUST WOAH! This was an awesome idea... i'm gunna try it out now... keep it up!!!!!

EDIT: Just tried it and it is looking GREAT! The panning is super smooth... it closed after a couple minutes of playin and zooming, but this is just a concept i understand.

can't wait for the real deal with all streets and options!!!!

I just found that bug :)
I'm pretty excited about this application, so stay tuned for a lot of updates this weekend!
I'll probably be releasing an API to this as well, so developers can make add their own map overlays. For example, someone could implement search, or GPS, weather, or bus schedules etc through this API.

itsallsubliminal
11th October 2008, 05:36 AM
I just found that bug :)
I'm pretty excited about this application, so stay tuned for a lot of updates this weekend!
I'll probably be releasing an API to this as well, so developers can make add their own map overlays. For example, someone could implement search, or GPS, weather, or bus schedules etc through this API.

That is wicked man! I just wish i knew how to develop... really, i'm in the quicksand when it comes to it :(

but keep this up, this will definitely be my #1 and ONLY map prog!!!

Thanks a bunch

itsallsubliminal
11th October 2008, 05:37 AM
oo, an idea i just had:

The black area on top of the map, if you could make it look more blue, or even have like clouds...??? maybe? :D

koven
11th October 2008, 06:51 AM
Another great app!
Still working on Omnipresence?

Koush
11th October 2008, 09:30 AM
Another great app!
Still working on Omnipresence?

Nah, I got kind of bored with it, so I quit working on it for now. :p I'll probably start working again on it someday!

itsallsubliminal
11th October 2008, 06:35 PM
Posted this up at ppcgeeks so people will swarm you with dropping jaws lol...

this is great man... here's the thread over there http://forum.ppcgeeks.com/showthread.php?p=454611#post454611


Thanks!

uniqueboy
11th October 2008, 06:44 PM
Is it feasible to consider integrating google street view? I saw a nice video of something like that running on android. :)

Koush
11th October 2008, 07:12 PM
Is it feasible to consider integrating google street view? I saw a nice video of something like that running on android. :)

Yes, I'm working on a Plugin architecture right now so people can overlay whatever images they want on the map. But, yes, this is one of the first ones I'm going to try to implement.

merrica
11th October 2008, 11:40 PM
real time bus locations

...I wonder if that could work for London?

uniqueboy
11th October 2008, 11:54 PM
real time bus locations

...I wonder if that could work for London?

I think there would be a delay! :)

NLS
12th October 2008, 10:08 AM
...so does this get the tiles from some source or still it is a "concept" where you have some preloaded tiles?

Edit: I see it DOES load from a source (is thie google or microsoft?)

I see it is just a concept yet at is preset to load that bus thing. I trust you plan to make those options on/off (and add others)?

Also why QVGA?

(btw, please man don't forget Klaxon yet... it has some way to go, not just bug fixing)

merrica
12th October 2008, 10:46 AM
I think there would be a delay! :)

are you intimating that buses in London are less than prompt?:eek:

....and I just thought it was some weird space-time continuum thingy that made a 'bus due in 2 minutes' sign on a bus stop in London actually mean a 10 to 15 minute wait

kultus
12th October 2008, 11:09 AM
so where are those updates??? were still tuned:D:D:D

SkizZO
12th October 2008, 11:15 AM
This is a really cool app.... i hope you will make a GController-like app (send keystrokes to active windows, games included, through g-sen)

However, have you ever seen the Microsoft live maps?? they have also a 3D view, i think VERY GOOD to give a gear to your new app

http://img530.imageshack.us/img530/3697/immaginejx5.th.jpg (http://img530.imageshack.us/my.php?image=immaginejx5.jpg)http://img530.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)

You can also switch to ibrid mode, and channge all the 4 angles of view; btw choose the map to use would be the right solution

...remember to add a quick way to activate/deactivate the g-gestures ;)

Koush
12th October 2008, 06:56 PM
Yes, currently it is pulling from Google maps. But I can make it pull from any tile server source, such as Live Maps, Yahoo, Mapquest, etc.

so where are those updates??? were still tuned:D:D:D

I'm very close to releasing the API! Don't worry!

The first release of the open source plugins I'll be releasing (so other developers can learn how to make them too) are:

GPS
Geolocation (from WiFi and Celltower)
G-Sensor control
Nav Sensor zoom


I'm hoping that other developers help drive this project, and not just me. :)

Koush
13th October 2008, 03:07 AM
I've been spending the past few days fleshing out the GL Maps API: my goal is to allow any developer to view, modify, or add content into the map. That's the approach Microsoft and Google have taken with their JavaScript/web clients, but neither of those run particularly well on a phone. And they're not 3D and accelerometer savvy either! So, I'm hoping that other bored engineers at XDA-Developers decide to write their own plug-ins and help make this a great application. :)

So, to foster that, I'm open sourcing the "standard" plug-ins I've written so far:


GPS and Google Gears Geolocation Plug-In:
This requires that Google Gears be installed on your phone. Download the CAB from http://dl.google.com/gears/current/gears-wince-opt.cab
Nav Sensor Plug-in
Seattle Metro Bus Tracker


Head over to my website (http://www.koushikdutta.com/2008/10/gl-maps-api-beta-release.html) for the download for both GL Maps and the SDK (including source code to the standard plugins).

itsallsubliminal
13th October 2008, 04:05 AM
this progress is great already! got a quick gps lock and absolutely love the accelerometer lock!

Devileyezz
13th October 2008, 04:48 AM
Anyone know how this can be done for Toronto Subways in Canada?

omniwolf
13th October 2008, 05:40 AM
nice, works well for me. i'm in australia, and it found me and i zoomed in and tilted to my hearts desire. it crashed after a while though.
keep it up!

jamesd256
21st October 2008, 03:58 PM
Wow, another unbelievable app, things are really happening now.

Hey, this works on my Touch Pro, but it behaves funny.

The tiling seems to go wrong quite easily when tilting the device.

I would love to see a video of this working on a diamond, so I know what it looks like when working properly.

gurkburk92
21st October 2008, 05:05 PM
Get it to work in Sweden please ^^

Btw it doesnt work for me.. Says: in swedish: Det går inte att hitta sidan. Kontrollera namnet och försök igen > Coudln't find the site. Check the name and try again, or something in english..

liomojo
21st October 2008, 06:45 PM
guys do i have to install some other application to make this work.
for it starts but i see a base world map and thzts all, i cant zoom or do anything else i cana move this base map picture.
??????????????

Koush
21st October 2008, 07:35 PM
guys do i have to install some other application to make this work.
for it starts but i see a base world map and thzts all, i cant zoom or do anything else i cana move this base map picture.
??????????????

Use the Nav wheel on your Diamond to zoom in and out. I have a significantly improved version working (can get directions, faster, more plugins) that I'll release probably within a week or so. I'm in the middle of doing a lot of the plumbing though, and will release it when it is closer to a usable product. :)

amniberlin
21st October 2008, 08:46 PM
WOW this is just awesome! First time i tried to start, it crashed... but now it works just perfect :)

Thank you for this nice programme! =)

bakman
22nd October 2008, 12:19 AM
quite amazing application, works very well :)

itsallsubliminal
22nd October 2008, 01:03 AM
hey OP, any eta on your next update? :D

Mandragore
22nd October 2008, 01:35 AM
hey OP, any eta on your next update? :D
Post 25, Yesterday 07:35 PM ;)
I have a significantly improved version working (can get directions, faster, more plugins) that I'll release probably within a week or so. I'm in the middle of doing a lot of the plumbing though, and will release it when it is closer to a usable product. :)

No1ustad
5th November 2008, 09:49 AM
do you use this for the data on the seattle bus system?
http://tracker-map.metrokc.gov/tracker-map-launch.jsp
if so, would you be able to include more of the seattle area-possibly the UW area (bus numbers 68,372,71,72,73)?

itsallsubliminal
5th November 2008, 10:11 AM
this was a super cool idea/concept/work-in-progress.... i hope you didn't quit on it bud!!!!

i00
6th November 2008, 05:14 AM
this is good... i can't zoom in though :( ... and howcome busses dont work anywhere but Seattle...

I also hope you didnt quit on it...
I will give u coffee ($50 AUD) if you get it working well for australia :D

Kris

RikP
6th November 2008, 11:54 AM
very cool idea!

Just installed it but am getting a complete black screen. I'm in holland...
What could be wrong?

brianb1998
7th November 2008, 08:28 PM
Im in az right now on business and everything seems to be working grs and tilting but i have one little problem there is no map. i had it working on my diamond but i upgraded to the pro and no map...any ideas

Pitchb3nd
8th November 2008, 01:53 PM
Gl Maps also can't load the map on my diamond, I see a grey surface that reacts to your movements but no map at all.
I've tried with the device plugged to a pc, with wifi and with hsdpa and nothing. Previous version worked well btw.

muzicman82
16th November 2008, 09:46 PM
Yeah, I too only see grey and black areas and the red dot. I just put it on my Sprint Touch Pro.

abovelegit
20th November 2008, 06:30 AM
Im guessing this project has been abandoned?

turt
20th November 2008, 11:36 AM
Well I guess the server is down or something, because it used to work for me but now it doesn't work anymore...

itsallsubliminal
21st November 2008, 01:29 AM
Im guessing this project has been abandoned?

he probably ran into some issues with it, hence why he released the sdk

i too wish this to be updated aswell... if i had any idea how to use an sdk, i would, but unfortunately i don't :(

Pitchb3nd
22nd November 2008, 07:19 PM
I think the great developer of this app has switched to Android development. Bad news for us, poor WM users :_(

Koush
16th December 2008, 02:45 AM
Sadly I don't have time to work on this project at the moment, but I may come back to it later! So I open sourced it:

http://www.koushikdutta.com/2008/12/gl-maps-goes-open-source.html

NLS
16th December 2008, 12:26 PM
So what do you keep closed?

Koush
29th December 2008, 09:55 PM
So what do you keep closed?

I am working some really cool Android and Windows mobile stuff. Some I've blogged about, some I haven't. Almost everything I write is now open source; the closed source stuff, I can't talk about yet. But let's just say it would make Windows Mobile users very happy. :)

Incidentally, I am currently doing a new blog series about WindowlessControls, which is a UI development framework for Windows Mobile. It's probably worth checking out if you are a WM developer.

sandmen
29th December 2008, 10:55 PM
edit:
admin can delete. Sorry

NLS
4th January 2009, 08:55 PM
there is a dll libGLES_CM in the program folder, although I have one such dll in my Windows folder (Touch Pro)...

how do I know which version is faster/newer/better? (I can see they are different)

cybermaus
6th January 2009, 08:10 PM
OMG what a cool idea.

Pity it is currently not developed. Should anyone pick it up: On Touch HD I cannot zoom. I suspect on Diamond, zoom is with the round button, but the zooming from the menu (the only one working from Touch HD) does not work.

Aaron McCarthy
22nd January 2009, 07:49 AM
I've got this on my touch pro and I can zoom (with the wheel) however when I get close to my city... well anywhere on the map for that matter... it's super blurry.. I cant really actually get in to street level view.

Does anyone else have this issue or know of a work around?

NLS
22nd January 2009, 08:42 AM
Is there any progress with this at all?

king12438
15th March 2009, 06:32 AM
that's great

adwinp
13th May 2009, 04:43 AM
Doesn't start.
The MapCache directory is created, then the app exits.

Tried replacing the Opengl_cm.dll version, to no avail.

w1shmast3r
13th May 2009, 08:00 AM
looks awesome m8,
question: does the map create a cashe in order for the application to work offline also?

zard
16th June 2009, 01:15 AM
will this work on the diamond 2?

when I launch it, I see a blank screen.

I tried installing goggle maps and this app on device and also storage card.

any help appreciated.
thank you.

skilty
16th June 2009, 10:39 AM
will this work on the diamond 2?

when I launch it, I see a blank screen.

I tried installing goggle maps and this app on device and also storage card.

any help appreciated.
thank you.


i got the blank screen when i installed it to storage card, try installing it to main memory.

it seems to work but won't actually layer the map, i get a grey screen that moves via sensor and a red dot indicating my position but no map???

anyone help??

Darkdreamers
23rd June 2009, 10:26 AM
sorry to ask but will this app work in the uk?

omniwolf
24th June 2009, 04:00 AM
i would call this app pretty much dead. just use the normal google maps app.