Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8614657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:10:21+00:00 2026-06-12T05:10:21+00:00

I have used fusion tables to load multiple FusionTableLayer on google maps . But

  • 0

I have used fusion tables to load multiple FusionTableLayer on google maps . But today suddenly i found out that i was unable to load more than 5 fusiontablelayer at a time in a google map api.

The js code is

<script type="text/javascript" id="telerikClientEvents1">
        var layers = [];
        var map,jsg;
        var layerName, ctr = 0;
        jsg = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1jWdnG9b_mQP03PowydJufDpztjWo0AIipDpTjSU'
            }, suppressInfoWindows: true
        });

        function initialize() {
            var mapOptions = {
                center: new google.maps.LatLng(21.807007904182043, 83.90197012695307),
                zoom: 10,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };
            map = new google.maps.Map(document.getElementById("map_canvas"),
            mapOptions);

            // District Layer           
            jsg.setMap(map);

            google.maps.event.addListener(layers[2], 'click', show_info);
            google.maps.event.addListener(layers[3], 'click', show_info);
            google.maps.event.addListener(layers[4], 'click', show_info);

        } // End of INITIALIZE

        layers[1] = "";
        layers[2] = "";
        // Block Layer
        layers[2] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1oZafm0cmC9L5FQVHuqLHNxcH3Pw1D_rJFEGnzK0'
            }, suppressInfoWindows: true
        });
        // Gp Layer
        layers[3] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1NCtxMDVIcfDZc8bLiTT0nkVBSqwpv3mhsRJS8UM'
            }, suppressInfoWindows: true
        });
        // Village Layer
        layers[4] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '15erGSkOpR8L9HsxK25Ps4IfusUjN6996nwtC_qc'
            }, suppressInfoWindows: true
        });
        layers[6] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1RxuDmSZLf5tfcpp0SDWb_50a0dAH1ePFCggby0U',
                where: 'PROJ_TYPE = \'Micro Irrigation\''
            }, suppressInfoWindows: true
        });
        layers[7] = "";
        layers[8] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1RxuDmSZLf5tfcpp0SDWb_50a0dAH1ePFCggby0U',
                where: 'PROJ_TYPE = \'Water Conservation/Harvesting\''
            }, suppressInfoWindows: true
        });
        layers[9] = "";
        layers[10] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1RxuDmSZLf5tfcpp0SDWb_50a0dAH1ePFCggby0U',
                where: 'PROJ_TYPE = \'Renovation of Traditional Waterbodies\''
            }, suppressInfoWindows: true
        });
        layers[11] = ""
        layers[12] = new google.maps.FusionTablesLayer({
            query: {
                select: '\'geometry\'',
                from: '1RxuDmSZLf5tfcpp0SDWb_50a0dAH1ePFCggby0U',
                where: 'PROJ_TYPE = \'Construction of Building\''
            }, suppressInfoWindows: true
        });

        //<![CDATA[
        //Information Window Shown in DIV

        function show_info(layerEvt) {
            //document.getElementById('show_info_details').innerHTML = layerEvt.infoWindowHtml;
            $("#show_info_details").html(layerEvt.infoWindowHtml);
            if (ctr == 0) {
                $(".panel").show("slow");
                $(".trigger").toggleClass("active");
                ctr = 1;
            }

        }
        // Checking and unchecking the treeview checked boxes in map
        function RadTreeView1_NodeChecked(sender, args) {
            var node = args.get_node();
            var childNodes = node.get_nodes();

            if (childNodes.get_count() > 0) {
                for (var i = 0; i < childNodes.get_count(); i++) {
                    var childNode = childNodes.getNode(i);
                    childNode.select();
                    if (childNode.get_checked()) {
                        alert("checked called");
                        layers[childNode.get_value()].setMap(map);
                    }
                    else {
                        alert("Entering");
                        if (layers[childNode.get_value()] != "") {
                            alert("Unchecked called");
                            layers[childNode.get_value()].setMap(null);
                        }

                    }

                }
            }
            //checking for node checked
            else {
                if (node.get_checked()) {
                    layers[node.get_value()].setMap(map);
                }

                else {
                    layers[node.get_value()].setMap(null);
                }
            }
        }
        //]]>
    </script>

And the tree view code is

<asp:Panel ID="Panel1" runat="server" Height="410px">
                <telerik:RadTreeView ID="RadTreeView1" Runat="server" CheckBoxes="True" CheckChildNodes="True" 
                    ShowLineImages="False" Skin="Transparent" TriStateCheckBoxes="False" 
                    onclientnodechecked="RadTreeView1_NodeChecked">
                    <Nodes>
                        <telerik:RadTreeNode runat="server" Text="Administartive Boundaries">
                            <Nodes>
                                <telerik:RadTreeNode runat="server" Text="District" Value="1" Checkable="False">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Block" Value="2">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="GP" Value="3">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Village" Value="4">
                                </telerik:RadTreeNode>
                            </Nodes>
                        </telerik:RadTreeNode>
                        <telerik:RadTreeNode runat="server" Text="Schemes">
                            <Nodes>
                                <telerik:RadTreeNode runat="server" Text="Micro Irrigation" Value="6">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Flood Control" Value="7" Checkable="False">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Water Conservation/Harvesting" Value="8">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Drought ?" Value="9" Checkable="False">
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Renovation of Traditional Waterbodies" Value="10" >
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="nOTHING" Value="11" Checkable="false" >
                                </telerik:RadTreeNode>
                                <telerik:RadTreeNode runat="server" Text="Construction of Building" Value="12" >
                                </telerik:RadTreeNode>
                            </Nodes>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeView>
            </asp:Panel>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:10:22+00:00Added an answer on June 12, 2026 at 5:10 am

    “Limits

    You can use the Maps API to add up to five Fusion Tables layers to a map, one of which can be styled with up to five styling rules.”

    https://developers.google.com/maps/documentation/javascript/layers#FusionTables

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have used google maps dozens of times but cannot get around this one. Doing
Hi I am using google fusion tables and google maps, the thing is that
I have used a plugin that uses prototype js, it's working fine but the
I have used the silverlight control in CRM 2011.It also published on form but
We have used Shibboleth to authenticate users. It works great. The issue is that
I have used some jquery components in my web site, Suddenly i'm getting an
I have used NSSets many times in my apps, but I have never created
I have used auto complete textbox previously. That auto complete works only when i
I have used this code (kind of tutorial) at http://code.google.com/p/gwt-examples/wiki/gwt_hmtl5 ... In this code,
I have used geocoder in my ruby on rails application for a while but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.