Make one div for the google map inside ui-layout-center, for example:
div id=map2 class=map2/div
Then add javascript for openlayers :
...
map2 = new OpenLayers.Map('map2', options);
..
use PM.Map.bindOnMapRefresh function to change extents of openlayers map when
extents of pmappers have changed.
for example:
PM.Map.bindOnMapRefresh(null,function(e){
var maxx_geo=PM.xdelta_geo+PM.minx_geo;
var miny_geo=PM.maxy_geo-PM.ydelta_geo;
var Bounds = new OpenLayers.Bounds(PM.minx_geo, miny_geo, maxx_geo,
PM.maxy_geo);
map2.zoomToExtent(Bounds);
});
Set z-index of map2 to be under the map of pmapper
Ofcorse there are a lot of javascript ajax and to do. The above scripts are
just the beginning. good luck.
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users