Help - Search - Members - Calendar
Full Version: Any real-life hackers out there?
Dumpshock Forums > Discussion > Shadowrun
chinagreenelvis
http://www.1w6.de/rpg/sr/map/

Seriously. I want the code that runs this site so I can

a. make it possible to zoom in closer

and

b. add things to it
Critias
Then maybe you should

a. find out who runs it

and

b. talk to them.
chinagreenelvis
But I've

a. already thought of that

and

b. sent an e-mail through the site and used Google to translate it into German so they can understand what it is I want

and

c. anticipated that I will probably never, ever get a response
Cabral
http://www.1w6.de/rpg/sr/

My German is non-existent, but I gather they use Google Map. Plug that url into Google and the translation of that page should give you a tip or two.
Dr.Rockso
The site has an awesome interactive flash map of Seattle though : http://www.1w6.de/rpg/sr/seattledistricts.php4
Stahlseele
The Descriptions of the dots on the map are in english for me O.o
chinagreenelvis
Oh, it's all in English and works great, except for the part about not being able to zoom in to street level (the clusterfuck of dots just north of the Arcology is impossible to work through otherwise). Also, I'd like to be able to add some things to it.
Hartbaine
It's just a Google map. Make your own. I use them all the time for World of Darkness games.
biccat
Nice map.

Reminds me of one a friend did (although it wasn't online) with pins. He also had traveled to Seattle recently and had photographs of famous places.
chinagreenelvis
QUOTE (Hartbaine @ Jul 12 2010, 10:16 PM) *
It's just a Google map. Make your own. I use them all the time for World of Darkness games.


I don't have the time or energy to start from scratch. I want to appropriate the hard work of others.
Abschalten
QUOTE (chinagreenelvis @ Jul 12 2010, 06:28 PM) *
I don't have the time or energy to start from scratch. I want to appropriate the hard work of others.


LAWL! ohplease.gif
Cabral
Try this:
http://bbs.keyhole.com/ubb/ubbthreads.php?...ite_id=1#import
chinagreenelvis
Hm. You know, that might be even better. Thanks!
Congzilla
Just do 'view source', it has the java script laying right out on that page.

CODE
var point = new GPoint(-122.33603, 47.61000);
      var html = '<div class="text"><b>Wylie´s Gala Inn</b><br>4th Avenue & Pike Street<br>Middle-Class Hotel (20 floors)<p>The 1930s decor of this hotel seems better-suited<br />to a detective trideo than to modern-day Seattle.<br />Service is good, if a little slow. This was the<br />first hotel of the small Wylie´s Gala Inn chain.</p></div>';
var marker = createMarker(point, html, icon_hotel);
      map.addOverlay(marker);


These are the bits you need to change.

To change what the markers represent change these bits.

CODE
var myshadow = new Image(17, 17);
myshadow.src = 'clear.png';

var icon = new GIcon();
icon.image = "dot.png";
icon.shadow = "clear.png";
icon.iconSize = new GSize(15, 15);
icon.shadowSize = new GSize(17, 17);
icon.iconAnchor = new GPoint(7, 7);
icon.infoWindowAnchor = new GPoint(7, 7);
Congzilla
This is the best thing to use to strip apart a website btw.

https://addons.mozilla.org/en-US/firefox/addon/60/
chinagreenelvis
Ah yeah, we use the Web Dev plugin at work. Hadn't thought of that.

I did however just save the page, which I then uploaded to http://shadowrun.chinagreenelvis.com/seattlemap in order to test it. It loads everything just fine but for some reason the dots disappear after loading, as if the z-indexes of everything were borked. I'll have to look closer.

I did find that code for adding new dots - which would take a pretty good amount of trial and error for getting the locations right, but thankfully not at all impossible. The one crucial element that I'm lacking is the ability to zoom in even further, even if it pixellates or blurs the map images. If anyone can scan the codes and figure this part out, that would be truly karma-worthy.

Thanks for all the suggestions!
chinagreenelvis
Hm. I'm noticing that when the dots disappear, the page starts loading information from the original website. Curious.
chinagreenelvis
Yeah, having just saved the page through firefox basically killed the functionality. I'll try going back to the original source.
chinagreenelvis
Looks like the dots are set to Earth coordinates as opposed to pixels or percentages. As long as I have those, I should be able to recreate the contents in another map. Guh. I still can't fathom why they didn't make it possible to zoom in further in their version, plus I'm wondering where the map tiles they're using came from. They appear to have been custom made. Oh well.
chinagreenelvis
Woot.

http://shadowrun.chinagreenelvis.com/map/

Mäx
QUOTE (chinagreenelvis @ Jul 13 2010, 06:54 AM) *

Well nice job making it more zoomable, but its not really cool to steal other peoples work like that.
IKerensky
QUOTE (chinagreenelvis @ Jul 12 2010, 10:02 PM) *
http://www.1w6.de/rpg/sr/map/

Seriously. I want the code that runs this site so I can

a. make it possible to zoom in closer

and

b. add things to it


a. use the CTRL + mouse wheels

nyahnyah.gif
simplexio
I got this Idea, how about creating page into shadowrunWiki which has Name, GPS point and short description or reference to book in some useful format. So that people could grab it and use POI data in Google maps overlays or whatever people use for their map drawing.

That could be useful tool for community.
Other ideas include taking current height data and change it according shadowrun rule books (you need height rastermaps for this, available for free), Overlays like 1w6 site has about ratings in area, etc. Just publish them in some usable geodata format and it should be easy to people add their own tools. Best part using standard geodata formats is that you can overlay all that data into Google Maps and/or use all existing geodata with shadowrun data.
chinagreenelvis
QUOTE (Mäx @ Jul 13 2010, 07:13 AM) *
Well nice job making it more zoomable, but its not really cool to steal other peoples work like that.


What can I say? I'm a bastard. But much as I did with the diceroller, I'll be including original credit in the page's source-code with a link to the German site. I was just too tired to add it in last night.

Edit: Just got an e-mail from the guy who runs the site. Permission was given to appropriate their work for my own use. All is well.
chinagreenelvis
QUOTE (IKerensky @ Jul 13 2010, 07:57 AM) *
a. use the CTRL + mouse wheels

nyahnyah.gif


LOL. That was the first thing I tried! Unfortunately it just makes the clusterfuck of dots bigger, rather than creating space between them.
chinagreenelvis
QUOTE (simplexio @ Jul 13 2010, 08:30 AM) *
I got this Idea, how about creating page into shadowrunWiki which has Name, GPS point and short description or reference to book in some useful format. So that people could grab it and use POI data in Google maps overlays or whatever people use for their map drawing.

That could be useful tool for community.
Other ideas include taking current height data and change it according shadowrun rule books (you need height rastermaps for this, available for free), Overlays like 1w6 site has about ratings in area, etc. Just publish them in some usable geodata format and it should be easy to people add their own tools. Best part using standard geodata formats is that you can overlay all that data into Google Maps and/or use all existing geodata with shadowrun data.


THIS is a great idea. Having GPS point info would make it really easy to add new locations. I say we put this in Community Projects.
Yerameyahu
Can't steal free things.
MJBurrage
I'm guessing that the original German version used custom map tiles to have the neighborhood security codes showing (AAA, AA, etc.) and the red boundry lines. Perhaps the zoom was restricted by the resolution of said map tiles.

Can letter-groups be used as pins on Google-powered maps ? What about the red lines between Downtown, Pullyup, etc. ?
chinagreenelvis
QUOTE (MJBurrage @ Jul 13 2010, 04:02 PM) *
I'm guessing that the original German version used custom map tiles to have the neighborhood security codes showing (AAA, AA, etc.) and the red boundry lines. Perhaps the zoom was restricted by the resolution of said map tiles.

Can letter-groups be used as pins on Google-powered maps ? What about the red lines between Downtown, Pullyup, etc. ?


I'll be looking into this next, actually. That's one of the things I really like about their version.

The security codes should be the easy part, apart from a bit time consuming. I can use opaque .png files as markers and place them accordingly. Getting the lines drawn on the map might be tricky...

If anyone wants to take a stab at either one, setting up a Google page is actually pretty easy - but I'm forced to use the outdated version in order to keep the marker codes without having to rewrite them all.

http://code.google.com/apis/maps/documenta.../javascript/v2/

Here is everything needed for the map page that I'm using:

http://shadowrun.chinagreenelvis.com/map/map.zip

Just replace the first javascript link in the index page with the one that Google gives you and you should be able to upload it to whatever site you designate for your key.
Draco18s
QUOTE (Mäx @ Jul 13 2010, 02:13 AM) *
Well nice job making it more zoomable, but its not really cool to steal other peoples work like that.


Dude, guys. It's just a re-icon'd version of this already posted on dumpshock google map.

Looks like it has a bit more info, but I'd bet dollars to doughnuts that he borrowed the information that was there and just added to it for his own use.
chinagreenelvis
QUOTE (Draco18s @ Jul 13 2010, 04:39 PM) *
Dude, guys. It's just a re-icon'd version of this already posted on dumpshock google map.

Looks like it has a bit more info, but I'd bet dollars to doughnuts that he borrowed the information that was there and just added to it for his own use.


Hm. That's pretty sweet, too.

Anywho, awesome. I started the community project thread for it here, so we can let this one die.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Dumpshock Forums © 2001-2012