How to create a custom Google Maps on a site? - google-maps

for the new company site, they want a textbox that has an address, once the person clicks search a google map should appear with lots of points on that area. These points are places pre-defined in a database.
Is there any way I can implement this? A great example of this is on laterooms.com:
http://www.laterooms.com/en/k16296355_manchester-hotels.aspx
Thanks

I believe what you want is a mashup between simple geocoding (example available here):
https://google-developers.appspot.com/maps/documentation/javascript/examples/geocoding-simple
And places (example available here)
https://google-developers.appspot.com/maps/documentation/javascript/examples/place-search
And you should be good to go.

you will find quite some good infos on this page here: see the examples and see what you can do with the code
https://developers.google.com/maps/

Related

Highlight an area based on postal code [Google Maps]

I need to show a newspaper reach on my website based on postal codes. I have read that Google Maps doesn't have an API for it, so I tried to find some alternatives.
However, I found nothing. So I am asking you, what would be the best and fastest thing to do in this situation? Are there any vector maps that have the administrative boundaries already made? And that can be connected with postal codes?
Google maps example of what I need
It seems like your purpose is marketing. On your website, you want people to see the coverage area / newspaper reach, so you only need images. Here is an answer, according to that assumption.
I suggest you make the exact images that will work best for you. (This is a common job for designers on many web development teams, and if you are having trouble creating high-quality images, I'm sure you can find someone who is skilled with it.)
Using Google (example search), you can find various free web applications that allow you to annotate maps. Save or screenshot your images and post them on your website.
Alternatively, using Google Maps, you can search for your postal code and screenshot the results. If you have multiple codes, you'll need to use an image editing program to combine them.

Inserting Custom Panoramas Into Google Maps

The forum on the Google Maps JavaScript API group referred my question to Stack Overflow so here goes--
I'm looking to place markers on a Google map that when clicked display a streetview panorama (a "photosphere") of that location. Each panorama was stitched together from photos I've taken personally and is saved on my computer i.e. not currently publicly viewable on Google maps.
I've searched through this guide:
https://developers.google.com/maps/documentation/javascript/streetview
for help but to no avail (I thought the "Providing Custom StreetView Panoramas" section might have been helpful but it didn't seem relevant, unless I misunderstood what it was saying).
I'm aware that Google recently introduced a new way to upload personally-made photospheres for public display on Google maps (see: https://www.google.com/maps/views/home?gl=us&hl=en-us), but this is not what I want to do.
Anyway I'd really appreciate recommendations for tutorials that might help me with this.
Thanks.
This is what you need :
https://developers.google.com/maps/documentation/javascript/examples/streetview-custom-simple
It has the sample code. Just make changes to use your image and you are good to go.

Is it possible to extensively customise embedded Google Maps to generate dynamic information?

What I would really like to do:
Embed a google maps search box for users to enter their address, complete with the auto-complete/detect functionality available on Google maps so that they won't have to enter a full address.
Calculate the distance from a fixed location (our warehouse) to the address they enter, and make this numerical information available for use in Javascript calculations.
It would be incredibly useful and rewarding for the company I work for, I can understand if it is indeed not possible but I really hope it is and welcome any and all suggestions..
I'm not asking for code, only resources where I can learn how to do this.
Thanks in advance.
To make a special fancy map, you need to use Google Maps API.
You can learn about what Google Maps API is, please visit the official site.
https://developers.google.com/maps/

Google Maps API v3 - Add a placemark control

I've been researching on this for some days but can't find a proper answer neither here nor in the API's doc.
http://dl.dropbox.com/u/3428472/download.png
I'm looking for a way to add that control to a gmaps implementation. I guess I could go for designing a custom control but since this one already exists, there must be a way of adding it as is.
That is the blue drop a pin control available in the edit mode of the places API.
Any help would be much appreciated.
Thanks!
The image looks like an implementation of the drawing-library.
There is no need to steal something, it's a part of the public API.
You'll find the docs here: https://developers.google.com/maps/documentation/javascript/overlays?hl=en#drawing_tools

Zipcodes and zones in google maps

Is it possible to make zones in google maps, when provided with the zipcodes?
If it is possible I would really like some links to information about it :)
These is no simple way to accomplish this in Google Maps. You'll have to create your own GPolygons or custom tile layer. The site you noted in your comment has good examples of several different ways to accomplish this.
You can get zip code boundary data here.