Mapstraction can load KML and GeoRSS files of points and lines. Support for this capability varies greatly between the various provider. Visit the feature matrix for an updated list of provider support for the formats.

Mapstraction supports adding overlays, or features, using GeoRSS or KML, two popular and open formats for sharing and visualizing geospatial information. Specific capabilities of displaying overlays is limited by the specific provider capabilities.

      // initialise the map with your choice of API
      var mapstraction = new Mapstraction('mapstraction','google');
      
      var myPoint = new LatLonPoint(37.4041960114344,-122.008194923401);
      // display the map centered on a latitude and longitude (Google zoom levels)
      mapstraction.setCenterAndZoom(myPoint, 3);
      mapstraction.addControls({zoom: 'large'});
      mapstraction.addOverlay("http://api.flickr.com/services/feeds/groups_pool.gne?id=322338@N20&format=rss_200&georss=1");