Google Maps Platform rejected your request. Invalid request. Invalid 'pb' parameter.
HI all,
Google maps is working when i putting the complete iframe link in blade, however, i just took the what inside
src and put it in db as https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4414.841701529034!2d2.3278233138503293!3d48.85667376906887!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47e671d7d8f1d38b%3A0xcbba432a826e6156!2s1%20Rue%20de%20l'Universit%C3%A9%2C%2075006%20Paris!5e0!3m2!1sen!2sfr!4v1632905026755!5m2!1sen!2sfr,
and calling it like src="{{ $settings->location_map ?? ' ' }}" in blade, but i'm getting the above error,
the complete link that's working
<iframe id="map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4414.841701529034!2d2.3278233138503293!3d48.85667376906887!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47e671d7d8f1d38b%3A0xcbba432a826e6156!2s1%20Rue%20de%20l'Universit%C3%A9%2C%2075006%20Paris!5e0!3m2!1sen!2sfr!4v1632905026755!5m2!1sen!2sfr" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
After storing src in db
<iframe id="map" src="{{ $settings->location_map ?? '' }}" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
I appreciate your help !
Please or to participate in this conversation.