Hélder Moreira
Hélder Moreira

Reputation: 181

Box inside google maps

I've been searching an answer to this and the best i could find was here at stackoverflow, where someone explains how to insert a box of information inside the Google Maps but actually i would like to have that box side-by-side with my location.

Here is an example, just click at one of the green dots in the map, it will show you what i would like to have:

http://www.leroymerlin.pt/Site/Lojas.aspx

How can i do this? It even zooms in automatically! Wow, Google maps API V3 seems to be pretty awesome. This is cool too: goo.gl/WDMYmz . Not related though..

Thank you very much for all the help provided.

Upvotes: 0

Views: 139

Answers (1)

Dr.Molle
Dr.Molle

Reputation: 117334

What you see there is a custom overlay , a implementation of the OverlayView-class

There are libraries for a convenient creation of such overlays, e.g. infobox. The zoom may be set via the setZoom-method of the map.

Upvotes: 1

Related Questions