I've tried, if  I use this script, it's ok and the application works
fine:

$( "#map" ).dialog({
title: 'Map preview',
width: 600,
height: 500,
position: [50,50],
resizable: false
});


But, if I modify the script in this way doesn't work anymore:

$( "#map" ).dialog({
autoOpen: false,
title: 'Map preview',
width: 600,
height: 500,
position: [50,50],
resizable: false
});
                                
$('#mapPreview').click(function() {
$('#map').dialog('open');
return false;
});


So, the problem I think is the parameter "AutoOpen" that does not
initialize the map, without, however, I do not have the effect popup.
Is there a way to solve the problem?

Bye

-beppe-

Il giorno gio, 25/11/2010 alle 18.28 +0100, beppe ha scritto:
> Hi all,
> I have a list of cities from postgis table (via geoserver), with a
> simple function "onClick" I can zoom in on them. Now I would like to
> implement the function by showing the map in a jquery modal form. If I
> try, I get the popup but can not load the map (instead of the
> coordinates I have written Nan, Nan). There's no error in firebug. Is
> there a way to do this or OpenLayers libraries are incompatible with
> those of jquery?
> 
> Thank you so much
> 
> -beppe-


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to