The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: youBastrd on June 06, 2006, 02:30:14 am



Title: UQM on Google Maps
Post by: youBastrd on June 06, 2006, 02:30:14 am
Today I quickly threw together an implementation of the UQM map (http://paulforest.com/uqm/map.html) using google maps.  It's not yet production quality, but it's a neat proof-of-concept.  The WoW players did this some time ago, and dammit we're not going to let them beat us! :)

http://paulforest.com/uqm/map.html

For future expansion:  It would be really slick to improve the graphics and functionality, and get it to"production-quality."
* vector-based, and very high resolution
* very detailed when zoomed in, showing individual systems
* Adding functionality to toggle co-ordinate lines
* Adding functionality to show (hyperspace) mini-map
* Adding functionality to show quasi-space map somehow or another
* Adding functionality to toggle spheres of influence (transparency layer? works everywhere except Opera)
* Adding functionality to make each star clickable (?).  Display stats for each star (?).  Toggle display of resource/bio availablity on each star (?)

Anyone willing to help out with this?


Some background on how Google maps works:
* Main Javascript code is stored on Google servers, there's a public API that you use to call their code from your page's javascript.  Typically Google will host the satellite images themselves, but in this case we want to host them all ourselves, as I've done here. 
* If you want to see the code, just do a view source on the page.  It's not much more than a hello world.  Actually, it's kinda busted. :)
* The images are sliced out of the largest, most detailed image you can find.  A script is available for Photoshop that allows this.  For this script, your image's length and width must be a multiple of 256 (but they don't have to be the same).  Edit the script to tell it which zoom level to use.  It's a little tricky, I still haven't figured it out to be honest.
* Links:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/2d876fa71ec07e9f/050bc3fed5c19c09?q=photoshop&rnum=7
http://mapki.com/index.php?title=Add_Your_Own_Custom_Map
http://groups.google.com/group/Google-Maps-API


Title: Re: UQM on Google Maps
Post by: Anthony on June 06, 2006, 03:08:06 am
Very nice.  Very high quality.

It's a lot of work.  This is the first time I've seen anyone do this with Google maps.

Don't give up!


Title: Re: UQM on Google Maps
Post by: Culture20 on June 06, 2006, 04:42:35 am
Hmm... if only you and Sage could collaborate on this one.  An AJAX GUI might be more multi-platform friendly.
http://uqm.stack.nl/forum/index.php?topic=1178.0 (http://uqm.stack.nl/forum/index.php?topic=1178.0)


Title: Re: UQM on Google Maps
Post by: youBastrd on June 06, 2006, 05:59:18 am
wow, yeah, I forgot about that one.  Sage's map was the most detailed sc2 map ever made.  It seems to be down now, which is a shame if all that knowledge, code and data is lost. 

The google maps API is really slick, so it can probably do just about everything anyone would need, if we're willing to do the legwork on it.  :)  So in terms of doing all the crazy features everyone will inevitably ask for, we don't have to build, test and maintain the javascript, it's available now.  It's just a matter of figuring out the API and building some backend stuff if needed, maybe a pull in all the planet info on demand from a database?  Like an AJAX kinda thing?  Yikes, that's a pile of work... :)

Here's the one from World of Warcraft, very detailed with a bunch of cool features: http://mapwow.com/  I can't even imagine how big that universe is and how long it would take to make this webpage. 


Title: Re: UQM on Google Maps
Post by: Razorback on June 06, 2006, 11:57:48 am
wow, yeah, I forgot about that one.  Sage's map was the most detailed sc2 map ever made.  It seems to be down now, which is a shame if all that knowledge, code and data is lost. 

Hmm.. Mebbe you cound find it on the Wayback machine?


Title: Re: UQM on Google Maps
Post by: MasterGrazzt on June 06, 2006, 12:40:39 pm
that wow map is really helpful for harvesting gold, grinding mobs and cybering with night elves ::)


Title: Re: UQM on Google Maps
Post by: Culture20 on June 07, 2006, 04:13:17 am
wow, yeah, I forgot about that one.  Sage's map was the most detailed sc2 map ever made.  It seems to be down now, which is a shame if all that knowledge, code and data is lost. 

Hmm.. Mebbe you cound find it on the Wayback machine?
Unfortunately, the wayback machine can only backup static html and graphics, not server-side programs like Sage's map.


Title: Re: UQM on Google Maps
Post by: meep-eep on June 07, 2006, 09:06:26 am
Sage is not gone. In fact he's in the #sc2 IRC channel all the time.