Migrate from iframe embeds ​
Many WordPress users embed Google Maps using a raw <iframe> copied from Google Maps. While this works, it has significant limitations.
Why migrate to the plugin? ​
| Feature | Raw iframe | WP Google Street View |
|---|---|---|
| Street View embed | Limited | Full 360° with custom heading/pitch/zoom |
| Custom markers | No | Yes (Pro) |
| Custom styles | No | Yes (Pro) |
| Info boxes with HTML | No | Yes (Pro) |
| Map layers | No | Yes (Pro) |
| LocalBusiness schema | No | Yes (Pro) |
| Responsive | Requires manual CSS | Built-in |
| Admin UI | None | Full visual editor |
| Multiple maps management | Manual | Centralized CPT |
Migration steps ​
- Install and activate WP Google Street View
- Configure your API key
- For each iframe embed on your site:
- Note the coordinates from the iframe URL
- Create a new WPGSV entry with those coordinates
- Replace the
<iframe>with the[wpgsv id="X"]shortcode
- Delete the old iframe code
Quick migration with [wpgsv_map] ​
For a faster migration, use the inline shortcode instead of creating WPGSV posts:
Old iframe:
html
<iframe src="https://www.google.com/maps/embed?pb=..." width="600" height="450"></iframe>New shortcode:
[wpgsv_map lat="48.8566" lng="2.3522" type="map" zoom="14" width="100%" height="450px"]