I'm currently working on a system that grabs an image from a map server and, using html layers, overlays where the products are.
Basically, this is how it's set up. The map server is running on a WinNT system. In the html code, I put am image tag that accesses the web server, passing the x,y coords (formatted as x meters from some origin) and zoom level (plus some other details). I then get the web server to access the map server (this is to shield the map server from the outside world) and basically do a fpassthru() on the data. Meanwhile, the html doc has a layer placed over the map image. This layer contains another image with just the products on it. I get php to generate this second image on the fly by querying the database, filtering out all the products that lay outside the image's area, then I plot the points onto the image. Because there's a lot of other things that are happening on the page (due to the client's requirements), when the user wants to zoom or pan the map, I use js to update the images. Hope that helps anyone out there. Martin -----Original Message----- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 9:27 AM To: 'Analysis & Solutions'; PHP List Subject: RE: [PHP] PHP and geographic maps I was just checking it out. That map is awesome! What's funny is that it even has an option to display the picture of a house at the coordinates you specify. Thanks for the compliment *grin* I have no idea why I didn't. Probably just got lazy hehe My only excuse is that I think vacation mode has kicked in - even though it doesn't technically start until tomorrow evening. Oh yea.... geesh, those silly top posters ;) hehe -----Original Message----- I don't know. I have a feeling not, but hack away all you want and let us know. --Dan PS: Ed, you're a bright guy. Why not take the time to snip out the majority of my post that didn't directly have to do with your comment? As if top posting isn't bad enough. :) **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php