I'm currently putting together a map that shows the jurisdiction of different offices. I'd like to be able to draw the borders on the map (already done in a PNG), and allow users to either click the map roughly where they live, or type in a postal code. This will lead to the office web page closest to them.
I have two ideas in mind, but thought I'd ask to see if either (or another) way is the best answer:
1) Break the PNG into an image map, and then write the php to determine what region the postal code is within. No idea how to deal with postal codes though.
2) Use Google Maps API: Draw the borders (again) or draw polygons, which allows for the user to zoom in, find their actual location, and type in their postal code on their own. However, how do I know where the postal code falls under my borders? How then, does it redirect to the correct page?
If you've got any ideas (or different methods of doing it), I'd love to hear them! Thanks!