Version: 1.00, by benstillman
Developer Last Online: May 2014
Category: BB Code Enhancements -
Version: 4.0.x
Rating:
Released: 02-10-2010
Last Update: Never
Installs: 224
No support by the author.
No Google Maps API key, no mod install, no template edits, etc. This is based off YBMF's mod for 4.0, but a bit easier for the end user. Instead of the user having to input the full Google Maps link, just the address, name of business, etc is acceptable.
Seems to be working fine for me. I just typed "Redmond City Hall 98052" within the map tags.
That's weird too- when I put in "Redmond City Hall 98052" like you it works fine but when I tried the full address like the guy posted, it doesn't show the place marker.
I think that I didnt give a good example. I apologize because even you enter the direct address in the maps.google.com, it will not display the picture, so it has nothing to do with your code. (although, I want to know why the name will display picture, but the address would not on the google map..odd)
take this example. that is an address of the sushi restaurant. I tried that in the maps.google first so I will not waste your time. do you see the nice picture?
11818 Northeast 8th Street, Bellevue, WA
but, when I enter the same address in your map bbcode, I will not see it!
I think that I didnt give a good example. I apologize because even you enter the direct address in the maps.google.com, it will not display the picture, so it has nothing to do with your code. (although, I want to know why the name will display picture, but the address would not on the google map..odd)
take this example. that is an address of the sushi restaurant. I tried that in the maps.google first so I will not waste your time. do you see the nice picture?
11818 Northeast 8th Street, Bellevue, WA
but, when I enter the same address in your map bbcode, I will not see it!
Another bad example I think. The image shown on maps.google.com is simply a thumbnail link directing to the street view. Street view, as far as I know, isn't supported in embedded maps. So no, that picture wouldn't show up within this bbcode.
I just need one more thing. how can i set the zoom and the default mode ( map satelite... )
Thanks
Try adding "&z=10" after "&output=embed" in the code... set the number 10 to whatever zoom level you want, I think it goes 1 to 14... Not sure what would happen if the link already specifies a different zoom.
Quote:
Originally Posted by ravencr
How can I modify this to insert any page url into an iframe within any post?
Chris
It is a bad idea to allow users to embed iframes because they can link to pages with security issues and your users could get viruses or exploited by malicious users... but if you don't care change the line: