Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Embed Interactive SAVED Google Maps Details »
Embed Interactive SAVED Google Maps
Mod Version: 1.00, by benstillman (Coder) benstillman is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (7 votes - 4.57 average) Installs: 38
Released: 11 Feb 2010 Last Update: Never Downloads: 0
Not Supported  

Per request: This embeds an interactive Google Map which you have previously created and saved to your "My Maps".



Admin CP --> Custom BB Codes --> Add New BB Code


Title: Saved Map

BB Code Tag Name: savedmap

Replacement: <div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?{param}&amp;output=embed"></iframe>
</td>
</tr>
</table>
</div>
</div>

Example: [savedmap]source=ig&hl=en&ie=UTF8&hq=&hnear=Browns+Summit,+NC&gl=us&ei=5Pw5S5CTGI3ilAfR 8_GgBw&ved=0CAsQ8gEwAA&msa=0&msid=108286888553679296824.00047bd3022f955f5a820&ll =36.75539,-81.285095&spn=0.792197,1.149445&z=10[/savedmap]

Description: This will insert a saved Google map

Use {option}: No

Button Image (Optional): whatever 20x20 image you want, or none

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code:
Yes

Disable Smilies Within This BB Code: Yes

Disable Word Wrapping Within This BB Code: Yes



Edited per trumpetrhapsody's recommendation.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	savedmap.jpg
Views:	771
Size:	160.3 KB
ID:	112120  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Interactive Google Maps In Post benstillman vBulletin 4.x Add-ons 148 13 Dec 2018 07:14
BB Code Enhancements Interactive Google Maps In Post benstillman vBulletin 3.8 Add-ons 44 19 Apr 2017 19:10
New Posting Features Phoogle! An interactive Google Maps mapping system. magnus vBulletin 3.6 Add-ons 246 02 Jan 2012 16:59

  #16  
Old 17 Nov 2010, 15:44
benstillman benstillman is offline
 
Join Date: Jun 2007
Real name: Ben
Originally Posted by ravencr View Post
How do I do an iframe for any url, so instead of posting a url and it opening a new page on their site, it keeps the user on my site within the iframe?

Chris
You don't want to do that. That's a huge security risk. Anyone could embed stuff within your site that way.
__________________
Reply With Quote
  #17  
Old 17 Nov 2010, 15:45
benstillman benstillman is offline
 
Join Date: Jun 2007
Real name: Ben
Originally Posted by fuzioneer View Post
i have this working on a vb 4.0.3 site and it works fine for UK roads, but if i try linking to a UK Streetview it simply displays the standard google map view instead ?
Got me beat.
__________________
Reply With Quote
  #18  
Old 20 May 2011, 13:22
sufilala sufilala is offline
 
Join Date: Feb 2010
fantastic
thanks for this!!
Reply With Quote
  #19  
Old 08 Aug 2011, 21:18
Dev Exiles Dev Exiles is offline
 
Join Date: Apr 2011
I don't think I've screwed anything up, but I tweaked it a bit to allow:

1) Any Google map can be embedded, not just saved maps, and

2) Control over how large the map is displayed.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Be sure to change Use {option} to Yes. The option is the width and height of the map. An example would look like this:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #20  
Old 07 Nov 2011, 16:08
benstillman benstillman is offline
 
Join Date: Jun 2007
Real name: Ben
Originally Posted by Dev Exiles View Post
I don't think I've screwed anything up, but I tweaked it a bit to allow:

1) Any Google map can be embedded, not just saved maps, and

2) Control over how large the map is displayed.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure to change Use {option} to Yes. The option is the width and height of the map. An example would look like this:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That was already done: http://www.vbulletin.org/forum/showthread.php?t=235625
__________________
Reply With Quote
  #21  
Old 04 Dec 2011, 21:47
ozione ozione is offline
 
Join Date: Nov 2010
hello!

i did manage to get this working but there is a strange issue with my embedded maps; there is no location "pins" visible. i tried with public addresses or my custom saved maps. i just get a map with no "destination" pin.

any clues?
thanks
Reply With Quote
  #22  
Old 20 Dec 2011, 15:32
benstillman benstillman is offline
 
Join Date: Jun 2007
Real name: Ben
Originally Posted by ozione View Post
hello!

i did manage to get this working but there is a strange issue with my embedded maps; there is no location "pins" visible. i tried with public addresses or my custom saved maps. i just get a map with no "destination" pin.

any clues?
thanks
Example address?
__________________
Reply With Quote
  #23  
Old 16 Jan 2012, 12:45
ozione ozione is offline
 
Join Date: Nov 2010

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this is code used in my custom map. it opens nicely withing the browser...
Reply With Quote
  #24  
Old 04 Jul 2012, 01:10
d0cpaul's Avatar
d0cpaul d0cpaul is offline
 
Join Date: Aug 2009
Originally Posted by ozione View Post
hello!

i did manage to get this working but there is a strange issue with my embedded maps; there is no location "pins" visible. i tried with public addresses or my custom saved maps. i just get a map with no "destination" pin.

any clues?
thanks
I got the same thing happening to me. Here's a URL to the test post:
http://trailviewer.org/showthread.ph...st&p=10#post10
Reply With Quote
  #25  
Old 04 Jul 2012, 13:15
Jonm Jonm is offline
 
Join Date: May 2011
all I see is the link or BBCODE no map....
Reply With Quote
  #26  
Old 05 Jul 2012, 09:01
d0cpaul's Avatar
d0cpaul d0cpaul is offline
 
Join Date: Aug 2009
Sorry about that mate here's the test link..
http://trailviewer.org/forum/showthr...ap&p=11#post11

Last edited by d0cpaul; 14 Jul 2012 at 21:03.
Reply With Quote
  #27  
Old 14 Jul 2012, 21:04
d0cpaul's Avatar
d0cpaul d0cpaul is offline
 
Join Date: Aug 2009
Anyone have a solution?
Reply With Quote
  #28  
Old 27 Sep 2012, 21:49
Guust Guust is offline
 
Join Date: Mar 2010
Can anybody tell me how to get the code that is required to be pasted between the [SAVEDMAP] tags?
I have created a map and saved it to "my places" in google maps, but have not been able to find any code that actually works.

This is a link to the map:
http://maps.google.com/maps/ms?ie=UT...a63409a48ae93f just in case I am doing things wrong.
__________________
2CV Club Australia
Reply With Quote
  #29  
Old 28 Sep 2012, 10:13
Guust Guust is offline
 
Join Date: Mar 2010
I figured it out, you get the code from the link icon above the details of your saved map, and drop the
https://maps.google.com.au/maps/ms?
bit in front of the URL.
Originally Posted by Guust View Post
Can anybody tell me how to get the code that is required to be pasted between the [SAVEDMAP] tags?
I have created a map and saved it to "my places" in google maps, but have not been able to find any code that actually works.

This is a link to the map:
http://maps.google.com/maps/ms?ie=UT...a63409a48ae93f just in case I am doing things wrong.
__________________
2CV Club Australia
Reply With Quote
  #30  
Old 13 Nov 2012, 01:16
lukescotty lukescotty is offline
 
Join Date: Jul 2008
why are my maps very narrow

http://www.talknightlife.co.uk/f43/t...-google-14795/

Any ideas???

Cheers guys
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:07.

Layout Options | Width: Wide Color: