<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hey Users:<br>
<br>
I am trying to extend the functionality of the GeoRSS class so that the
points rendered on the screen can be symbolized with different icons
based on a tag value in the rss item feed and not all with the same
icon as it is currently implemented. However, I don't want to store the
icon, offset, size,etc. information in the rss feed itself -- data and
symbolization are to live separately. Ideally I would like to store the
symbolization scheme in a separate xml file and parse it upon the load
of the GeoRSS layer.<br>
<br>
So far I've got the points rendering differently with the symbolization
info stored in the item of the rss feed. The problem that I've run into
is separating this functionality into two methods. First it should get
the symbolization definitions and then load the GeoRSS items (and
symbolize them based on the predefined definitions). The only method I
found to load XML files is OpenLayers.loadURL(location, null, this,
function()). In the API documentation it says that this will
"Background load a document". I wish to not background load the
document and instead halt execution of the current function until the
document is loaded. The purpose of that would be to use the values
contained in the XML doc in the latter part of that current function.
If I background load the document I am afraid the current function will
finish too early.<br>
<br>
Is there another loadURL,etc function that waits for a response before
continuing?<br>
<br>
Thanks in advance,<br>
Dejung<br>
<div class="moz-signature">-- <br>
<font color="#000000"><b>Dejung Gewissler</b></font><br>
New Jersey Office of Information Technology<br>
<font color="#006600">Office of Geographic Information Systems</font><br>
200 Riverview Plaza<br>
PO Box 212, Trenton, NJ 08625-0212<br>
<br>
609.777.3754
</div>
</body>
</html>