Hi all, could someone take a look at my code and let me know why I am
not able to view the soils data on my Google Map. Full site is here:
http://www.tchdgis.org/googlemaps/EHservicenplcycle.html

The relevant code is:
// Soils
tileSoil = new GTileLayer(new GCopyrightCollection(""),1,17);
tileSoil.myBaseURL = "http://SDMDataAccess.nrcs.usda.gov/Spatial/
SDM.wms?ServiceName=USDA_NRCS_WMS&";
tileSoil.getTileUrl=CustomGetTileUrl;
tileSoil.myFormat = "image/jpeg";
tileSoil.myVersion = "1.1.1"
tileSoil.myLayers = "MapunitPoly";
tileSoil.epsg = "EPSG:4326";
var Soil_layer=[tileSoil];
SOIL_MAP = new GMapType(Soil_layer, G_SATELLITE_MAP.getProjection(),
"Soils");

map.addMapType(SOIL_MAP);

I am using the wms236.js script, and the capabilities, which include
EPSG 4326 are here: 
http://sdmdataaccess.nrcs.usda.gov/Spatial/SDM.wms?request=GetCapabilities

I have tried zooming in and don't see the soils, but I can get them
like this:
http://SDMDataAccess.nrcs.usda.gov/Spatial/SDM.wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=SurveyAreaPoly,MapunitPoly&STYLES=&SRS=EPSG:4326&BBOX=-102.65253,38.18368,-102.59682,38.21139&WIDTH=600&HEIGHT=400
&FORMAT=image/gif&EXCEPTIONS=Application/VND.OGC.SE_XML

Thanks!
Lara
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to