|
|
| Author |
Message |
| pwntifex |
This post is not being displayed .
|
 pwntifex World Chat Champion

Joined: 23 Aug 2006 Karma :    
|
 Posted: 23:44 - 06 May 2007 Post subject: XHTML, CSS - How can I solve this problem? |
 |
|
Hi,
I'm working on setting up a travelblog on my site.
One of the features I'd like to have is a map system where I can show users exactly where I am at the present point by drawing a little dot on a map.
It'd work a bit like the way the location system works on BCF: I'd have a base image like this:
https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Uk_outline_map.png/450px-Uk_outline_map.png
And I'd be able to basically put a dot on the image wherever I was.
I don't need the backend calculation crap, all I need to know is
The best way to actively superimpose one image onto another image (preferably linkable, so that I can link to the latest post).
Thoughts? ____________________ the warped one: This is a follow up from the thread 'my willy hurts' |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Dom |
This post is not being displayed .
|
 Dom World Chat Champion

Joined: 06 Sep 2004 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
 Posted: 14:14 - 08 May 2007 Post subject: |
 |
|
You are correct... well done have a karma cookie
should really check these sort of things before I say stuff...  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| pwntifex |
This post is not being displayed .
|
 pwntifex World Chat Champion

Joined: 23 Aug 2006 Karma :    
|
 Posted: 20:15 - 08 May 2007 Post subject: |
 |
|
Wish I could create a script that placed the dot based on postcode...
Thanks for the code bob! ____________________ the warped one: This is a follow up from the thread 'my willy hurts' |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| sagalout |
This post is not being displayed .
|
 sagalout Nearly there...

Joined: 09 Jun 2006 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
 Posted: 22:33 - 08 May 2007 Post subject: |
 |
|
Well here is a excel file holding loads of postcode (2821 i think) with their X, Y, long and lat values..
You will need to export data into a lookup table you have coded (i woiudl suggest server sided) and from the values gain it should plot the point for you...
Bob  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| pwntifex |
This post is not being displayed .
|
 pwntifex World Chat Champion

Joined: 23 Aug 2006 Karma :    
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bob-a-job |
This post is not being displayed .
|
 bob-a-job Scooby Slapper

Joined: 12 Apr 2006 Karma :    
|
 Posted: 23:14 - 09 May 2007 Post subject: |
 |
|
You will need to find the X, Y values of a specific point. So on you map find out what x,y values is Where you think London and work it out from there..
For example:
Lets say London on you map is
x = 350
y = 500.
Find a london value in the spreadsheet lets say
x = 442900
y = 419100
then get the difference:
x = 442900 - 350 = 442550
y = 419100 - 500 = 418600
From these value you can now work out the new vaslues fopr any postcode:
Pretend edinburgh is
x = 442900
y = 419100
~Then values for map will be:
x = 442650 - 442550 = 100
y = 418900 - 418600 = 300
I think thats right...
BTW i would do this for a few values and work out the average, will produce a more accurate result...
 |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Dom |
This post is not being displayed .
|
 Dom World Chat Champion

Joined: 06 Sep 2004 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 19 years, 125 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|