I'm wondering how I can load an InfoWindow with two tabs: one displaying a minimap more zoomed in on wherever the infowindow is, like the marker.showMapBlowup(); of V2.
The other tab would be regular text content I've created.
Anyone know how to do this in V3?
Thanks!
I've done a bit of googling around : http://reizigers.jade1.nl/Tabbed_Infowindows.html
good luck
Related
I am creating a search page based on continents. And I need to let the user click(choose) a continent and based on this choice. I do backend logic.
What I tried is to set a world map as a background of a div. And on this map I put the linkbuttons that represent the continent (as attached).
The problem is when I resize the screen the linkbuttons go into wrong positions. So please help me to find a way to PIN the buttons (continent names) to the map when resize or open the page on different screens.
Thank you.
Here is a link to a youtube video that shows you how to use google maps API. This may make what you are doing a little easier. I recently used this to create a mobile tour app.
Google Maps API
Thanks for trying to help. I just solved the problem and likeed to share the solution.
I have solved this using map on the image. So I made the continents clickable on the image without putting any controls on the image.
I need to customize a Google Maps InfoWindow.
In particular I want an image to "hang over the edge" of the InfoWindow. But when I place the image absolute within the InfoWindow-DIV it disappears behind the border of my InfoWindow.
Adding a z-index changes nothing.
Hope I made my point clear. Any ideas?
There are many custom window solution , see this one for example:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html
If you want something outside of the infoMarker border, you'd better use a custom solution.
The built in one is good for the simple stuff.
I've having an issue with Google maps not centering on the pin. See an example of the issue here: http://www.heyheygorgeous.com/enzocoboston/test
You'll see that if the google map is placed in the first tab, it works. Click on the other tabs and the google map doesn't center on the pin.
Please let us know what to do to resolve this issue. Thanks.
For the google map to work inside a hidden tab, try setting the iframe width of the google map to 100% instead of using a px width. Example: width="100% height="350"
If you're using wordpress, just grap an iframe plugin, otherwise WP will erase the tags when you switch between VISUAL and HTML views.
You can see an example here: Fairmont Scottsdale Princess (click "map")
I am trying to add an image inside of a google maps marker (not info window). Essentially I want an avatar as the marker, but still want to retain the marker icon.
Is there any way to do something like this in gmaps 3?
Is something like the Marker With Label class what you're looking for? It adds a DOM object to a marker which you can place an image in.
I am not sure exactely what you wanna do. In the past i need an marker with number on it (to display how many elements each place has). I released it as an open source code and you can find it http://zeetha.com/open/iconsharp/
Does it help you?
In my app I have displayed some custom overlay on google map using MKOverlay with the help of TileMap sample code. My requirement is, I need to mask the entire google map underneath the overlay.That is, I want rest of the map area to appear to be in gray except my custom overlay.
Could anyone give me direction on how to achieve this?
Thanks in advance,
I don't know all the calls that you'd need to cover but I know how to find out. In the TileMap example code provided by Apple they show how the MKMapView will call for tiles. All you'd need to do is swap out the code that finds files on disk and swap in some code that always returns a grey square every time.
However this won't remove the Google logo or stop the app from downloading the map tiles from Google in the background. If you find out how to stop that please let me know.