how to move google maps control INURL - google-maps

i have this link:
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Zagreb,+Croatia&aq=&sll=45.808351,15.897484&sspn=0.010066,0.016544&vpsrc=0&ie=UTF8&hq=&hnear=Zagreb,+Croatia&t=p&z=14&ll=45.794222,16.048298&output=embed
and wish to have the controls (currently in TOP LEFT position) in the
LEFT_CENTER position as indicated here:
https://developers.google.com/maps/documentation/javascript/controls#ControlPositioning
what to add to the URL?
thnx

TL;DR: You can't do this.
This is one instance where the API has more functionality than Google Maps.
There is a list of Maps parameters in Mapki — changing the position of controls isn't mentioned.
If you want to do more, you really need to use the API, which is what is covered by the documentation you referenced: that doesn't apply to Google Maps.

Related

How do you shift the centre of the map in an embedded Google map?

I have a Google Map that I have embedded on my web site. I have managed to size and position the iFrame so that it sits where I want it to sit on my web page. I am using the new Google Maps version.
However, I want to be able to shift the centre of the map to the right, because as it standsnow, the box that displays the map layers is covering some of the locations I have marked.
I am not at this point using any Javascript or jQuery. I have simply taken the iFrame link provided by Google's embed feature and placed it in my HTML. I see there are other questions about map centering, but I can't parse them for my situation because they assume some Javascript implementation. Also, I'm hoping that I do not have to take on a whole API or Javascript library to solve this. Further, it is unclear to me if the other questions relate to the new Google Maps version, which is what I'm using.
Is there a way I can alter the centre of the embedded Google Map?
Just add a "center" parameter to your iframe url. Like so - center="40.714728,-73.998672". You can get the required coordinates by searching in google maps and picking them from the address.
You could alternatively also use a query parameter but center is more accurate.
refer - https://developers.google.com/maps/documentation/static-maps/intro#location

Georeferencing of image (like Google Floor Plans)

I have a building floor plan and I need to specify its position on top of google map.
I like the way this is done in Google Floor Plans app - screenshot(the right part with map) - but I cannot figure out how they made it! :)
What part in Google Maps API I should look at?
In short - I have an image (plan of floor), and need to show it on top of Google Map and be able to manipulate with it (changing dimensions on events).
I'm thinking you'll want to implement a custom overlay. That link provides the relevant instructions for doing so. Also, Google provides a simple example so you can see the result here. Is that sort of what you're going for?
#Cianan Sims: Well, sure, I want custom overlay, but how is the question :-)
Fortunately, Google published tool called Overlay Tiler, which does exactly what I wanted - georeferencing of the image.

Is it possible to implement Google's Place on a custom map on my website?

I have to implement a map on a website, with google map.
For the moment, I've put a marker, with a window that opens and displays custom html.
Like here:
http://www.montreuxjazzcafe.com/fr/cafe/geneva?page=contact (click on the pink link on the right, under "Carte")
But my client asks if it is possible to have, in the window, the informations relative to the place which is registered in Google's DB, exactly like here:
http://maps.google.ch/maps?q=Montreux+Jazz+Caf%C3%A9+Geneva&hl=en&ie=UTF8&georestrict=input_srcid:9e080c8d2d0b5303&view=map&cid=8032887087538302764&hq=Montreux+Jazz+Caf%C3%A9+Geneva&t=m&z=17&iwloc=A<
So my question is: is it possible to add a Google Place on a custom google map, on this website? If yes, how do I implement it and where do I get the ID of the place?
Thank you in advance for your help!
David
Google has an API for places. Check this out... https://developers.google.com/maps/documentation/javascript/places
Place details, specifically...
https://developers.google.com/maps/documentation/javascript/places#place_details

Google Maps: Traffic on top of Custom Map

I want to add traffic information to my custom map. Currently I'm using a Tile Layer Overlay on my Google Map to display custom map tiles. When I try to add GTrafficOverlay to my map, my custom map tiles display above the traffic information. Is there any way to display the traffic above my GTileLayerOverlay?
(Using the JavaScript api)
You should be able to do this in V3. Take a look at this sample: http://code.google.com/apis/maps/documentation/v3/overlays.html#ImageMapTypes
I tried this out and wasn't able to find a solution to the problem. There is nothing in the GTrafficOverlayOptions and I couldn't find anything in the references about the z-order of this stuff. I have suspect that this isn't possible.
Would love to see an alternative answer showing that I am wrong.

Do i need use google maps api only to embed litle map with route calculator/display for only one destination?

Well i want to upgrade contact page with dynamic map showing location and give oportunity to calculate route for comapny headquatters. Id it necessery for such simple task use Google api? i mean here generating akey etc? Fo i have any other alternatives to google maps?
There's really no reason to mess with the API at all unless you need to customize the appearance or behavior of gmaps. Why not just use an iframe with a url of:
http://maps.google.com/?q=[you-url-encoded-address-here]
or better yet, set up a textbox and a 'get directions' button to redirect that frame to:
http://maps.google.com/maps?saddr=[their-address]&daddr=[your-address]
edit: this works well in modal dialog if you don't want the google logo sticking out like a sore thumb in your pageflow
You could probably embed directly with a specific URL that will configure it to have the destination you want.
By the way, well written answers are much more likely to receive useful responses here.
You could consider http://www.openlayers.org/ as an alternative to google maps.
In fact open layers can be used to add a Google map, or an OpenStreetMap map or a Bing map, etc.