[mapguide-users] http://localhost/Default.aspx/localized/en.json when trying to add asp.net to mobileviewer

Wilson Herrera wherrera at pccadpanama.com
Sat Oct 20 18:43:14 PDT 2012


Hi Gordon.


before anything, thank you for your help.

I did changed the values for the basemaps and the mapdef as you sugested,
but the error keeps appearing.

tracing the error in firebug, and web console, i can see that this function 

var locale = mobileViewer.getQueryParam('locale');
        if(locale != null && locale.length > 0)
        {
            options.locale = locale;
        }

is searching in this url

[20:37:21.582] GET http://localhost/Default.aspx/localized/es.json [HTTP/1.1
404 Not Found 2ms]

where instead of Default.aspx, should be the name of the folder (Mobile).

i tried to modify this parameter without success, in this way:

var locale = Mobile/localized/es.json
        if(locale != null && locale.length > 0)
        {
            options.locale = locale;
        }

the POST data appears fine in the page, but this seems the only hurdle left
to overcome.





--
View this message in context: http://osgeo-org.1560.n6.nabble.com/http-localhost-Default-aspx-localized-en-json-when-trying-to-add-asp-net-to-mobileviewer-tp5009109p5010071.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list