On Feb 25, 1:27 pm, Hoby1 <[email protected]> wrote: > I use php to display items on the map Latitude > and Longitude: > > <? > require ( 'GoogleMapAPI.class.php'); > > $ map = new GoogleMapAPI ( 'map'); > > / / Enter YOUR Google Map Key > $ map-> setAPIKey ( 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); > > / / Create some map markers > ************************************************** > ******************************** > > $ map-> setWidth ('1500px '); > $ map-> setHeight ('800px '); > $ map-> disableDirections (); > $ map-> setMapType ( 'satellite'); > > if ($ Site1 !=""){ > $ map-> addMarkerByCoords ($ Long1, $ lat1, $ Site1, $ Site1, $ Site1);) > > if ($ Site2 !=""){ > $ map-> addMarkerByCoords ($ Long2, $ lat2, $ Site2, $ Site2, $ Site2);) > > if ($ Site3 !=""){ > $ map-> addMarkerByCoords ($ Long3, $ lat3, $ Site3, $ Site3, $ Site3);) > > if ($ site4!=""){ > $ map-> addMarkerByCoords ($ Long4, $ Lat4, $ site4, $ site4, $ site4);) > > if ($ Site5 !=""){ > $ map-> addMarkerByCoords ($ Long5, $ LAT5, Site5 $, $ Site5, Site5 $);) > > if ($ Site6 !=""){ > $ map-> addMarkerByCoords ($ Long6, $ Lat6, $ Site6, $ Site6, $ Site6); > > ) > > ?> > > Everything works perfectly. > > But I have to click on each item to see the tooltip.
an infoWindow is not a tooltip, but I think thats what you mean. > > I want all the info balloon to be visible without clicking. With the normal Google Maps API, there is only one infoWindow. You can use 3rd party infoWindow replacement to do that though. Here are two from Mike Williams' tutorial: Part 10 Using EWindows - an alternative to the API info window http://econym.org.uk/gmap/ewindows.htm Part 14 Using EBubbles - another alternative to the API info window http://econym.org.uk/gmap/ebubble.htm -- Larry > > I can not find the code for this > > Thank you -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
