Hi Francis, this is happening probably because you are creating a new google.maps.places.PlacesService for each search. Try creating a PlacesService and store it somewhere to use it for further searchs.
I hope it helps. Cheers, Jr. Hames On Jul 21, 9:06 pm, Chris Broadfoot <[email protected]> wrote: > Could you post a link? The Places API itself doesn't add anything to your > page. You probably have code that looks like this... > > attributionDiv.innerHTML += placesResult.attribution; > > --http://twitter.com/broady > > On Thu, Jul 21, 2011 at 11:35 PM, Francis Carriere > <[email protected]>wrote: > > > > > > > > > Hello! > > > I'm using the places API. I have to make multiple calls, and every time I > > make a call it adds to the maps (on the bottom right) "Listings by yellow > > pages". > > > So if I make multiple call, eventually it just fills up the whole right > > side of the screen with tens of "Listings by yellow pages". > > > Anyone know a way to clear these? On the documentation it says > > html_attributions must be displayed to the user...is there a way to handle > > it ourselves instead of it being added automatically on the map? > > > Thank you! > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To view this discussion on the web visit > >https://groups.google.com/d/msg/google-maps-js-api-v3/-/yyHZY5Fxgf4J. > > 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-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
