3 ms·
A better way to achieve this would be - Detect the map params which should be trivial because embedded maps have them as get parameters. Now use the JS library
by arihant 12y ago
A better way to achieve this would be - Detect the map params which should be trivial because embedded maps have them as get parameters. Now use the JS library to replace the embed with the map you get via the library. You can disable all the clutter as well as interactive features while doing so. And you won't break any TOS.
If you must go down the road you're on, might I suggest shipping this as an extension rather than a library. Very few developers would break TOS by using this but a lot of users might still love it!