hamster

Map of Papilio World Domination!

6 posts in this topic

Ever thought of maintaining a map of Papilio's World Domination, and putting a red dot on when a n order ships?

I know that at least a few exist here in New Zealand!

Share this post


Link to post
Share on other sites

that would be pretty cool, and not hard from a html/php standpoint. i 2nd the request.

edit: altho, now that i think about it he wouldn't be able to track non-gadgetfactory store orders

since the different vendors probably dont report back to him shipping addresses, et al.

Edited by Felix

Share this post


Link to post
Share on other sites

Hey, this sounds like a great idea! Also, sorry I've been a little less responsive then usual, I took a small contracting job that is taking up a lot of time. Should be done with it soon...

Anyway, do you guys have any leads on php code or something to make this happen? This might be a good project for Dhia to work on.

Jack.

Share this post


Link to post
Share on other sites

re: less responsive jack

don't worry about the less responsive jack.. we all have real life things that take priority, time to time..

:)

re: map

something like this

http://www.raspberry...es/tag/rastrack

would take a ton of time (looks like he used a zoomed out + stitched google maps satellite screenie)

but is possible. i really don't do much work with on the fly generated images, but i do know

how to do it.. load up picture, use imagemagick to overlay your text/dots and save to file or send

to browser.... if dhia wants to tackle it, there is an ImageMagick page on php.net at http://php.net/manua...ook.imagick.php

however, if we use the same type of bg (google maps satellite screenie)

i do have code (html+php+js) that would let you put in an arbitrary amount of dots (in different colors)

on an image (map in this case). i use it on one of my websites to track where players are in,

in the games virtual world.

adapting it to gadget factory should be easy.

if you want i can do up a quick demo for you.

the game map should be here www.slothmud.org/index.php?module=Dyn_Maps

but i am not sure since i am at work and the site is blocked...

the data is stored in a json array (funny since most people know how i feel about java technologies) ;)

which the php uses to generate the html that overlays the dots on the map. i use 3 or 4 colors but we

can use as many colors as you want ... red dot for 1-50 users, yellow for 51 to 100 users, green for 101+ users..

whatever works.. each dot can also text which pops up when you hover over said dots..

the only server side requirements are a place to put the image dots, and php5 (probably php4 would work

also)

edit: you could also use the google maps api...

https://google-developers.appspot.com/maps/documentation/javascript/examples/icon-simple

but i have never used it. doesnt look terribly difficult to do tho

https://developers.google.com/maps/documentation/javascript/overlays

Edited by Felix

Share this post


Link to post
Share on other sites

Oh, wait, maybe we can just generate a kml file? I worked on a gps project years ago where I did something like that and it was surprisingly easy...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now