[OpenLayers-Users] My overview map is dark,
but work. How come it is dark?
jk.chen at sdl.usu.edu
Fri Aug 26 13:44:18 EDT 2011
I made my own map using the Map Server and client with OpenLayers. At zoom
out levels, my Overview map becomes dark, however, the box in there is
draggable. But, how come it is dark? How to fix that? Root cause?
Sorry, I'm very new to the map space. So, pardon me for the question. :-)
Here is the map file I used. Attached.
Here is the screen shot I got. Attached.
Here is the OpenLayers code used to create the map.
this.wms_basic_layer = new OpenLayers.Layer.WMS(
MAP # a Map file starts with MAP keyword
#CONFIG "MS_ERRORFILE" "c:\dev\ms_error.txt"
EXTENT -180 -90 180 90
SIZE 256 256
IMAGECOLOR 255 255 255
CONFIG "PROJ_LIB" "C:/Program Files (x86)/Apache Software
"wms_title" "WMS Server"
"wms_abstract" "Vantage WMS Server"
NAME basemap # layer name exposted to URL
EXTENT -180 -90 180 90 # cover the entire world
TILEINDEX "baseGN" # referring to shape file
TILEITEM "location" # always "location"
TYPE RASTER # it's raster image
View this message in context: http://osgeo-org.1803224.n2.nabble.com/My-overview-map-is-dark-but-work-How-come-it-is-dark-tp6729648p6729648.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users