vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Embed Interactive SAVED Google Maps (https://vborg.vbsupport.ru/showthread.php?t=235632)

Trilhos Vivos 06-15-2010 03:03 AM

IS there anyway I can load external gpx files into these maps?

Example:

[savedmap]http://my.resource.com/track-file.gpx[/savedmap]

So the map would show the contents of my gpx file?

Thanks in advance

funmasti 06-15-2010 09:17 AM

Installed.

benstillman 07-08-2010 04:55 PM

Quote:

Originally Posted by Trilhos Vivos (Post 2053824)
IS there anyway I can load external gpx files into these maps?

Example:

[savedmap]http://my.resource.com/track-file.gpx[/savedmap]

So the map would show the contents of my gpx file?

Thanks in advance

Not very easily. Check out http://www.gpsvisualizer.com/ and see if that might work for you.

fuzioneer 08-01-2010 10:02 AM

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 ?

ravencr 09-24-2010 06:29 PM

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

benstillman 11-17-2010 02:44 PM

Quote:

Originally Posted by ravencr (Post 2102811)
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.

benstillman 11-17-2010 02:45 PM

Quote:

Originally Posted by fuzioneer (Post 2077555)
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.

sufilala 05-20-2011 12:22 PM

fantastic
thanks for this!!

Dev Exiles 08-08-2011 08:18 PM

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.

Code:

<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 {option} frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/{param}&amp;output=embed"></iframe>
</td>
</tr>
</table>
</div>


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


Code:

[savedmap=width="600" height="600"]maps?q=OBAMA'S+FRIED+CHICKEN,+Saint+Nicholas+Avenue,+New+York,+NY&hl=en&ll=40.802327,-73.950734&spn=0.00752,0.021136&sll=40.80391,-73.958234&sspn=0.003963,0.010568&z=16[/savedmap]

benstillman 11-07-2011 04:08 PM

Quote:

Originally Posted by Dev Exiles (Post 2231023)
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.

Code:

<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 {option} frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/{param}&amp;output=embed"></iframe>
</td>
</tr>
</table>
</div>

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


Code:

[savedmap=width="600" height="600"]maps?q=OBAMA'S+FRIED+CHICKEN,+Saint+Nicholas+Avenue,+New+York,+NY&hl=en&ll=40.802327,-73.950734&spn=0.00752,0.021136&sll=40.80391,-73.958234&sspn=0.003963,0.010568&z=16[/savedmap]


That was already done: https://vborg.vbsupport.ru/showthread.php?t=235625


All times are GMT. The time now is 08:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01050 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete