Search in sources :

Example 1 with SkiMapsPlugin

use of net.osmand.plus.skimapsplugin.SkiMapsPlugin in project Osmand by osmandapp.

the class OsmandPlugin method initPlugins.

public static void initPlugins(OsmandApplication app) {
    OsmandSettings settings = app.getSettings();
    Set<String> enabledPlugins = settings.getEnabledPlugins();
    allPlugins.add(new MapillaryPlugin(app));
    enabledPlugins.add(MapillaryPlugin.ID);
    allPlugins.add(new OsmandRasterMapsPlugin(app));
    allPlugins.add(new OsmandMonitoringPlugin(app));
    checkMarketPlugin(app, new SRTMPlugin(app), true, SRTM_PLUGIN_COMPONENT_PAID, SRTM_PLUGIN_COMPONENT);
    // ? questionable - definitely not market plugin
    // checkMarketPlugin(app, new TouringViewPlugin(app), false, TouringViewPlugin.COMPONENT, null);
    checkMarketPlugin(app, new NauticalMapsPlugin(app), false, NauticalMapsPlugin.COMPONENT, null);
    checkMarketPlugin(app, new SkiMapsPlugin(app), false, SkiMapsPlugin.COMPONENT, null);
    allPlugins.add(new AudioVideoNotesPlugin(app));
    checkMarketPlugin(app, new ParkingPositionPlugin(app), false, ParkingPositionPlugin.PARKING_PLUGIN_COMPONENT, null);
    allPlugins.add(new AccessibilityPlugin(app));
    allPlugins.add(new OsmEditingPlugin(app));
    allPlugins.add(new OsmandDevelopmentPlugin(app));
    activatePlugins(app, enabledPlugins);
}
Also used : SRTMPlugin(net.osmand.plus.srtmplugin.SRTMPlugin) AudioVideoNotesPlugin(net.osmand.plus.audionotes.AudioVideoNotesPlugin) OsmandMonitoringPlugin(net.osmand.plus.monitoring.OsmandMonitoringPlugin) MapillaryPlugin(net.osmand.plus.mapillary.MapillaryPlugin) OsmEditingPlugin(net.osmand.plus.osmedit.OsmEditingPlugin) SkiMapsPlugin(net.osmand.plus.skimapsplugin.SkiMapsPlugin) ParkingPositionPlugin(net.osmand.plus.parkingpoint.ParkingPositionPlugin) OsmandDevelopmentPlugin(net.osmand.plus.development.OsmandDevelopmentPlugin) NauticalMapsPlugin(net.osmand.plus.openseamapsplugin.NauticalMapsPlugin) AccessibilityPlugin(net.osmand.access.AccessibilityPlugin) OsmandRasterMapsPlugin(net.osmand.plus.rastermaps.OsmandRasterMapsPlugin)

Aggregations

AccessibilityPlugin (net.osmand.access.AccessibilityPlugin)1 AudioVideoNotesPlugin (net.osmand.plus.audionotes.AudioVideoNotesPlugin)1 OsmandDevelopmentPlugin (net.osmand.plus.development.OsmandDevelopmentPlugin)1 MapillaryPlugin (net.osmand.plus.mapillary.MapillaryPlugin)1 OsmandMonitoringPlugin (net.osmand.plus.monitoring.OsmandMonitoringPlugin)1 NauticalMapsPlugin (net.osmand.plus.openseamapsplugin.NauticalMapsPlugin)1 OsmEditingPlugin (net.osmand.plus.osmedit.OsmEditingPlugin)1 ParkingPositionPlugin (net.osmand.plus.parkingpoint.ParkingPositionPlugin)1 OsmandRasterMapsPlugin (net.osmand.plus.rastermaps.OsmandRasterMapsPlugin)1 SkiMapsPlugin (net.osmand.plus.skimapsplugin.SkiMapsPlugin)1 SRTMPlugin (net.osmand.plus.srtmplugin.SRTMPlugin)1