Re: [mapguide-users] New test build of Fusion

2018-10-01 Thread Jackie Ng
Hi All, Just another small update regarding Google Maps in Fusion. I have walked back on removing the ability to load Google Maps script fully client-side, because I came to the realisation that we can actually do this in a manner that is considered safe by the current crop of browsers: By

Re: [mapguide-users] New test build of Fusion

2018-09-17 Thread GordonL
This new build of Fusion is great: If you want to add Google to any map just add it as an XYZ layer: http://mt0.google.com/vt/lyrs=m=${x}=${y}=${z} -- Sent from:

Re: [mapguide-users] New test build of Fusion

2018-08-30 Thread Kajar
Ok now its clear that Fusion 3.1.2 does not support index.html(with and without Google Maps) anymore at least for me. But Fusion build 3.1.1 with Google patch should work through index.html? Kajar -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

Re: [mapguide-users] New test build of Fusion

2018-08-30 Thread Jackie Ng
Studio is probably making the assumption that Fusion template URLs would never have query string parameters as a part of the URL, so it blindly appends "?ApplicationDefinition..." to it when generating a preview URL. Maestro (6.0m10) is smart enough to not do this. The new test build purposefully

Re: [mapguide-users] New test build of Fusion

2018-08-30 Thread Kajar
Yes "&" did the trick when using index.php and I got Google basemap also working with it. Actually Studio creates ? instead of &. But what about the old index.html, this should also work with latest test fusion:

Re: [mapguide-users] New test build of Fusion

2018-08-29 Thread Jackie Ng
Look carefully. You have ... index.php?template=slate?ApplicationDefinition= ... It's ... index.php?template=slate= ... - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list

Re: [mapguide-users] New test build of Fusion

2018-08-29 Thread Kajar
But why layouts not working anymore in browser? I have set 3 different mapguide servers, but layouts not working. My url is:http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition=en I

Re: [mapguide-users] New test build of Fusion

2018-08-29 Thread Jackie Ng
Just an extra clarification on this behaviour from Maestro. Maestro 6.0m10 will use this new Google Maps URL if the GoogleScript element doesn't exist. Otherwise it tries to append the API key to the URL specified in your existing GoogleScript element (and retain its bad URL). This is probably

Re: [mapguide-users] New test build of Fusion

2018-08-28 Thread Kajar
Actually I was to hurry when I said that test build is working for me, after clearing browsing data its not working anymore. Not working means that I will get template blank page without any map layers and no any fusion errors. Only info I will get from Chrome Dev tool is : [Deprecation]

Re: [mapguide-users] New test build of Fusion

2018-08-28 Thread Kajar
Now I was able to get this test build working, but now I have truble using Google maps. I tried to set APi key using latest Maestro and also with Studio 2017. Error I'm getting: Error Details: Uncaught TypeError: a.test is not a function Stack Trace: - ? at

Re: [mapguide-users] New test build of Fusion

2018-08-27 Thread Jackie Ng
Do you have an example appdef (you can replace your map defs inside with Sheboygan or something and redact any Bing/Google API keys)? - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing

Re: [mapguide-users] New test build of Fusion

2018-08-27 Thread Kajar
When I try to update current version of fusion(latest mapguide 3.1.1) to the leatest test version then my previously created layouts refuse to work. What I did: download new fusion and replaced the old fusion folder under Mapguide install. After server restart I'm not able to view prviously

Re: [mapguide-users] New test build of Fusion

2018-08-23 Thread kparker
I've enabled billing on our Google Account and am able to view the street base maps on this server. It is only street view that is giving issues. See here: https://imgur.com/tQSyPY8 -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

Re: [mapguide-users] New test build of Fusion

2018-08-22 Thread Jackie Ng
Google wants you to cough up your billing information for your maps API key. - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

Re: [mapguide-users] New test build of Fusion

2018-08-21 Thread kparker
After updating to the latest build of fusion, I was able to get Google base maps working again. Street View seems to not be working (either displaying a "Development Build" only, or leaving the image with a black censor covering the top 90% of the screen). I've tried adding the google maps API

Re: [mapguide-users] New test build of Fusion

2018-08-21 Thread GordonL
Fantastic fix. After registering with Google API I was still getting errors. But changing that line from: if (typeof(searchStr) == 'function') { to if (typeof(searchStr) == 'function' && typeof(searchStr.test) == 'function') { works for me. -- Sent from:

Re: [mapguide-users] New test build of Fusion

2018-08-20 Thread Jackie Ng
The fusion that comes with MGOS 3.0 will not support bing maps (with API key). You need to install the post-3.0 build of Fusion that supports bing maps: http://download.osgeo.org/mapguide/fusion/fusion-3.0.1.zip Relevant thread was here:

Re: [mapguide-users] New test build of Fusion

2018-08-18 Thread BMason
Jackie, I tried using Maestro 6.0m10 with a new BING Maps api. I am using Mapguide 3.0. I am getting this fusion error: Error Details: Uncaught ReferenceError: VEMapStyle is not defined Stack Trace: - ? at http://cmnmaps.ca/mapguide/fusion/lib/fusionSF-compressed.js (line: 3026) Source:

Re: [mapguide-users] New test build of Fusion

2018-08-17 Thread Jackie Ng
You just have to use this script URL as I have already mentioned (and that Maestro 6.0m10 will insert by default): https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY And presuming you've have enabled billing on your API key thing should work. I'm just saying that I, having not enabled

Re: [mapguide-users] New test build of Fusion

2018-08-17 Thread BMason
Hi Jackie, high quality imagery is really important for most of our environmental applications. I have secured a google map api but now I understand that it will not work with mapguide 3.0. Upgrading mapguide would take a lot of effort unfortunately. As an alternative, is it possible to use

Re: [mapguide-users] New test build of Fusion

2018-08-17 Thread Jackie Ng
Maestro 6.0m10 inserts this string for Google Maps https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY And when I try the test build with this URL, I only get warnings about "This page cannot load Google Maps correctly" and watermarked tiles, presumably because Google is browbeating me to

Re: [mapguide-users] New test build of Fusion

2018-08-17 Thread Sebastiao Francisco Rodrigues
Hello, people! The problem came back because of Google! They do not pity us When you call the google map api you can establish a version that you want. In this way we understood that as Mapguide worked in version 3.31, we were guaranteed forever ... Well, here is a song that says that

Re: [mapguide-users] New test build of Fusion

2018-08-16 Thread BMason
Sorry Jackie I am still unsure about what action to take. 4 months ago we had the same problem and it was resolved by using this string in the xml editor: http://maps.google.com/maps/api/js?v=3.3sensor=trueclient= Today, if we remove all google map layers and just use open layers, we have no

Re: [mapguide-users] New test build of Fusion

2018-08-16 Thread Jackie Ng
That is an already solved problem (a bad Array.find polyfill) from 4 months ago: http://osgeo-org.1560.x6.nabble.com/fusion-error-searchStr-test-is-not-a-function-td5360383.html With the new test build, you can tack on debug=1 in the query string to not get minified stack traces from

Re: [mapguide-users] New test build of Fusion

2018-08-15 Thread BMason
Hi Jackie, we just started getting fusion errors a couple of days ago and I think it is because of the google api issue again. You can see the errors with this atlas: cmnmaps.ca/riversheds. Do you think your new version of fusion will fix this? Is it safe to use in our production environment?