I suppose you dont know that the GeoXml class you are using has
support for doing tiled wms handling?
make a kml...
formatted similar to this one...(it could be made with Google Earth
even)
http://www.dyasdesigns.com/geoxml/australia.kml
and load it with GeoXml... ought to work like a charm.


On Apr 21, 12:01 pm, Lara <[email protected]> wrote:
> 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=GetCapabil...
>
> 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&VERSIO...
> &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