How I display photo from google place api using geturl()? -
How I display photo from google place api using geturl()? -
function createphotomarker(place) { var photos = place.photos; if (!photos) { return; } var marker = new google.maps.marker({ map: map, position: place.geometry.location, title: place.name, icon: photos[0].geturl({'maxwidth': 35, 'maxheight': 35}) }); }
i utilize above function nil been worked...
google-maps google-maps-api-3 google-places-api
Comments
Post a Comment