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

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -