Jump to content


Photo

Website like Google Maps


  • Please log in to reply
5 replies to this topic

#1 vamsee

vamsee
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 25 October 2006 - 10:23 AM

Dear Friends,
I have a necessity to program from scratch and make a website that almost has the same functionality as google maps but for a different country altogether. I came to know that Ajax tehcnology was used to build this. I have around 4 years experience in PHP, javascript but never used Ajax until now.

I would greatly appreciate if some one would tell me from where do I start. Does anyone have any sample scripts that can give me a head start and improvise. Please any help regarding this would be very helpful.

Thank you,

Very Kind Regards,
Vamsee Vanaparthy

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 25 October 2006 - 10:27 AM

why would you want to re-invent the wheel when in this case the wheel is a top of the range Goodyear with genuine silver alloys?

there are plenty of PHP wrappers out there that will allow you to easily integrate Google maps into your site, and the API is such that you've pretty much got full control over everything you need displaying.

mapping itself is a complex subject, and doing it yourself can be costly. finding a suitable map with the right projection, dealing with the scripts to plot latitudes/longitudes correctly, finding the latitude/longitude data in the first place (which gives you other problems, as the data is HUGE - i have a DB of about 3million+ cities from around the world with all their lat/long data), and then piecing it all together. it's a huge job, and one that i gave up in favour of google maps several months ago.

edit:
however, if you're up for the challenge, you can start here:
http://www.web-max.c...P/article_1.php

and you can get the data from here:
http://www.maxmind.com/app/geolitecity
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#3 vamsee

vamsee
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 25 October 2006 - 10:45 AM

Dear redmarkbully I understand your answer even iam not interested to re invent wheel but, I work in small island of Cyprus,the google map website doesnot even show in its program. We have only 4 big cities in here and I have already gathered helicopter photographs of this place that has some significance.

I just wanted to mark these places in the map and if some clicks on it have the same zoom effect as google maps and give a detailed photo with some description down. I dont need lanes, roads and stuff because the website is tourist based. I want to use PHP and Ajax for this purpose can you give me suggestions or sample scripts to start

#4 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 25 October 2006 - 10:50 AM

sure, i understand.
i edited my original post possibly whilst you were typing, to add a couple of links. the first one was my introduction to mapping, and gets the basics across very well. applying that to what you want should be easy enough. the tricky bit will come when it comes to tiling the pieces together and feeding them to the user. i'm not personally comfortable with this type of use of AJAX to advise, sorry.

hope that helps
cheers
Mark
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#5 BrianPeiris

BrianPeiris
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 25 October 2006 - 11:47 AM

There is a way to use the Google Maps API with your own custom map layer/tiles, for an example: http://mapwow.com/
See the following links.
http://www.econym.de...s/custommap.htm
http://mapki.com/wik..._Own_Custom_Map

I really don't suggest trying to redo Google maps, it would be an immense amount of work to get all the logic down, let alone getting it to work in various browsers.

But... If you really want to, take a look at this:
http://media.pragpro...jaxian_maps.pdf

#6 BreakBreak

BreakBreak
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 25 October 2006 - 12:54 PM

I'm from cyprus too, if you download the latest google earth you will notice they have much of cyprus added and i'm guessing will finish it off in the next versions.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users