[mapguide-users] Commercial Map Service Help

LLEUNDD nuell at nicholsenvironmental.com
Wed Jun 2 13:38:12 EDT 2010


Hi Listers - 

I have followed the instructions to add google maps to my fusion layout
here: http://trac.osgeo.org/fusion/wiki/MapGuideCommercialOverlays

I have updated the index.html page to reflect the google maps key script as
outlined in step 1.

I have updated the coordinate system through maestro as outlined in step 2.

For Step 3 - I have the applicationdefinition file as follows:

  <MapSet xsi:type="MapSetType">
    <MapGroup id="googleBase">
    <Map>
         <Type>Google</Type>
         <Extension>
              <ResourceId>google</ResourceId>
         </Extension>
    </Map>
	<Map>
         <Type>MapGuide</Type>
         <SingleTile>true</SingleTile>
         <Extension>
              <Options>
                   <isBaseLayer>false</isBaseLayer>
                   <useOverlay>true</useOverlay>
                   <projection>EPSG:900913</projection>
              </Options>
             
<ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan-m.MapDefinition</ResourceId>
         </Extension>
    </Map>
	</MapGroup>
  </MapSet>

When I attempt to load the index.html file as the final step, Nothing loads
and I get the following error:

'maps' is null or not an object
Map.js
Code: 0
URI: http://xyz.com:8000/mapguide/fusion/lib/Map.js
Line: 220
Char: 23

I have followed the steps precisely multiple times and keep getting the same
error.  Others have had success with this.  Can anyone lend a helping hand?

Cheers!
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Commercial-Map-Service-Help-tp5131790p5131790.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list