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

GordonL gordon.luckett at arrowgeomatics.com
Fri Oct 19 14:18:15 PDT 2012


The getQueryParam is a custom function in the mobileviewer that parses the
GET statement and checks for &map= or &baselayers=

In the your Default.aspx rather than
 baseLayers = mobileViewer.getQueryParam('baselayers');
why not hard code
 baseLayers = "google"; 

Also, for:
 var mapDef = mobileViewer.getQueryParam('map');

have 

 var mapDef = <%= myPostedMapValue %>;



Just look through the code for mobileViewer.getQueryParam('something');
and replace it with your POSTed data,

gordon




--
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-tp5009109p5009973.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list