<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello all,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am using a vector layer to highlight certain areas on a mapping application of I&#8217;ve created.&nbsp; Each click resets the protocol url to a new location and refreshes the layer, pulling down a new feature (in GML, from GeoServer).&nbsp; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;m having a strange issue &#8211; one of those GML files being pulled down by the vector layer is very large (800K).&nbsp; When I&#8217;m zoomed way into the map, the vector layer doesn&#8217;t highlight &#8211; whereas the smaller areas (smaller gml files&#8230;around 70K) around it highlight without issue.&nbsp; So I&#8217;m not sure what&#8217;s going on &#8211; I was using the GML (deprecated) layer, but I switched over to the Vector layer and I&#8217;m seeing the same issue.&nbsp; Does anyone have any ideas? &nbsp;I don&#8217;t think my code will be particularly helpful, but I&#8217;ll include it anyway&#8230;.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>&nbsp; Creating the layer&#8230; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:black'>gmlLayer</span> <span style='color:#5C5C5C'>=</span> <b><span style='color:#0000C0'>new</span></b> <span style='color:black'>OpenLayers</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Layer</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Vector</span><span style='color:#5C5C5C'>(</span> <span style='color:#005C00'>&quot;GML&quot;</span><span style='color:#5C5C5C'>,</span> <span style='color:#5C5C5C'>{</span><span style='color:black'>strategies</span><span style='color:#5C5C5C'>:</span> <span style='color:#5C5C5C'>[</span><b><span style='color:#0000C0'>new</span></b> <span style='color:black'>OpenLayers</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Strategy</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Fixed</span><span style='color:#5C5C5C'>()],</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:black'>protocol</span><span style='color:#5C5C5C'>:</span> <b><span style='color:#0000C0'>new</span></b> <span style='color:black'>OpenLayers</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Protocol</span><span style='color:#5C5C5C'>.</span><span style='color:black'>HTTP</span><span style='color:#5C5C5C'>({</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:black'>url</span><span style='color:#5C5C5C'>:</span> <span style='color:#005C00'>&quot;ajax/ajaxProxy.cfm?proxyURL=http%3A%2F%2Fmywebsite.com%3A8080%2Fgeoserver%2Fwfs%3Frequest%3Dgetfeature%26service%3Dwfs%26version%3D1.0.0%26srsname%3Depsg%3A900913%26typename%3Dpg_service_area%26filter%3D%3Cogc%3AFilter%20%20xmlns%3Aogc%3D%22http%3A%2F%2Fogc.org%22%3E%3Cogc%3AFeatureId%20fid%3D%22service_area.12342%22%2F%3E%3C%2Fogc%3AFilter%3E&quot;</span><span style='color:#5C5C5C'>,</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:black'>format</span><span style='color:#5C5C5C'>:</span> <b><span style='color:#0000C0'>new</span></b> <span style='color:black'>OpenLayers</span><span style='color:#5C5C5C'>.</span><span style='color:black'>Format</span><span style='color:#5C5C5C'>.</span><span style='color:black'>GML</span><span style='color:#5C5C5C'>()</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:#5C5C5C'>})</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:#5C5C5C'>});</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'>Each time a click occurs, a new url is passed in.&nbsp; I&#8217;ve verified that the URL for the large GML file returns a valid GML file.&nbsp; There&#8217;s nothing particularly strange about it.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp; <span style='color:black'>setUrl</span> <span style='color:#5C5C5C'>=</span> <b><span style='color:#0000C0'>function</span></b><span style='color:#5C5C5C'>(</span><span style='color:black'>url</span><span style='color:#5C5C5C'>){</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style='color:#0000C0'>gmlLayer</span></b><span style='color:#5C5C5C'>.</span><span style='color:black'>protocol</span><span style='color:#5C5C5C'>.</span><span style='color:black'>options</span><span style='color:#5C5C5C'>.</span><span style='color:black'>url</span> <span style='color:#5C5C5C'>=</span> <span style='color:black'>url</span><span style='color:#5C5C5C'>;</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:black'>gmlLayer</span><span style='color:#5C5C5C'>.</span><span style='color:black'>refresh</span><span style='color:#5C5C5C'>();</span></span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";background:white;mso-highlight:white'>&nbsp;&nbsp;&nbsp; <span style='color:#5C5C5C'>};</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#5C5C5C'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal>Let me know if there&#8217;s anything else that would be particularly diagnostically helpful.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Aaron<o:p></o:p></p></div></body></html>