I've also encountered this error. How can i go about debugging this
obfuscated code?

On Nov 5, 8:39 am, Nagash <[EMAIL PROTECTED]> wrote:
> I use Dynamic Loading for the maps. There follows a problem. When i
> create a custom map, javascript displays the following error (from
> FireBug):
>
> "d is 
> undefinedhttp://maps.google.com/intl/ru_ALL/mapfiles/132e/maps2.api/main.js
> Line 498."
>
> What could be the problem? (with the old calling maps there are no
> errors)
>
> code that create my custommap:
>
> var copyCollection = new
> google.maps.CopyrightCollection("");
> copyCollection.addCopyright(new google.maps.Copyright(1, new
> google.maps.LatLngBounds(new google.maps.LatLng(50, 30), new
> google.maps.LatLng(50.05, 30.05)), 0, ""));
>             var tilelayers = new Array();
>             tilelayers[0] = G_NORMAL_MAP.getTileLayers()[0];
>              tilelayers[0].getCopyright = function(a,b) {
>              return {prefix:"uarealt: ", copyrightTexts:["test"]};
>              }
>
>             tilelayers[1] = new google.maps.TileLayer(copyCollection,
> 10, 17 );
>             tilelayers[1].getTileUrl = CustomGetTileUrl;
>             tilelayers[1].getOpacity = function () {return 0.8;};
>             tilelayers[1].isPng = function() {return true;};
>
>             // Setup the options for our map layer
>             var MapTypeOptions = new Object();
>             MapTypeOptions.minResolution = 10;
>             MapTypeOptions.maxResolution = 17;
>             MapTypeOptions.errorMessage = "No map data available";
>
>             // Create our custom map layer
>             custommap = new google.maps.MapType(tilelayers, new
> google.maps.MercatorProjection(20), mapTypes.normal, MapTypeOptions);
>             custommap.getTextColor = function() {return "#000000"};
>             map.addMapType(custommap);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to