add google map without api or embed google map using php code

we can add google map without using API or embed google map.
Benefit:- No need to get headache for google map API
Loss:- it will show the only map. it will not show the marker on the map.

here is the given below code

<iframe width="100%" height="auto" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.it/maps?q=<?php echo $location; ?>&output=embed"></iframe>

where $location is the address that will come through PHP or you can directly put a static

Popular posts from this blog

Cant use dump() function in twig files or how to enable debug in opencart twig or print_r alternate use dump() in opencart 3.0

maximum execution time error when importing sql data file since php.ini has been already set max execution time 3000

SEO Custom URL in Opencart