It is hard to predict on given information why you don't see the map. Do
you have dom element with id="map", do you have width and height specified
on that element in css, do you add layers to map, do you set some view to
map (setCenter or setExtent)?

Don't you see map at all? No zoom controls etc. or just you do not see
specified layers?

regards,
Mihkel


2014-06-11 21:33 GMT+03:00 Franklin Garzón <franklin.gar...@gtskybase.com>:

> Good day community, maybe any peple can help us with this.
>
> We can't to see the map with this version, what is wrong?  (thanks for your
> help)
>
>
> map = new OpenLayers.Map("map",{
>             projection: "EPSG:900913",
>         displayProjection: "EPSG:4326",
>                 numZoomLevels: 19});
>
> var gwc = new OpenLayers.Layer.WMS(
>                 "Global Imagery",
>                 "http://maps.opengeo.org/geowebcache/service/wms";,
>                 {layers: "bluemarble"}
>             );
>
> var vmap = new OpenLayers.Layer.WMS(
>                                 "Mapa Digital",
>
> "http://www.tracklink.ec:8080/cgi-bin/tilecache.py";,
>                                 {
>                                         layers: "basic",
>                                         reaspect: false,
>                                         format: 'image/png',
>                                         transparent: true
>                                 },
>                                 {
>                                         isBaseLayer: true,
>                                         numZoomLevels: 19,
>                                         singleTile: false,
>                                         ratio: 1,
>                                         buffer: 0,
>                                         displayInLayerSwitcher:true
>                                 }
>                 )
>
> Cordialmente,
>
> Franklin Garzón
>
> _______________________________________________
> Dev mailing list
> d...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to