[OpenLayers-Dev] Re: Modifiying Vector layer protocol URL and forcing a layer refresh

joe.tito joetito1 at gmail.com
Mon Aug 22 12:02:12 EDT 2011


Thanks for the advice. Here is the code that I got to work:

function refreshMap()
{
     markers.protocol.url =
"http://mysite.com/maps/georss.php?pointCount=10";
     markers.protocol.options.url =
"http://mysite.com/maps/georss.php?pointCount=10";
     markers.strategies[1].refresh();
}

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Modifiying-Vector-layer-protocol-URL-and-forcing-a-layer-refresh-tp6711991p6712125.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list