Atle Frenvik Sveen, Bouvet ASA
54°23'55"S 3°24'5"E
Biltema.no
Norgesglasset
Programmeringsspråk for nettleseren
if( indexh !== indexhBefore || indexv !== indexvBefore ) {
dispatchEvent( 'slidechanged', {
'indexh': indexh,
'indexv': indexv,
'previousSlide': previousSlide,
'currentSlide': currentSlide
} );
}
Jeg kan altså skrive:
var url = "http://opencache.statkart.no/gatekeeper/gk/gk.open?";
var topo2 = new OpenLayers.Layer.WMS(
"Topografisk norgeskart",
url,
{
layers: 'topo2',
format:'image/png'
}
);
map.addLayer(topo2);
=> Bibliotek!
Løsningen på alt?
Browsers can't handle moving around a DOM with more than a few hundred elements at once. I highly recommend figuring out a way to limit yourself to under 500 markers (Firefox) or 50 markers (IE6).
-OpenLayers FAQ
The next map shows how 1.000.000 points can be rendered in real time
-Giscloud.com