My favorites | Sign in
Project Home Downloads Wiki Issues Source
Details: Show all Hide all

Earlier this year

  • Jan 19, 2012
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by jayru...@gmail.com   -   OK so I thought I had this but it looks like not. I want to have all my check boxes cleared by default. I used the visibility 0 tag in my KML but it looks like this does not uncheck the child boxes. Is that by design? While none of the elements are visible with the parent unchecked, will there be some background issues with the child checked? How do I get all unchecked, will I have to do the visibility 0 for all the childern too? Thanks, and I love the project!
    OK so I thought I had this but it looks like not. I want to have all my check boxes cleared by default. I used the visibility 0 tag in my KML but it looks like this does not uncheck the child boxes. Is that by design? While none of the elements are visible with the parent unchecked, will there be some background issues with the child checked? How do I get all unchecked, will I have to do the visibility 0 for all the childern too? Thanks, and I love the project!
  • Jan 19, 2012
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by jayru...@gmail.com   -   Hi I Love this project! This is the best of the three trees for KML that I have experimented with so far. However, and this might be my lack of experience with Java coding, I cannot figure out how to control the check boxes from script. I want to have all the check boxes off by default when the page is loaded, or be able to control the boxes independently of each other. My KMLs are rather large, many and filled with polygons and if I have them all loaded in the on state things take too long. Sorry if this was the wrong place to post, but UsageTips seemed a good place. Thanks, Jay
    Hi I Love this project! This is the best of the three trees for KML that I have experimented with so far. However, and this might be my lack of experience with Java coding, I cannot figure out how to control the check boxes from script. I want to have all the check boxes off by default when the page is loaded, or be able to control the boxes independently of each other. My KMLs are rather large, many and filled with polygons and if I have them all loaded in the on state things take too long. Sorry if this was the wrong place to post, but UsageTips seemed a good place. Thanks, Jay

Older

  • Dec 22, 2011
    issue 43 (Function returns all kmlObjects belonging to a tree) reported by graegra...@gmail.com   -   Would be highly useful to be able to get an array of all the kmlObjects (or at least the ones in the first layer) to perform actions such as setting visibility etc.
    Would be highly useful to be able to get an array of all the kmlObjects (or at least the ones in the first layer) to perform actions such as setting visibility etc.
  • Dec 08, 2011
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by brian.gu...@gmail.com   -   Hello, I just tried using this and i get an alert saying it only works with ge pluging >= 1.005. We are currently using 1.004 and i cannot upgrade. Can i have access to earlier releases that work with 1.004? Thanks, Brian
    Hello, I just tried using this and i get an alert saying it only works with ge pluging >= 1.005. We are currently using 1.004 and i cannot upgrade. Can i have access to earlier releases that work with 1.004? Thanks, Brian
  • Oct 12, 2011
    issue 42 (Freeze on FireFox 5.0.1) commented on by desmow...@gmail.com   -   I have the same problem on windows 7 and firefox 7.0.1, in Chrome it worked fine.
    I have the same problem on windows 7 and firefox 7.0.1, in Chrome it worked fine.
  • Aug 11, 2011
    issue 33 (KML refresh example error) commented on by underbluewaters   -   I'm super swamped these days with work on my other projects, which don't use the Google Earth API so I will be delayed a while in working on something like this. It's on my radar, but I would definitely encourage trying to modify the code and fix the bug yourself and I can merge a patch. Instructions on how to build kmltree after modifying the source can be found here: http://code.google.com/p/kmltree/wiki/DeveloperDocs
    I'm super swamped these days with work on my other projects, which don't use the Google Earth API so I will be delayed a while in working on something like this. It's on my radar, but I would definitely encourage trying to modify the code and fix the bug yourself and I can merge a patch. Instructions on how to build kmltree after modifying the source can be found here: http://code.google.com/p/kmltree/wiki/DeveloperDocs
  • Aug 08, 2011
    issue 33 (KML refresh example error) commented on by heam...@gmail.com   -   I am also affected by this bug, I'm currently using kmltree, When this bug is solved I will add it to the web app I'm working on. As you will see I'm loading the kml files directly with the traditional API. If I can contribute with this bug, just let me know. Follow this link to observe: http://www.conservaciondesuelos.com/Productores/TrabajosDestacados
    I am also affected by this bug, I'm currently using kmltree, When this bug is solved I will add it to the web app I'm working on. As you will see I'm loading the kml files directly with the traditional API. If I can contribute with this bug, just let me know. Follow this link to observe: http://www.conservaciondesuelos.com/Productores/TrabajosDestacados
  • Jul 25, 2011
    issue 42 (Freeze on FireFox 5.0.1) Status changed by underbluewaters   -   I see what you're saying now. I assumed the bug was at load time. This looks to be a Google Earth API problem, not a kmltree problem. If you try the google example here with that file it crashes after some time too: http://kml-samples.googlecode.com/svn/trunk/interactive/index.html#./Network_Links/Network_Links.Fly-to-View.kml I'd recommend listing it on the Google Earth API bug tracker.
    Status: Invalid
    I see what you're saying now. I assumed the bug was at load time. This looks to be a Google Earth API problem, not a kmltree problem. If you try the google example here with that file it crashes after some time too: http://kml-samples.googlecode.com/svn/trunk/interactive/index.html#./Network_Links/Network_Links.Fly-to-View.kml I'd recommend listing it on the Google Earth API bug tracker.
    Status: Invalid
  • Jul 25, 2011
    issue 42 (Freeze on FireFox 5.0.1) commented on by cidneyc...@gmail.com   -   When you have time, can you try a little longer, click on few more points? Firefox 5.0.1 freezes after a few clicks or sometime after more clicks. (Note, it works fine with Firefox 3.6, there were no freeze issues with 3.6 under XP Pro). I try kmltree with different KML/KMZ files, only firefox 5.0.1 has this problem. Thanks! Good work with kmltree, this is a nice extension.
    When you have time, can you try a little longer, click on few more points? Firefox 5.0.1 freezes after a few clicks or sometime after more clicks. (Note, it works fine with Firefox 3.6, there were no freeze issues with 3.6 under XP Pro). I try kmltree with different KML/KMZ files, only firefox 5.0.1 has this problem. Thanks! Good work with kmltree, this is a nice extension.
  • Jul 25, 2011
    issue 42 (Freeze on FireFox 5.0.1) commented on by underbluewaters   -   I just tried this file on Firefox 5.0.1 on OS X and Windows 7 and it worked fine. I'm not sure about XP though.
    I just tried this file on Firefox 5.0.1 on OS X and Windows 7 and it worked fine. I'm not sure about XP though.
  • Jul 25, 2011
    issue 42 (Freeze on FireFox 5.0.1) reported by cidneyc...@gmail.com   -   What steps will reproduce the problem? 1.http://kmltree.googlecode.com/hg/examples/refresh.html 2.Load my attached KML file into the Submit Query Box 3.Click on a few icons and FireFox 5.0.1 will freeze, later, an error message will display The Google Earth Plugin had an internal error. What is the expected output? What do you see instead? Don't freeze. Works in Google Chrome, but with the infobubble flicks from time to time. What version of the product are you using? On what operating system? Firefox 5.0.1 on XP professional Please provide any additional information below. you can email me anytime at cid_chiu@dot.ca.gov Thank you!
    What steps will reproduce the problem? 1.http://kmltree.googlecode.com/hg/examples/refresh.html 2.Load my attached KML file into the Submit Query Box 3.Click on a few icons and FireFox 5.0.1 will freeze, later, an error message will display The Google Earth Plugin had an internal error. What is the expected output? What do you see instead? Don't freeze. Works in Google Chrome, but with the infobubble flicks from time to time. What version of the product are you using? On what operating system? Firefox 5.0.1 on XP professional Please provide any additional information below. you can email me anytime at cid_chiu@dot.ca.gov Thank you!
  • May 27, 2011
    Revision 3577fc7bd1 (Improved error handling when encountering an error parsing t...) pushed by underbluewaters   -   Improved error handling when encountering an error parsing the contents of networklinks that are opened on startup
    Improved error handling when encountering an error parsing the contents of networklinks that are opened on startup
  • May 12, 2011
    Revision d0458cf81e (Forgot some console.log statements in there) pushed by underbluewaters   -   Forgot some console.log statements in there
    Forgot some console.log statements in there
  • May 12, 2011
    Revision 1d3e04c266 (Made selection of features from the map more robust) pushed by underbluewaters   -   Made selection of features from the map more robust
    Made selection of features from the map more robust
  • May 06, 2011
    issue 41 (Allow for refreshing of a single networklink) reported by underbluewaters   -   This way applications can refresh particular nodes in the tree without disrupting users by causing the whole tree to freeze up while awaiting refresh.
    This way applications can refresh particular nodes in the tree without disrupting users by causing the whole tree to freeze up while awaiting refresh.
  • May 05, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by underbluewaters   -   Not sure how to deal with that, other than optimizing the kml. I'll leave this ticket open to implement the fix on the tree-side though.
    Not sure how to deal with that, other than optimizing the kml. I'll leave this ticket open to implement the fix on the tree-side though.
  • May 05, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by jpserc...@gmail.com   -   Bad performance, yes. Crashing, no. These are some really large files--the desktop client performs badly, but handles it, we're just running into a lot more limits with the plugin.
    Bad performance, yes. Crashing, no. These are some really large files--the desktop client performs badly, but handles it, we're just running into a lot more limits with the plugin.
  • May 05, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by underbluewaters   -   I can't think of a way to limit this on the map side. Are you getting the same bad performance in the Google Earth desktop client? I don't think there should be an appreciable difference between the two.
    I can't think of a way to limit this on the map side. Are you getting the same bad performance in the Google Earth desktop client? I don't think there should be an appreciable difference between the two.
  • May 05, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by jpserc...@gmail.com   -   So just something simple here for experimenting I'm trying a limit of 100 children, just wrapping line 298 in an if statement. http://code.google.com/p/kmltree/source/browse/src/kmltree.js#298 if (parent.children.length < 100) { parent.children.push(child); } That works, but keeping them out of the tree does not solve the plugin instability with large numbers. You mentioned that kmltree just adds the root kml--but can you think of an approach to put a similar limit on what is added to the map? Thanks for your help on this!
    So just something simple here for experimenting I'm trying a limit of 100 children, just wrapping line 298 in an if statement. http://code.google.com/p/kmltree/source/browse/src/kmltree.js#298 if (parent.children.length < 100) { parent.children.push(child); } That works, but keeping them out of the tree does not solve the plugin instability with large numbers. You mentioned that kmltree just adds the root kml--but can you think of an approach to put a similar limit on what is added to the map? Thanks for your help on this!
  • May 05, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by jpserc...@gmail.com   -   Ok, I see. Yes, I'm talking about nested network links that are not open, not visible. It seems that it's not until you expand them that they're fetched.
    Ok, I see. Yes, I'm talking about nested network links that are not open, not visible. It seems that it's not until you expand them that they're fetched.
  • May 03, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by underbluewaters   -   Even when a new networklink is expanded that dom walk function is always called. I'm not quite sure what you mean about "network links that aren't fetched until opened". A call to load one kml file that links to many nested networklinks will still end up loading all those features onto the map view as long as their visibility is already toggled. The reason for the NetworkLinkQueues is to fetch the networklink's content outside of the Earth API since it doesn't expose DOM methods for accessing the already loaded networklink contents.
    Even when a new networklink is expanded that dom walk function is always called. I'm not quite sure what you mean about "network links that aren't fetched until opened". A call to load one kml file that links to many nested networklinks will still end up loading all those features onto the map view as long as their visibility is already toggled. The reason for the NetworkLinkQueues is to fetch the networklink's content outside of the Earth API since it doesn't expose DOM methods for accessing the already loaded networklink contents.
  • May 03, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by jpserc...@gmail.com   -   But what about network links that aren't fetched until opened? Is that section not just for the initial load? I figured it would need to be something around http://code.google.com/p/kmltree/source/browse/src/kmltree.js#35 I just can't seem to get any counts working.
    But what about network links that aren't fetched until opened? Is that section not just for the initial load? I figured it would need to be something around http://code.google.com/p/kmltree/source/browse/src/kmltree.js#35 I just can't seem to get any counts working.
  • May 03, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by underbluewaters   -   That is a great idea. Because it's non-standard behavior, I'm thinking the way this might work is that the folder is un-expanded, regardless of whether the kml open tag is set or if an open state is being restored from a previous session. The user should be able to expand it, but not before confirming via a standard javascript confirm window that states the problem with rendering an extreme number of nodes. Implementation-wise, this counting could be accomplished via a property added to the context object as the dom is being walked: http://code.google.com/p/kmltree/source/browse/src/kmltree.js#252 kmltree doesn't add each item in the dom manually, just the root kml. So nearly everything you see in the code is geared towards building the tree.
    That is a great idea. Because it's non-standard behavior, I'm thinking the way this might work is that the folder is un-expanded, regardless of whether the kml open tag is set or if an open state is being restored from a previous session. The user should be able to expand it, but not before confirming via a standard javascript confirm window that states the problem with rendering an extreme number of nodes. Implementation-wise, this counting could be accomplished via a property added to the context object as the dom is being walked: http://code.google.com/p/kmltree/source/browse/src/kmltree.js#252 kmltree doesn't add each item in the dom manually, just the root kml. So nearly everything you see in the code is geared towards building the tree.
  • May 03, 2011
    issue 35 (Refuse to expand Folders or NetworkLinks with an extreme num...) commented on by jpserc...@gmail.com   -   As a workaround, is there a way we can restrict the number of elements from a network link as they are being added to the tree? As an example, can we say no more than 50 NL children and keep count as they're added, stopping when we hit 50? In the project I'm working on, it seems the map can handle pretty extreme numbers (albeit slowly), it's just adding them to the tree that causes trouble. I'm looking in the code, but haven't found the distinction between adding to the map, and adding to the tree dom. Any ideas?
    As a workaround, is there a way we can restrict the number of elements from a network link as they are being added to the tree? As an example, can we say no more than 50 NL children and keep count as they're added, stopping when we hit 50? In the project I'm working on, it seems the map can handle pretty extreme numbers (albeit slowly), it's just adding them to the tree that causes trouble. I'm looking in the code, but haven't found the distinction between adding to the map, and adding to the tree dom. Any ideas?
  • May 03, 2011
    Revision 5f334112ab (Fixed user-select rules when working with newer version of s...) pushed by underbluewaters   -   Fixed user-select rules when working with newer version of sass
    Fixed user-select rules when working with newer version of sass
  • May 02, 2011
    2 new revisions pushed by underbluewaters   -   c0cd427c4a:Made compatible with syntax in newer version of SASS 9158687672:Adding some protected apis for getting at original networklinks that were expanded
    c0cd427c4a:Made compatible with syntax in newer version of SASS 9158687672:Adding some protected apis for getting at original networklinks that were expanded
  • Apr 14, 2011
    issue 40 (non-placemark items without descriptions should not open pop...) Status changed by underbluewaters   -   This issue was closed by revision dccbb019e26c.
    Status: Fixed
    This issue was closed by revision dccbb019e26c.
    Status: Fixed
  • Apr 14, 2011
    Revision dccbb019e2 (Fixes issue 40) pushed by underbluewaters   -   Fixes issue 40
  • Apr 14, 2011
    Revision 1b522d1bd1 (Fixed bug where features within a networklink, after a refre...) pushed by underbluewaters   -   Fixed bug where features within a networklink, after a refresh of the entire tree, could not be selected from the map
    Fixed bug where features within a networklink, after a refresh of the entire tree, could not be selected from the map
  • Apr 07, 2011
    issue 40 (non-placemark items without descriptions should not open pop...) reported by underbluewaters   -   It's confusing
    It's confusing
  • Apr 06, 2011
    issue 39 (folder breadcrumb issue) reported by underbluewaters   -   What steps will reproduce the problem? Select a feature from the map that is within an expanded folder that is within a collapsed folder. Expand the first folder, and the second folder will still have the breadcrumb style active. -- Closed Folder -- Open Folder -- Selected Feature
    What steps will reproduce the problem? Select a feature from the map that is within an expanded folder that is within a collapsed folder. Expand the first folder, and the second folder will still have the breadcrumb style active. -- Closed Folder -- Open Folder -- Selected Feature
  • Mar 30, 2011
    issue 38 (bug in itemicon support) reported by underbluewaters   -   1) When you try to specify multiple ItemIcons associated with different states (open, closed, error, fetching0, fetching1, and fetching2), kmltree tries to concatenate all the urls resulting in an invalid image URL.
    1) When you try to specify multiple ItemIcons associated with different states (open, closed, error, fetching0, fetching1, and fetching2), kmltree tries to concatenate all the urls resulting in an invalid image URL.
  • Mar 02, 2011
    Revision 676506bd62
    (Add fallback for ownsUrl method in case a tree can't load it...)




    pushed by underbluewaters
  • Mar 02, 2011
    Revision 676506bd62
    (Add fallback for ownsUrl method in case a tree can't load it...)




    pushed by underbluewaters
  • Mar 02, 2011
    issue 37 (displayEnhancedContent seems to require IDs on feature if th...) reported by underbluewaters   -   displayEnhancedContent seems to require IDs on feature if they are loaded via a networklink
    displayEnhancedContent seems to require IDs on feature if they are loaded via a networklink
  • Mar 02, 2011
    issue 37 (displayEnhancedContent seems to require IDs on feature if th...) reported by underbluewaters   -   displayEnhancedContent seems to require IDs on feature if they are loaded via a networklink
    displayEnhancedContent seems to require IDs on feature if they are loaded via a networklink
  • Mar 02, 2011
    issue 33 (KML refresh example error) commented on by jimmys.e...@gmail.com   -   Any Status on this?
    Any Status on this?
  • Mar 02, 2011
    issue 33 (KML refresh example error) commented on by jimmys.e...@gmail.com   -   Any Status on this?
    Any Status on this?
  • Feb 17, 2011
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by underbluewaters   -   Hi Clay, I'm sort of at a loss about these sort of issues since I'm not familiar with these sorts of methods to secure content. It would be helpful to know more about what "inaccessible after the window loses focus" means. Does the earth plugin interface stop responding to mouse interaction, or does the data disappear from the map? Please email me directly at chad@underbluewaters.net
    Hi Clay, I'm sort of at a loss about these sort of issues since I'm not familiar with these sorts of methods to secure content. It would be helpful to know more about what "inaccessible after the window loses focus" means. Does the earth plugin interface stop responding to mouse interaction, or does the data disappear from the map? Please email me directly at chad@underbluewaters.net
  • Feb 17, 2011
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by underbluewaters   -   Hi Clay, I'm sort of at a loss about these sort of issues since I'm not familiar with these sorts of methods to secure content. It would be helpful to know more about what "inaccessible after the window loses focus" means. Does the earth plugin interface stop responding to mouse interaction, or does the data disappear from the map? Please email me directly at chad@underbluewaters.net
    Hi Clay, I'm sort of at a loss about these sort of issues since I'm not familiar with these sorts of methods to secure content. It would be helpful to know more about what "inaccessible after the window loses focus" means. Does the earth plugin interface stop responding to mouse interaction, or does the data disappear from the map? Please email me directly at chad@underbluewaters.net
  • Feb 17, 2011
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by clay.all...@us.army.mil   -   Accessing Protected Content. We have developed a useful application for the MD National Guard Common Operating Picture with KML tree. The one KML file (and subsequent network folders) are smart card enabled. It loads fine but it becomes "inaccessible after the window loses focus." Any documentation on Option2 would be helpful. Or any other work arounds. clay.allison@us.army.mil
    Accessing Protected Content. We have developed a useful application for the MD National Guard Common Operating Picture with KML tree. The one KML file (and subsequent network folders) are smart card enabled. It loads fine but it becomes "inaccessible after the window loses focus." Any documentation on Option2 would be helpful. Or any other work arounds. clay.allison@us.army.mil
  • Feb 17, 2011
    UsageTips (Tips for using kmltree and authoring kml for use with it) Wiki page commented on by clay.all...@us.army.mil   -   Accessing Protected Content. We have developed a useful application for the MD National Guard Common Operating Picture with KML tree. The one KML file (and subsequent network folders) are smart card enabled. It loads fine but it becomes "inaccessible after the window loses focus." Any documentation on Option2 would be helpful. Or any other work arounds. clay.allison@us.army.mil
    Accessing Protected Content. We have developed a useful application for the MD National Guard Common Operating Picture with KML tree. The one KML file (and subsequent network folders) are smart card enabled. It loads fine but it becomes "inaccessible after the window loses focus." Any documentation on Option2 would be helpful. Or any other work arounds. clay.allison@us.army.mil
  • Feb 16, 2011
    issue 34 (Handling large poorly written KML files) changed by underbluewaters   -   Hi Walt, Setting the open tag that way would be a little slow. It should be pretty easy to patch an option to avoid opening them in the first place though. I haven't tested this at all yet, but I'll incorporate it in the next release: http://code.google.com/p/kmltree/issues/detail?id=36 If you're comfortable compiling kmltree, the patch in the attached image should work. I'm going to close this issue now since it's split into a couple new ones.
    Status: Duplicate
    Hi Walt, Setting the open tag that way would be a little slow. It should be pretty easy to patch an option to avoid opening them in the first place though. I haven't tested this at all yet, but I'll incorporate it in the next release: http://code.google.com/p/kmltree/issues/detail?id=36 If you're comfortable compiling kmltree, the patch in the attached image should work. I'm going to close this issue now since it's split into a couple new ones.
    Status: Duplicate
  • Feb 16, 2011
    issue 36 (add respectsOpenTag option) commented on by underbluewaters   -   Issue 34 has been merged into this issue.
    Issue 34 has been merged into this issue.
  • Feb 16, 2011
    issue 34 (Handling large poorly written KML files) changed by underbluewaters   -   Hi Walt, Setting the open tag that way would be a little slow. It should be pretty easy to patch an option to avoid opening them in the first place though. I haven't tested this at all yet, but I'll incorporate it in the next release: http://code.google.com/p/kmltree/issues/detail?id=36 If you're comfortable compiling kmltree, the patch in the attached image should work. I'm going to close this issue now since it's split into a couple new ones.
    Status: Duplicate
    Hi Walt, Setting the open tag that way would be a little slow. It should be pretty easy to patch an option to avoid opening them in the first place though. I haven't tested this at all yet, but I'll incorporate it in the next release: http://code.google.com/p/kmltree/issues/detail?id=36 If you're comfortable compiling kmltree, the patch in the attached image should work. I'm going to close this issue now since it's split into a couple new ones.
    Status: Duplicate
  • Feb 16, 2011
    issue 36 (add respectsOpenTag option) commented on by underbluewaters   -   Issue 34 has been merged into this issue.
    Issue 34 has been merged into this issue.
  • Feb 16, 2011
    issue 36 (add respectsOpenTag option) reported by underbluewaters   -   Defaults to true. When set to false, kmltree will not automatically open Folders and NetworkLinks based on open tags set in the source kml.
    Defaults to true. When set to false, kmltree will not automatically open Folders and NetworkLinks based on open tags set in the source kml.
  • Feb 16, 2011
    issue 36 (add respectsOpenTag option) reported by underbluewaters   -   Defaults to true. When set to false, kmltree will not automatically open Folders and NetworkLinks based on open tags set in the source kml.
    Defaults to true. When set to false, kmltree will not automatically open Folders and NetworkLinks based on open tags set in the source kml.
  • Feb 16, 2011
    issue 34 (Handling large poorly written KML files) commented on by waltgree...@gmail.com   -   Thank you. Brilliant temporary solution to the problem of too many tree items with the style tag, thank you. Unfortunately won't work for the user that uploads a file ad hoc so we'll continue to pursue a solution for that. The way we're overriding the open tag is to walk the tree and deselect after loading, not elegant and we definitely take a time hit. We load our pre-loaded kml layers by creating a var like this: var NewKmlFilesToLoad = [['/resources/KML/ge_marinetraffic.kml','Marine Traffic',0],['http://www.ndbc.noaa.gov/kml/marineobs_by_pgm.kml','Buoy Observations',0],['/resources/maps/ge/kml/nationalweather.kml','National Weather Service',0]]; Where parm 1 is the URL, parm 2 overrides the Name, parm 3 is whether to check nodes (open), not check, or let the kml file decide (we basically uncheck the parent and children by walking the tree as above), we're looking to add parm 4 to provide checkHideChildren functionality where there are too many placemarks for the tree to handle elegantly.
    Thank you. Brilliant temporary solution to the problem of too many tree items with the style tag, thank you. Unfortunately won't work for the user that uploads a file ad hoc so we'll continue to pursue a solution for that. The way we're overriding the open tag is to walk the tree and deselect after loading, not elegant and we definitely take a time hit. We load our pre-loaded kml layers by creating a var like this: var NewKmlFilesToLoad = [['/resources/KML/ge_marinetraffic.kml','Marine Traffic',0],['http://www.ndbc.noaa.gov/kml/marineobs_by_pgm.kml','Buoy Observations',0],['/resources/maps/ge/kml/nationalweather.kml','National Weather Service',0]]; Where parm 1 is the URL, parm 2 overrides the Name, parm 3 is whether to check nodes (open), not check, or let the kml file decide (we basically uncheck the parent and children by walking the tree as above), we're looking to add parm 4 to provide checkHideChildren functionality where there are too many placemarks for the tree to handle elegantly.
  • Feb 16, 2011
    issue 34 (Handling large poorly written KML files) commented on by waltgree...@gmail.com   -   Thank you. Brilliant temporary solution to the problem of too many tree items with the style tag, thank you. Unfortunately won't work for the user that uploads a file ad hoc so we'll continue to pursue a solution for that. The way we're overriding the open tag is to walk the tree and deselect after loading, not elegant and we definitely take a time hit. We load our pre-loaded kml layers by creating a var like this: var NewKmlFilesToLoad = [['/resources/KML/ge_marinetraffic.kml','Marine Traffic',0],['http://www.ndbc.noaa.gov/kml/marineobs_by_pgm.kml','Buoy Observations',0],['/resources/maps/ge/kml/nationalweather.kml','National Weather Service',0]]; Where parm 1 is the URL, parm 2 overrides the Name, parm 3 is whether to check nodes (open), not check, or let the kml file decide (we basically uncheck the parent and children by walking the tree as above), we're looking to add parm 4 to provide checkHideChildren functionality where there are too many placemarks for the tree to handle elegantly.
    Thank you. Brilliant temporary solution to the problem of too many tree items with the style tag, thank you. Unfortunately won't work for the user that uploads a file ad hoc so we'll continue to pursue a solution for that. The way we're overriding the open tag is to walk the tree and deselect after loading, not elegant and we definitely take a time hit. We load our pre-loaded kml layers by creating a var like this: var NewKmlFilesToLoad = [['/resources/KML/ge_marinetraffic.kml','Marine Traffic',0],['http://www.ndbc.noaa.gov/kml/marineobs_by_pgm.kml','Buoy Observations',0],['/resources/maps/ge/kml/nationalweather.kml','National Weather Service',0]]; Where parm 1 is the URL, parm 2 overrides the Name, parm 3 is whether to check nodes (open), not check, or let the kml file decide (we basically uncheck the parent and children by walking the tree as above), we're looking to add parm 4 to provide checkHideChildren functionality where there are too many placemarks for the tree to handle elegantly.
 
Powered by Google Project Hosting