Including a GeoRSS Feed in iShare Solo - from v5.4.0

5.4.0+

As with iShare Lite, iShare Solo may be configured to display information from a GeoRSS feed. When you include a GeoRSS feed in the constructor for the map, it will fetch the data, add the points to the map, then zoom so that the map displays all of the data. 

 

Adding the GeoRSS object

This needs to be included in the createMap function for a Solo Map. The Example geoRSS Object below has been extracted from the createMap Example following.

Example GeoRSS Object
geoRSS: {
	url: 'http://www.somesite.co.uk/geoRSSurl.rss',
    style: 'newStyle',
    popupSize: { w: 250, h: 200 },
    popupType: 'anchored', /*'anchored', 'framed', 'framedcloud', 'anchoredbubble' */
    customPopup: true
}

 

The above geoRSS object is included into the createMap as follows:

createMap Example
soloMap.createMap('atMap', { 
		themeName: 'base', 
		mapSource: 'Workshop/AllMaps',
		view:{easting:495553, northing:175654, zoom:2000},
		geoRSS: {
			url: 'http://www.somesite.co.uk/geoRSSurl.rss',
			style: 'newStyle',
    		popupSize: { w: 250, h: 200 },
    		popupType: 'anchored',
			customPopup: true
		}
});

GeoRSS Parameters

Please see the geoRSS Parameters topic for details on how you may configure the geoRSS object. This topic includes examples for a Lite map but the same parameters apply for Solo maps.