Discussion:
[mapguide-users] Problem with MobileViewer and SSL (https)
JonAg
2017-04-07 06:42:18 UTC
Permalink
Hi

I have a problem using mobileviewer (AIMS) after installing SSL certificate.
I get error on loading background maps (I use bing, but have tried google
and yahoo too). The error I get is : Failed to load script:
http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=en-us

Does anyone have a solution to this. I have tried to take out the
?baselayers and then the map opens but not with any background map

Thanks in advance
Jón Ágúst



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-MobileViewer-and-SSL-https-tp5316241.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Hans Milling
2017-04-07 07:29:03 UTC
Permalink
If your main page is running HTTPS, you need to load scripts etc. from HTTPS
also. Lucky you the virtualearth.net supports HTTPS too. Somewhere there is
a reference to the virtualearth script. just edit this to:
https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=en-us
That should work.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-MobileViewer-and-SSL-https-tp5316241p5316251.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
JonAg
2017-04-10 14:42:49 UTC
Permalink
Didn't quite work out that easily. I still get errors from scripts that are
located at virtualearth server. I managed to get the osm map instead but I
think of that as a temporary solution.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-MobileViewer-and-SSL-https-tp5316241p5316672.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

Loading...