I gather there is a limit on the number of features permitted in a
GMap2 addOverlay. Where can I find information on this limit in the
documentation? Is the feature limit the same regardless of feature
type? i.e. points, lines, polylines
For example this is an overlay from a DB Table with 5346 lines.
function LoadTest(){
map.clearOverlays();
var geoXml = new
GGeoXml( document.getElementById('linkTest').value);
GEvent.addListener(geoXml, 'load', function() {
if (geoXml.loadedCorrectly()) {
geoXml.gotoDefaultViewport(map);
document.getElementById("status").innerHTML = "";
}
});
map.addOverlay(geoXml);
document.getElementById("status").innerHTML = "Loading...";
}
document.getElementById('linkTest').value is a call to a servlet to
produce kml lines from a database table:
http://www.server.com/BRAT/servlet/GetKML?db=brat&table=gh1_v4bt&format=kml
kml produced as follows:
.
.
<Placemark>
<name>id:000001</name>
<styleUrl>#greenLine</styleUrl>
<LineString>
<altitudeMode>relative</altitudeMode>
<coordinates>
-111.92617035299597,35.154360879799874
-111.92592369254646,35.15099887948194
</coordinates>
</LineString>
</Placemark>
There is no error in the above but only a subset of the features is
shown in the map overlay. What is the workaround for larger data sets?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---