Hi, this is my first post here.
I played with Google maps trying to make a list of campsites in France.
I have a point of reading an XML data file Loading a map and grouping the results, and it all works , but very slowly.
Q1 Is there a limit on the number of tokens that you can display even with a cluster (currently> 7000 entries exist)
Q2 Is there something clearly wrong in the code that I still have:
<!DOCTYPE html> <html> <head> <title>Read XML in Microsoft Browsers</title> <script src="http://maps.google.com/maps/api/js?sensor=false&language=en®ion=GB" type="text/javascript"></script> <script src="scripts/markerclusterer.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="stylesheets/style_1024.css" /> <script type="text/javascript"> var xmlDoc; function loadxml() { xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = readXML; xmlDoc.load("xml_files/France_all.xml"); } function readXML() { if (xmlDoc.readyState == 4) { </script> </head> <body onload="loadxml()"> <div style="height:100%; width:100%"> <div id="map" style="float:left; width:50%; height:100%"> </div> <div style="float:left; width:50%; height:100%"> <h4>Select Region</h4> <select> <option value="Alsace" onclick="loadxml()">Alsace</option> </select> </div> </div> </body> </html>
source share