PHP Classes

MapBuilder & TinyBox2

Recommend this page to a friend!

      Map Builder  >  All threads  >  MapBuilder & TinyBox2  >  (Un) Subscribe thread alerts  
Subject:MapBuilder & TinyBox2
Summary:How to get them to play nice?
Author:Geoffrey Reiss
Date:2013-09-03 16:58:55
Update:2013-09-03 20:40:54

  1. MapBuilder & TinyBox2   Reply   Report abuse  
Geoffrey Reiss - 2013-09-03 16:58:55

I'm trying to put a MapBuilder map -- example 1 (ex1.php) -- into a TinyBox2 div...triggered by a 'Show map' button on my page.

ex1.php runs fine solo...but when I invoke it from a TinyBox2 call, I get nothing -- the space is allocated for the map, but the map doesn't show....& the code seems to show that there is no mapping code.

I've altered $map->show(); five different ways to:

$var = $map->show(); echo $var;
$var = $map->show(false); echo $var;
$var = $map->show(true); echo $var;

I've tried callong as an ajax call and as an iframe, neither of which display the mapů

Any ideas of what I need to do to get MapBuilder to output to a TinyBox2 div?

Thnx in advance,


  2. Re: MapBuilder & TinyBox2   Reply   Report abuse  
Vagharshak Tozalakyan - 2013-09-03 20:40:54 - In reply to message 1 from Geoffrey Reiss
Hi, the following should work:{iframe:'ex1.php',width:620,height:620})