[mapguide-users] mapguide with google map

bjoseph82 brendajoseph82 at gmail.com
Thu Mar 31 09:37:52 EDT 2011


Dear All,

i try very hard to figure out where i am wrong. i follow all the tutorial
regarding to embedd google map with my mapguide map.

i create the index.html like this:-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">


Sample Fusion Application



 







    #Statusbar .spanCursorPosition,
    #Statusbar .inputEditableScalePrefix,
    #Statusbar .inputEditableScale,
    #Statusbar .spanViewSize,
    #Statusbar .spanSelectionInfo {
        background-color: #fff;
        padding: 2px 4px;
        line-height: 18px;
        font-size: 11px;
        font-family: Arial, Helvetica, sans-serif;
    }



and my applicationdefinition.xml like this:-

<?xml version="1.0" encoding="UTF-8"?>




  
      Google  google  G_PHYSICAL_MAP    
  MapGuide true   false true EPSG:900913 
Library://Samples/Sheboygan/Maps/Sheboygan-m.MapDefinition   

 

  


when i run, it was blank and error come out, like this:-

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 31 Mar 2011 13:36:10 UTC


Message: 'maps' is null or not an object
Line: 289
Char: 23
Code: 0
URI: http://localhost:8008/mapguide/fusion/lib/Map.js

your help is very much appreciated.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/mapguide-with-google-map-tp6227030p6227030.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list