I had the same problem with MapGuideMaestro 6.0m5 XML editor, so
MapGuideMaestro 6.0m8 fixed the problem.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http
I'll make a patch release of Fusion shortly to include this fix.
Though my fix will be to test for both searchStr and searchStr.test before
calling it, instead of removing that whole if block, on the extreme
off-chance that something should still be hitting down this code path.
- Jackie
--
Sen
That's a good discussion, Jackie!
I think 'test' is a method of the searchstr object that derives from
Array.prototype.find.
Testing, after Gordon's tips, on handling the versions in google api, I
noticed that the latest version is assumed whenever no version is reported
in the google api call. The
Though your problem appears to be resolved, I'm personally curious as to what
searchStr is if it is passes the typeof(searchStr) == 'function' test.
If it's trying to call .test() on it, then one would think searchStr being
passed in is a regex (RegExp) as that's the only thing I know of that you
Many thanks for your response GordonL!
It worked, and now everything makes sense: google was the problem !!!
I change as you said, and the version (v parameter) was the solution.
The google api recommends putting only the main version and letting them
choose the last released minor version for u
I get an error in the XML document (1272.25) when I replace that line
Gordan.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailm
Here's how I fixed my Google layers:
In Maestro, open your Flexible Web Layout (ApplicationDefinition)
Click Edit as XML
Scroll to the bottom
Replace the line:
http://maps.google.com/maps/api/js?sensor=false
with the following:
http://maps.google.com/maps/api/js?v=3.3&sensor=true&client=
I am pretty sure the problem is with the Google Maps API.
Remove all the Google layers and I think this solves the error.
I am looking into how to choose the older Google Map API Version so that we
can continue using Google Maps in mapguide.
--
Sent from: http://osgeo-org.1560.x6.nabble.com
Today, all off ours mapguide servers (5 different places, 2 different
versions) happened this error:
fusionSF.js:132996 Uncaught TypeError: searchStr.test is not a function
Looking at fusionSF,js i found this code:
...
Array.prototype.find = function(searchStr) {
var returnArray = null;
for