I need to redirect user to Google Maps page and put some pin on defined location.
The problem is that you could easily center map on some point with simple request:
http://maps.google.com/maps?hl=en&ll=49.901711,32.508545&spn=5.959342,16.907959&z=7
But how to set a pin with such request ?
You can do this with My Maps.
- Create or open a map.
- Click Edit to enter editing mode.
- Click the blue marker. Your cursor changes into a placemark icon with an
"X" crosshairs. The crosshairs
indicate where the placemark will
fall.
- Move the cursor to the appropriate location. If you want to dismiss this
placemark, press the Escape key.
- Click your mouse button to place your placemark. It should bounce into
place.
- Add a title and description.
- You can also change the icon for your placemark by clicking the icon in
the top right corner of the info
window. You can also add your own
icon.
- Click OK to save your placemark.
http://maps.google.com/support/bin/static.py?page=guide.cs&guide=21670&topic=21676&answer=144363#placemark