Discussion:
[Geoserver-users] open layers not display in firefox 2.0
Arturo Juàrez
2008-11-03 20:04:55 UTC
Permalink
Hi, I am a new user for openlayers, but when I maked my first design,
this was display only in Iexplorer and firefox 3.0.3, but when I was
probe it in other firefox (e.j. 2.0) , didn't display the graphic.

could you help me. Thanks.
--
*//**/Arturo Juárez Lima/*

/
/
Justin Deoliveira
2008-11-03 21:44:28 UTC
Permalink
Hi Arturo,

You probably want to send this query to the openlayers users list:
***@openlayers.org.

It would also be helpful if you included the code for the map.

-Justin
Post by Arturo Juàrez
Hi, I am a new user for openlayers, but when I maked my first design,
this was display only in Iexplorer and firefox 3.0.3, but when I was
probe it in other firefox (e.j. 2.0) , didn't display the graphic.
could you help me. Thanks.
--
*//**/Arturo Juárez Lima /*
/
/
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Andrea Aime
2008-11-04 08:40:54 UTC
Permalink
Post by Arturo Juàrez
Hi, I am a new user for openlayers, but when I maked my first design,
this was display only in Iexplorer and firefox 3.0.3, but when I was
probe it in other firefox (e.j. 2.0) , didn't display the graphic.
could you help me. Thanks.
Personally I cannot, not much of a OL user. If you can, ask on the
openlayers-users mailing list, there you should find someone able
to answer your question

Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Arturo Juàrez
2008-11-04 13:58:38 UTC
Permalink
are there other tools besides of openlayers for publish the maps ?

*//**/Arturo Juárez Lima/*
Post by Andrea Aime
Post by Arturo Juàrez
Hi, I am a new user for openlayers, but when I maked my first design,
this was display only in Iexplorer and firefox 3.0.3, but when I was
probe it in other firefox (e.j. 2.0) , didn't display the graphic.
could you help me. Thanks.
Personally I cannot, not much of a OL user. If you can, ask on the
openlayers-users mailing list, there you should find someone able
to answer your question
Cheers
Andrea
Andrea Aime
2008-11-04 14:08:27 UTC
Permalink
Post by Arturo Juàrez
are there other tools besides of openlayers for publish the maps ?
OpenGeo uses OpenLayers exclusively, we had no such problems
as you so far. But yeah, there are others, such as the
Flamingo map components, or MapBender (just to cite the first
two that come to my mind).

Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Arturo Juàrez
2008-11-04 14:45:15 UTC
Permalink
this is my code, maybe my error is in are many together layers.

/<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
#map {
width: 806px;
height: 560px;
border: 1px solid black;
}
#wrapper {
width: 836px;
}
#location {
float: right;
}
</style>

<link rel="stylesheet"
href="http://172.16.23.21:8080/geoserver/openlayers/theme/default/style.css"
type="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<script
src="http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js"></script>
<script type="text/javascript">
var lon = -100;
var lat = 20.60;
var zoom = 8;
var map, layer;

function init(){
var options = {

maxScale: 100,
numZoomLevels: 2
};

map = new OpenLayers.Map( 'map', options );
layer = new OpenLayers.Layer.WMS( "layers de Queretaro",
"http://172.16.23.21:8080/geoserver/wms",
{layers:
'tur:LMA,local:Colonias01,local:Colonias04,local:Colonias05,local:Colonias06,local:Colonias07,local:Colonias08,local:Colonias09,local:Colonias11,local:Colonias12,local:Colonias14,local:Colonias16,local:Colonias17,lManzanas:manzanas_01,lManzanas:manzanas_02,lManzanas:manzanas_03,lManzanas:manzanas_04,lManzanas:manzanas_05,lManzanas:manzanas_06,lManzanas:manzanas_07,lManzanas:manzanas_08,lManzanas:manzanas_09,lManzanas:manzanas_10,lManzanas:manzanas_11,lManzanas:manzanas_12,lManzanas:manzanas_13,lManzanas:manzanas_14,lManzanas:manzanas_15,lManzanas:manzanas_16,lManzanas:manzanas_17,lManzanas:manzanas_18,predios:predios_01,predios:predios_02,predios:predios_03,predios:predios_04,predios:predios_05,predios:predios_06,predios:predios_07,predios:predios_08,predios:predios_09,predios:predios_10,predios:predios_11,predios:predios_12,predios:predios_13,predios:predios_14,predios:predios_15,predios:predios_16,predios:predios_17,predios:predios_18,lcalle:calles_01,lcalle:calles_02,lcalle:calles_03,lcalle:calles_04,lcalle:calles_05,lcalle:calles_06,lcalle:calles_07,lcalle:calles_08,lcalle:calles_09,lcalle:calles_10,lcalle:calles_11,lcalle:calles_12,lcalle:calles_13,lcalle:calles_14,lcalle:calles_15,lcalle:calles_16,lcalle:calles_17,lcalle:calles_18,Construcciones:construcciones_01,Construcciones:construcciones_02,Construcciones:construcciones_03,Construcciones:construcciones_04,Construcciones:construcciones_05,Construcciones:construcciones_06,Construcciones:construcciones_07,Construcciones:construcciones_08,Construcciones:construcciones_09,Construcciones:construcciones_10,Construcciones:construcciones_11,Construcciones:construcciones_12,Construcciones:construcciones_13'}
);//,Construcciones:construcciones_14,Construcciones:construcciones_15,Construcciones:construcciones_16,Construcciones:construcciones_17,Construcciones:construcciones_18'}
);
map.addLayer(layer);

map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
map.addControl( new OpenLayers.Control.Scale($('scale')));
map.addControl( new OpenLayers.Control.PanZoomBar());
}
</script>
</head>
<body onload="init()">
<h1 id="title">WMS Example</h1>

<div id="tags">
</div>
<p id="shortdesc">
Shows the basic use of openlayers using a WMS layer
</p>

<div id="map" class="bigmap"></div>

<div id="docs">
Este es mi primer Demo!!
</div>
</body>
</html>/





*//**/Arturo Juárez Lima/*

/
/
Post by Andrea Aime
Post by Arturo Juàrez
are there other tools besides of openlayers for publish the maps ?
OpenGeo uses OpenLayers exclusively, we had no such problems
as you so far. But yeah, there are others, such as the
Flamingo map components, or MapBender (just to cite the first
two that come to my mind).
Cheers
Andrea
Rodrigo
2008-11-04 15:35:12 UTC
Permalink
Hello Arturo!!
I don't know if it's going to fix your problem, but today I've had problems
with displaying popups with openlayers, and there was another problem with a
bbox draw...

Then, I just downloaded the last OpenLayers version (2.7) from
openlayers.org, descompressed the file (.tar.gz) and moved the
OpenLayers-2.7 directory inside geoserver's one...

In my code, I've referenced it like:
http://localhost:8080/geoserver/OpenLayers-2.7/OpenLayers.js and it worked
fine!!!
I'm using geoserver 1.6.5....

Try to make this change and MAYBE it works...

(If you want to be sure that this can be a version problem, I suggest you to
download an older version of OpenLayers and try it... and when I say older,
I mean a release made before Firefox 3)

I hope to help...

Regards,

Rodrigo

======================================
Rodrigo C. Antonialli
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato: (19) 9757-0370
***@gmail.com
***@gmail.com
Skype: rc_antonialli
Post by Arturo Juàrez
this is my code, maybe my error is in are many together layers.
*<html xmlns="http://www.w3.org/1999/xhtml" <http://www.w3.org/1999/xhtml>
<head>
<style type="text/css">
#map {
width: 806px;
height: 560px;
border: 1px solid black;
}
#wrapper {
width: 836px;
}
#location {
float: right;
}
</style>
<link rel="stylesheet" href=
"http://172.16.23.21:8080/geoserver/openlayers/theme/default/style.css"<http://172.16.23.21:8080/geoserver/openlayers/theme/default/style.css>type="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<script src=
"http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js"<http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js>
Post by Arturo Juàrez
</script>
<script type="text/javascript">
var lon = -100;
var lat = 20.60;
var zoom = 8;
var map, layer;
function init(){
var options = {
maxScale: 100,
numZoomLevels: 2
};
map = new OpenLayers.Map( 'map', options );
layer = new OpenLayers.Layer.WMS( "layers de Queretaro",
"http://172.16.23.21:8080/geoserver/wms"<http://172.16.23.21:8080/geoserver/wms>,
'tur:LMA,local:Colonias01,local:Colonias04,local:Colonias05,local:Colonias06,local:Colonias07,local:Colonias08,local:Colonias09,local:Colonias11,local:Colonias12,local:Colonias14,local:Colonias16,local:Colonias17,lManzanas:manzanas_01,lManzanas:manzanas_02,lManzanas:manzanas_03,lManzanas:manzanas_04,lManzanas:manzanas_05,lManzanas:manzanas_06,lManzanas:manzanas_07,lManzanas:manzanas_08,lManzanas:manzanas_09,lManzanas:manzanas_10,lManzanas:manzanas_11,lManzanas:manzanas_12,lManzanas:manzanas_13,lManzanas:manzanas_14,lManzanas:manzanas_15,lManzanas:manzanas_16,lManzanas:manzanas_17,lManzanas:manzanas_18,predios:predios_01,predios:predios_02,predios:predios_03,predios:predios_04,predios:predios_05,predios:predios_06,predios:predios_07,predios:predios_08,predios:predios_09,predios:predios_10,predios:predios_11,predios:predios_12,predios:predios_13,predios:predios_14,predios:predios_15,predios:predios_16,predios:predios_17,predios:predios_18,lcalle:calles_01,lcalle:calles_02,lcall
e:calles_03,lcalle:calles_04,lcalle:calles_05,lcalle:calles_06,lcalle:calles_07,lcalle:calles_08,lcalle:calles_09,lcalle:calles_10,lcalle:calles_11,lcalle:calles_12,lcalle:calles_13,lcalle:calles_14,lcalle:calles_15,lcalle:calles_16,lcalle:calles_17,lcalle:calles_18,Construcciones:construcciones_01,Construcciones:construcciones_02,Construcciones:construcciones_03,Construcciones:construcciones_04,Construcciones:construcciones_05,Construcciones:construcciones_06,Construcciones:construcciones_07,Construcciones:construcciones_08,Construcciones:construcciones_09,Construcciones:construcciones_10,Construcciones:construcciones_11,Construcciones:construcciones_12,Construcciones:construcciones_13'}
);//,Construcciones:construcciones_14,Construcciones:construcciones_15,Construcciones:construcciones_16,Construcciones:construcciones_17,Construcciones:construcciones_18'}
);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
map.addControl( new OpenLayers.Control.Scale($('scale')));
map.addControl( new OpenLayers.Control.PanZoomBar());
}
</script>
</head>
<body onload="init()">
<h1 id="title">WMS Example</h1>
<div id="tags">
</div>
<p id="shortdesc">
Shows the basic use of openlayers using a WMS layer
</p>
<div id="map" class="bigmap"></div>
<div id="docs">
Este es mi primer Demo!!
</div>
</body>
</html>*
***Arturo Juárez Lima*
*
*
are there other tools besides of openlayers for publish the maps ?
OpenGeo uses OpenLayers exclusively, we had no such problems
as you so far. But yeah, there are others, such as the
Flamingo map components, or MapBender (just to cite the first
two that come to my mind).
Cheers
Andrea
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Arturo Juàrez
2008-11-04 16:43:28 UTC
Permalink
Thanks to all, I was follow the idea from Rodrigo, I was probe with the
version 2.5, and this fixed the problem for all version for firefox, but
then Iexplorer didn't display the map, Then I was only change the file
"theme" from OL 2.7 and with this is resolved. <Tranquilo>

Thanks again.

*//**/ Arturo Juárez Lima/*
Post by Rodrigo
Hello Arturo!!
I don't know if it's going to fix your problem, but today I've had
problems with displaying popups with openlayers, and there was another
problem with a bbox draw...
Then, I just downloaded the last OpenLayers version (2.7) from
openlayers.org <http://openlayers.org>, descompressed the file
(.tar.gz) and moved the OpenLayers-2.7 directory inside geoserver's
one...
http://localhost:8080/geoserver/OpenLayers-2.7/OpenLayers.js and it
worked fine!!!
I'm using geoserver 1.6.5. <http://1.6.5.>...
Try to make this change and MAYBE it works...
(If you want to be sure that this can be a version problem, I suggest
you to download an older version of OpenLayers and try it... and when
I say older, I mean a release made before Firefox 3)
I hope to help...
Regards,
Rodrigo
======================================
Rodrigo C. Antonialli
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato: (19) 9757-0370
Skype: rc_antonialli
this is my code, maybe my error is in are many together layers.
/<html xmlns="http://www.w3.org/1999/xhtml"
<http://www.w3.org/1999/xhtml>>
<head>
<style type="text/css">
#map {
width: 806px;
height: 560px;
border: 1px solid black;
}
#wrapper {
width: 836px;
}
#location {
float: right;
}
</style>
<link rel="stylesheet"
href="http://172.16.23.21:8080/geoserver/openlayers/theme/default/style.css"
<http://172.16.23.21:8080/geoserver/openlayers/theme/default/style.css>
type="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<script
src="http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js"
<http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js>></script>
<script type="text/javascript">
var lon = -100;
var lat = 20.60;
var zoom = 8;
var map, layer;
function init(){
var options = {
maxScale: 100,
numZoomLevels: 2
};
map = new OpenLayers.Map( 'map', options );
layer = new OpenLayers.Layer.WMS( "layers de Queretaro",
"http://172.16.23.21:8080/geoserver/wms"
<http://172.16.23.21:8080/geoserver/wms>,
'tur:LMA,local:Colonias01,local:Colonias04,local:Colonias05,local:Colonias06,local:Colonias07,local:Colonias08,local:Colonias09,local:Colonias11,local:Colonias12,local:Colonias14,local:Colonias16,local:Colonias17,lManzanas:manzanas_01,lManzanas:manzanas_02,lManzanas:manzanas_03,lManzanas:manzanas_04,lManzanas:manzanas_05,lManzanas:manzanas_06,lManzanas:manzanas_07,lManzanas:manzanas_08,lManzanas:manzanas_09,lManzanas:manzanas_10,lManzanas:manzanas_11,lManzanas:manzanas_12,lManzanas:manzanas_13,lManzanas:manzanas_14,lManzanas:manzanas_15,lManzanas:manzanas_16,lManzanas:manzanas_17,lManzanas:manzanas_18,predios:predios_01,predios:predios_02,predios:predios_03,predios:predios_04,predios:predios_05,predios:predios_06,predios:predios_07,predios:predios_08,predios:predios_09,predios:predios_10,predios:predios_11,predios:predios_12,predios:predios_13,predios:predios_14,predios:predios_15,predios:predios_16,predios:predios_17,predios:predios_18,lcalle:calles_01,lcalle:calles_02,lcall
e:calles_03,lcalle:calles_04,lcalle:calles_05,lcalle:calles_06,lcalle:calles_07,lcalle:calles_08,lcalle:calles_09,lcalle:calles_10,lcalle:calles_11,lcalle:calles_12,lcalle:calles_13,lcalle:calles_14,lcalle:calles_15,lcalle:calles_16,lcalle:calles_17,lcalle:calles_18,Construcciones:construcciones_01,Construcciones:construcciones_02,Construcciones:construcciones_03,Construcciones:construcciones_04,Construcciones:construcciones_05,Construcciones:construcciones_06,Construcciones:construcciones_07,Construcciones:construcciones_08,Construcciones:construcciones_09,Construcciones:construcciones_10,Construcciones:construcciones_11,Construcciones:construcciones_12,Construcciones:construcciones_13'}
);//,Construcciones:construcciones_14,Construcciones:construcciones_15,Construcciones:construcciones_16,Construcciones:construcciones_17,Construcciones:construcciones_18'}
);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
map.addControl( new OpenLayers.Control.Scale($('scale')));
map.addControl( new OpenLayers.Control.PanZoomBar());
}
</script>
</head>
<body onload="init()">
<h1 id="title">WMS Example</h1>
<div id="tags">
</div>
<p id="shortdesc">
Shows the basic use of openlayers using a WMS layer
</p>
<div id="map" class="bigmap"></div>
<div id="docs">
Este es mi primer Demo!!
</div>
</body>
</html>/
*//**/Arturo Juárez Lima/*
/
/
Post by Andrea Aime
Post by Arturo Juàrez
are there other tools besides of openlayers for publish the maps ?
OpenGeo uses OpenLayers exclusively, we had no such problems
as you so far. But yeah, there are others, such as the
Flamingo map components, or MapBender (just to cite the first
two that come to my mind).
Cheers
Andrea
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
<http://moblin-contest.org/redirect.php?banner_id=100&url=/>
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Loading...